Skip to content

SIGSEGV after completing example 06. #375

Open

Description

@Strelok2013

Hello I am following along with the tutorial but altering it slightly. I'm not throwing everything into one .cpp file but separating things into a .h and .cpp file.

I get a SIGSEGV error right at the end of the swapchain creation chapter.

vkGetSwapchainImagesKHR(device, swapChain, &imageCount, nullptr);
swapChainImages.resize(imageCount);
vkGetSwapchainImagesKHR(device, swapChain, &imageCount, swapChainImages.data());
is around where the error occurs. I've narrowed it down to the last call in the provided code
vkGetSwapchainImagesKHR(device, swapChain, &imageCount, swapChainImages.data());

I'm still trying a couple things using external debugging tools but I haven't had any luck so far.

I also have this code in a repo if you want to see the whole thing:
https://github.com/Strelok2013/SC3D

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions