Skip to content

Instantly share code, notes, and snippets.

@cheery cheery/apidump
Last active Mar 14, 2017

Embed
What would you like to do?
./lever samples/warpgpu/external_memory_client.lc
Thread 0, Frame 0:
vkCreateInstance(pCreateInfo, pAllocator, pInstance) returns VkResult VK_SUCCESS (0):
pCreateInfo: const VkInstanceCreateInfo* = 0x7fff9857ab60:
sType: VkStructureType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO (1)
pNext: const void* = 0x7fff9857ab30
flags: VkInstanceCreateFlags = 0
pApplicationInfo: const VkApplicationInfo* = NULL
enabledLayerCount: uint32_t = 0
ppEnabledLayerNames: const char* const* = NULL
enabledExtensionCount: uint32_t = 5
ppEnabledExtensionNames: const char* const* = 0x2a2e370
ppEnabledExtensionNames[0]: const char* const = "VK_KHR_get_physical_device_properties2"
ppEnabledExtensionNames[1]: const char* const = "VK_KHX_external_memory_capabilities"
ppEnabledExtensionNames[2]: const char* const = "VK_KHX_external_semaphore_capabilities"
ppEnabledExtensionNames[3]: const char* const = "VK_KHR_surface"
ppEnabledExtensionNames[4]: const char* const = "VK_KHR_xcb_surface"
pAllocator: const VkAllocationCallbacks* = NULL
pInstance: VkInstance* = 0x2e4d0c0
Thread 0, Frame 0:
vkCreateXcbSurfaceKHR(instance, pCreateInfo, pAllocator, pSurface) returns VkResult VK_SUCCESS (0):
instance: VkInstance = 0x2e4d0c0
pCreateInfo: const VkXcbSurfaceCreateInfoKHR* = 0x2e3e1e0:
sType: VkStructureType = UNKNOWN (1000005000)
pNext: const void* = NULL
flags: VkXcbSurfaceCreateFlagsKHR = 0
connection: xcb_connection_t* = 0x2a2e730
window: xcb_window_t = 56623109
pAllocator: const VkAllocationCallbacks* = NULL
pSurface: VkSurfaceKHR* = 0x2ce0dc0
Thread 0, Frame 0:
vkEnumeratePhysicalDevices(instance, pPhysicalDeviceCount, pPhysicalDevices) returns VkResult VK_SUCCESS (0):
instance: VkInstance = 0x2e4d0c0
pPhysicalDeviceCount: uint32_t* = 1
pPhysicalDevices: VkPhysicalDevice* = NULL
Thread 0, Frame 0:
vkEnumeratePhysicalDevices(instance, pPhysicalDeviceCount, pPhysicalDevices) returns VkResult VK_SUCCESS (0):
instance: VkInstance = 0x2e4d0c0
pPhysicalDeviceCount: uint32_t* = 1
pPhysicalDevices: VkPhysicalDevice* = 0x7fff9857aa40
pPhysicalDevices[0]: VkPhysicalDevice = 0x2e3e1e0
Thread 0, Frame 0:
vkGetPhysicalDeviceQueueFamilyProperties(physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties) returns void:
physicalDevice: VkPhysicalDevice = 0x2e3e1e0
pQueueFamilyPropertyCount: uint32_t* = 2
pQueueFamilyProperties: VkQueueFamilyProperties* = NULL
Thread 0, Frame 0:
vkGetPhysicalDeviceQueueFamilyProperties(physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties) returns void:
physicalDevice: VkPhysicalDevice = 0x2e3e1e0
pQueueFamilyPropertyCount: uint32_t* = 2
pQueueFamilyProperties: VkQueueFamilyProperties* = 0x2ce10b0
pQueueFamilyProperties[0]: VkQueueFamilyProperties = 0x2ce10b0:
queueFlags: VkQueueFlags = 15 (VK_QUEUE_GRAPHICS_BIT | VK_QUEUE_COMPUTE_BIT | VK_QUEUE_TRANSFER_BIT | VK_QUEUE_SPARSE_BINDING_BIT)
queueCount: uint32_t = 16
timestampValidBits: uint32_t = 64
minImageTransferGranularity: VkExtent3D = 0x2ce10bc:
width: uint32_t = 1
height: uint32_t = 1
depth: uint32_t = 1
pQueueFamilyProperties[1]: VkQueueFamilyProperties = 0x2ce10c8:
queueFlags: VkQueueFlags = 4 (VK_QUEUE_TRANSFER_BIT)
queueCount: uint32_t = 1
timestampValidBits: uint32_t = 64
minImageTransferGranularity: VkExtent3D = 0x2ce10d4:
width: uint32_t = 1
height: uint32_t = 1
depth: uint32_t = 1
Thread 0, Frame 0:
vkGetPhysicalDeviceSurfaceSupportKHR(physicalDevice, queueFamilyIndex, surface, pSupported) returns VkResult VK_SUCCESS (0):
physicalDevice: VkPhysicalDevice = 0x2e3e1e0
queueFamilyIndex: uint32_t = 0
surface: VkSurfaceKHR = 0x2ce0dc0
pSupported: VkBool32* = 1
Thread 0, Frame 0:
vkCreateDevice(physicalDevice, pCreateInfo, pAllocator, pDevice) returns VkResult VK_SUCCESS (0):
physicalDevice: VkPhysicalDevice = 0x2e3e1e0
pCreateInfo: const VkDeviceCreateInfo* = 0x7fff9857a820:
sType: VkStructureType = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO (3)
pNext: const void* = 0x7fff9857a7f0
flags: VkDeviceCreateFlags = 0
queueCreateInfoCount: uint32_t = 1
pQueueCreateInfos: const VkDeviceQueueCreateInfo* = 0x2ce14a0
pQueueCreateInfos[0]: const VkDeviceQueueCreateInfo = 0x2ce14a0:
sType: VkStructureType = VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO (2)
pNext: const void* = NULL
flags: VkDeviceQueueCreateFlags = 0
queueFamilyIndex: uint32_t = 0
queueCount: uint32_t = 1
pQueuePriorities: const float* = 0x2ce11e0
pQueuePriorities[0]: const float = 1
enabledLayerCount: uint32_t = 0
ppEnabledLayerNames: const char* const* = NULL
enabledExtensionCount: uint32_t = 5
ppEnabledExtensionNames: const char* const* = 0x2ce13e0
ppEnabledExtensionNames[0]: const char* const = "VK_KHX_external_memory"
ppEnabledExtensionNames[1]: const char* const = "VK_KHX_external_memory_fd"
ppEnabledExtensionNames[2]: const char* const = "VK_KHX_external_semaphore"
ppEnabledExtensionNames[3]: const char* const = "VK_KHX_external_semaphore_fd"
ppEnabledExtensionNames[4]: const char* const = "VK_KHR_swapchain"
pEnabledFeatures: const VkPhysicalDeviceFeatures* = 0x2ce14d0:
robustBufferAccess: VkBool32 = 0
fullDrawIndexUint32: VkBool32 = 0
imageCubeArray: VkBool32 = 0
independentBlend: VkBool32 = 0
geometryShader: VkBool32 = 0
tessellationShader: VkBool32 = 0
sampleRateShading: VkBool32 = 0
dualSrcBlend: VkBool32 = 0
logicOp: VkBool32 = 0
multiDrawIndirect: VkBool32 = 0
drawIndirectFirstInstance: VkBool32 = 0
depthClamp: VkBool32 = 0
depthBiasClamp: VkBool32 = 0
fillModeNonSolid: VkBool32 = 0
depthBounds: VkBool32 = 0
wideLines: VkBool32 = 0
largePoints: VkBool32 = 0
alphaToOne: VkBool32 = 0
multiViewport: VkBool32 = 0
samplerAnisotropy: VkBool32 = 0
textureCompressionETC2: VkBool32 = 0
textureCompressionASTC_LDR: VkBool32 = 0
textureCompressionBC: VkBool32 = 0
occlusionQueryPrecise: VkBool32 = 0
pipelineStatisticsQuery: VkBool32 = 0
vertexPipelineStoresAndAtomics: VkBool32 = 0
fragmentStoresAndAtomics: VkBool32 = 0
shaderTessellationAndGeometryPointSize: VkBool32 = 0
shaderImageGatherExtended: VkBool32 = 0
shaderStorageImageExtendedFormats: VkBool32 = 0
shaderStorageImageMultisample: VkBool32 = 0
shaderStorageImageReadWithoutFormat: VkBool32 = 0
shaderStorageImageWriteWithoutFormat: VkBool32 = 0
shaderUniformBufferArrayDynamicIndexing: VkBool32 = 0
shaderSampledImageArrayDynamicIndexing: VkBool32 = 0
shaderStorageBufferArrayDynamicIndexing: VkBool32 = 0
shaderStorageImageArrayDynamicIndexing: VkBool32 = 0
shaderClipDistance: VkBool32 = 1
shaderCullDistance: VkBool32 = 1
shaderFloat64: VkBool32 = 0
shaderInt64: VkBool32 = 0
shaderInt16: VkBool32 = 0
shaderResourceResidency: VkBool32 = 0
shaderResourceMinLod: VkBool32 = 0
sparseBinding: VkBool32 = 0
sparseResidencyBuffer: VkBool32 = 0
sparseResidencyImage2D: VkBool32 = 0
sparseResidencyImage3D: VkBool32 = 0
sparseResidency2Samples: VkBool32 = 0
sparseResidency4Samples: VkBool32 = 0
sparseResidency8Samples: VkBool32 = 0
sparseResidency16Samples: VkBool32 = 0
sparseResidencyAliased: VkBool32 = 0
variableMultisampleRate: VkBool32 = 0
inheritedQueries: VkBool32 = 0
pAllocator: const VkAllocationCallbacks* = NULL
pDevice: VkDevice* = 0x2ce9b40
Thread 0, Frame 0:
vkGetDeviceQueue(device, queueFamilyIndex, queueIndex, pQueue) returns void:
device: VkDevice = 0x2ce9b40
queueFamilyIndex: uint32_t = 0
queueIndex: uint32_t = 0
pQueue: VkQueue* = 0x2cf6da0
Thread 0, Frame 0:
vkCreateCommandPool(device, pCreateInfo, pAllocator, pCommandPool) returns VkResult VK_SUCCESS (0):
device: VkDevice = 0x2ce9b40
pCreateInfo: const VkCommandPoolCreateInfo* = 0x2886d20:
sType: VkStructureType = VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO (39)
pNext: const void* = NULL
flags: VkCommandPoolCreateFlags = 2 (VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT)
queueFamilyIndex: uint32_t = 0
pAllocator: const VkAllocationCallbacks* = NULL
pCommandPool: VkCommandPool* = 0x3130fb0
Thread 0, Frame 0:
vkCreatePipelineCache(device, pCreateInfo, pAllocator, pPipelineCache) returns VkResult VK_SUCCESS (0):
device: VkDevice = 0x2ce9b40
pCreateInfo: const VkPipelineCacheCreateInfo* = 0x2ce1410:
sType: VkStructureType = VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO (17)
pNext: const void* = NULL
flags: VkPipelineCacheCreateFlags = 0
initialDataSize: size_t = 0
pInitialData: const void* = NULL
pAllocator: const VkAllocationCallbacks* = NULL
pPipelineCache: VkPipelineCache* = 0x312df70
Thread 0, Frame 0:
vkCreateImage(device, pCreateInfo, pAllocator, pImage) returns VkResult VK_SUCCESS (0):
device: VkDevice = 0x2ce9b40
pCreateInfo: const VkImageCreateInfo* = 0x312e130:
sType: VkStructureType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO (14)
pNext: const void* = 0x2489cb0
flags: VkImageCreateFlags = 0
imageType: VkImageType = VK_IMAGE_TYPE_2D (1)
format: VkFormat = VK_FORMAT_R8G8B8A8_UNORM (37)
extent: VkExtent3D = 0x312e14c:
width: uint32_t = 512
height: uint32_t = 512
depth: uint32_t = 1
mipLevels: uint32_t = 1
arrayLayers: uint32_t = 1
samples: VkSampleCountFlagBits = 1 (VK_SAMPLE_COUNT_1_BIT)
tiling: VkImageTiling = VK_IMAGE_TILING_OPTIMAL (0)
usage: VkImageUsageFlags = 20 (VK_IMAGE_USAGE_SAMPLED_BIT | VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT)
sharingMode: VkSharingMode = VK_SHARING_MODE_EXCLUSIVE (0)
queueFamilyIndexCount: uint32_t = 0
pQueueFamilyIndices: const uint32_t* = UNUSED
initialLayout: VkImageLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL (2)
pAllocator: const VkAllocationCallbacks* = NULL
pImage: VkImage* = 0x3130af0
Thread 0, Frame 0:
vkGetImageMemoryRequirements(device, image, pMemoryRequirements) returns void:
device: VkDevice = 0x2ce9b40
image: VkImage = 0x3130af0
pMemoryRequirements: VkMemoryRequirements* = 0x312e090:
size: VkDeviceSize = 1048576
alignment: VkDeviceSize = 1024
memoryTypeBits: uint32_t = 128
Thread 0, Frame 0:
vkGetPhysicalDeviceMemoryProperties(physicalDevice, pMemoryProperties) returns void:
physicalDevice: VkPhysicalDevice = 0x2e3e1e0
pMemoryProperties: VkPhysicalDeviceMemoryProperties* = 0x3130c50:
memoryTypeCount: uint32_t = 11
memoryTypes: VkMemoryType[VK_MAX_MEMORY_TYPES] = 0x3130c54
memoryTypes[0]: VkMemoryType = 0x3130c54:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 1
memoryTypes[1]: VkMemoryType = 0x3130c5c:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 1
memoryTypes[2]: VkMemoryType = 0x3130c64:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 1
memoryTypes[3]: VkMemoryType = 0x3130c6c:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 1
memoryTypes[4]: VkMemoryType = 0x3130c74:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 1
memoryTypes[5]: VkMemoryType = 0x3130c7c:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 1
memoryTypes[6]: VkMemoryType = 0x3130c84:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 1
memoryTypes[7]: VkMemoryType = 0x3130c8c:
propertyFlags: VkMemoryPropertyFlags = 1 (VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT)
heapIndex: uint32_t = 0
memoryTypes[8]: VkMemoryType = 0x3130c94:
propertyFlags: VkMemoryPropertyFlags = 1 (VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT)
heapIndex: uint32_t = 0
memoryTypes[9]: VkMemoryType = 0x3130c9c:
propertyFlags: VkMemoryPropertyFlags = 6 (VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT)
heapIndex: uint32_t = 1
memoryTypes[10]: VkMemoryType = 0x3130ca4:
propertyFlags: VkMemoryPropertyFlags = 14 (VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT | VK_MEMORY_PROPERTY_HOST_CACHED_BIT)
heapIndex: uint32_t = 1
memoryTypes[11]: VkMemoryType = 0x3130cac:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 0
memoryTypes[12]: VkMemoryType = 0x3130cb4:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 16777217
memoryTypes[13]: VkMemoryType = 0x3130cbc:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 0
memoryTypes[14]: VkMemoryType = 0x3130cc4:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 45589424
memoryTypes[15]: VkMemoryType = 0x3130ccc:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 212074496
memoryTypes[16]: VkMemoryType = 0x3130cd4:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 0
memoryTypes[17]: VkMemoryType = 0x3130cdc:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 416
memoryTypes[18]: VkMemoryType = 0x3130ce4:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 432
memoryTypes[19]: VkMemoryType = 0x3130cec:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 0
memoryTypes[20]: VkMemoryType = 0x3130cf4:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 0
memoryTypes[21]: VkMemoryType = 0x3130cfc:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 0
memoryTypes[22]: VkMemoryType = 0x3130d04:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 0
memoryTypes[23]: VkMemoryType = 0x3130d0c:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 0
memoryTypes[24]: VkMemoryType = 0x3130d14:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 0
memoryTypes[25]: VkMemoryType = 0x3130d1c:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 0
memoryTypes[26]: VkMemoryType = 0x3130d24:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 0
memoryTypes[27]: VkMemoryType = 0x3130d2c:
propertyFlags: VkMemoryPropertyFlags = 524288
heapIndex: uint32_t = 45589424
memoryTypes[28]: VkMemoryType = 0x3130d34:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 0
memoryTypes[29]: VkMemoryType = 0x3130d3c:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 0
memoryTypes[30]: VkMemoryType = 0x3130d44:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 0
memoryTypes[31]: VkMemoryType = 0x3130d4c:
propertyFlags: VkMemoryPropertyFlags = 0
heapIndex: uint32_t = 0
memoryHeapCount: uint32_t = 2
memoryHeaps: VkMemoryHeap[VK_MAX_MEMORY_HEAPS] = 0x3130d58
memoryHeaps[0]: VkMemoryHeap = 0x3130d58:
size: VkDeviceSize = 2147483648
flags: VkMemoryHeapFlags = 1 (VK_MEMORY_HEAP_DEVICE_LOCAL_BIT)
memoryHeaps[1]: VkMemoryHeap = 0x3130d68:
size: VkDeviceSize = 6278031360
flags: VkMemoryHeapFlags = 0
memoryHeaps[2]: VkMemoryHeap = 0x3130d78:
size: VkDeviceSize = 0
flags: VkMemoryHeapFlags = 51580312
memoryHeaps[3]: VkMemoryHeap = 0x3130d88:
size: VkDeviceSize = 51580376
flags: VkMemoryHeapFlags = 51580504
memoryHeaps[4]: VkMemoryHeap = 0x3130d98:
size: VkDeviceSize = 8
flags: VkMemoryHeapFlags = 6 (VK_MEMORY_HEAP_MULTI_INSTANCE_BIT_KHX)
memoryHeaps[5]: VkMemoryHeap = 0x3130da8:
size: VkDeviceSize = 0
flags: VkMemoryHeapFlags = 0
memoryHeaps[6]: VkMemoryHeap = 0x3130db8:
size: VkDeviceSize = 0
flags: VkMemoryHeapFlags = 0
memoryHeaps[7]: VkMemoryHeap = 0x3130dc8:
size: VkDeviceSize = 0
flags: VkMemoryHeapFlags = 0
memoryHeaps[8]: VkMemoryHeap = 0x3130dd8:
size: VkDeviceSize = 18446744073709551615
flags: VkMemoryHeapFlags = -1 (VK_MEMORY_HEAP_DEVICE_LOCAL_BIT | VK_MEMORY_HEAP_MULTI_INSTANCE_BIT_KHX)
memoryHeaps[9]: VkMemoryHeap = 0x3130de8:
size: VkDeviceSize = 18446744073709551615
flags: VkMemoryHeapFlags = -1 (VK_MEMORY_HEAP_DEVICE_LOCAL_BIT | VK_MEMORY_HEAP_MULTI_INSTANCE_BIT_KHX)
memoryHeaps[10]: VkMemoryHeap = 0x3130df8:
size: VkDeviceSize = 18446744073709551615
flags: VkMemoryHeapFlags = -1 (VK_MEMORY_HEAP_DEVICE_LOCAL_BIT | VK_MEMORY_HEAP_MULTI_INSTANCE_BIT_KHX)
memoryHeaps[11]: VkMemoryHeap = 0x3130e08:
size: VkDeviceSize = 18446744073709551615
flags: VkMemoryHeapFlags = -1 (VK_MEMORY_HEAP_DEVICE_LOCAL_BIT | VK_MEMORY_HEAP_MULTI_INSTANCE_BIT_KHX)
memoryHeaps[12]: VkMemoryHeap = 0x3130e18:
size: VkDeviceSize = 18446744073709551615
flags: VkMemoryHeapFlags = -1 (VK_MEMORY_HEAP_DEVICE_LOCAL_BIT | VK_MEMORY_HEAP_MULTI_INSTANCE_BIT_KHX)
memoryHeaps[13]: VkMemoryHeap = 0x3130e28:
size: VkDeviceSize = 18446744073709551615
flags: VkMemoryHeapFlags = -1 (VK_MEMORY_HEAP_DEVICE_LOCAL_BIT | VK_MEMORY_HEAP_MULTI_INSTANCE_BIT_KHX)
memoryHeaps[14]: VkMemoryHeap = 0x3130e38:
size: VkDeviceSize = 18446744073709551615
flags: VkMemoryHeapFlags = -1 (VK_MEMORY_HEAP_DEVICE_LOCAL_BIT | VK_MEMORY_HEAP_MULTI_INSTANCE_BIT_KHX)
memoryHeaps[15]: VkMemoryHeap = 0x3130e48:
size: VkDeviceSize = 18446744073709551615
flags: VkMemoryHeapFlags = -1 (VK_MEMORY_HEAP_DEVICE_LOCAL_BIT | VK_MEMORY_HEAP_MULTI_INSTANCE_BIT_KHX)  
Segmentation fault
cheery@ruttunen:~/Documents/lever$ gdb ./lever
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./lever...done.
(gdb) run samples/warpgpu/external_memory_client.lc
Starting program: /archive/Documents/lever/lever samples/warpgpu/external_memory_client.lc
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x00007fffeec5e3d1 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.375.27.13
(gdb) backtrace
#0 0x00007fffeec5e3d1 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.375.27.13
#1 0x00007fffeec5ec63 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.375.27.13
#2 0x00007fffef9717d4 in ?? () from /usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.0
#3 0x00007ffff74ade40 in ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6
#4 0x00007ffff74ad8ab in ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6
#5 0x000000000040ae00 in pypy_g_ccall_ffi_call__ffi_cifPtr_arrayPtr_arrayPtr_arr_1 ()
#6 0x000000000092a6cd in pypy_asm_stackwalk ()
#7 0x00000000006d81d2 in pypy_g_jit_ffi_call ()
#8 0x00000000008c0004 in pypy_g_CFunc_ccall ()
#9 0x00000000008c0272 in pypy_g_Mem_call ()
#10 0x000000000077c2bb in pypy_g_op_call ()
#11 0x000000000077e72d in pypy_g_portal ()
#12 0x0000000000571dd6 in pypy_g_ll_portal_runner__Unsigned_arrayPtr_space_module ()
#13 0x00000000007760dd in pypy_g_interpret ()
#14 0x00000000006fe821 in pypy_g_interpret_rvmprof.star_3 ()
#15 0x00000000007a1e63 in pypy_g_BoundMethod_call ()
#16 0x000000000077c2bb in pypy_g_op_call ()
#17 0x000000000077e72d in pypy_g_portal ()
#18 0x0000000000571dd6 in pypy_g_ll_portal_runner__Unsigned_arrayPtr_space_module ()
#19 0x00000000007760dd in pypy_g_interpret ()
#20 0x00000000006fe821 in pypy_g_interpret_rvmprof.star_3 ()
#21 0x00000000007865e4 in pypy_g_normal_startup ()
#22 0x000000000079916d in pypy_g_Builtin_call ()
#23 0x0000000000772abb in pypy_g_new_greenlet_1 ()
#24 0x000000000076d47d in pypy_g_new_greenlet ()
#25 0x00000000006d11f7 in pypy_g.new_runfn ()
#26 0x0000000000921c76 in g_initialstub ()
#27 0x0000000000921fd7 in stacklet_new ()
#28 0x000000000092a6cd in pypy_asm_stackwalk ()
#29 0x00000000006d7d08 in pypy_g_StackletGcRootFinder_new ()
#30 0x000000000077144d in pypy_g_switch ()
#31 0x0000000000771823 in pypy_g_run_queued_tasks ()
#32 0x000000000040b431 in pypy_g_wrapper ()
#33 0x00000000009335b4 in uv__run_idle (loop=loop@entry=0xff9080 <default_loop_struct>) at ../src/unix/loop-watcher.c:68
#34 0x000000000092dcad in uv_run (loop=0xff9080 <default_loop_struct>, mode=UV_RUN_DEFAULT) at ../src/unix/core.c:345
#35 0x0000000000408b0e in pypy_g_ccall_uv_run__uv_loop_tPtr_INT_reload ()
#36 0x000000000092a6cd in pypy_asm_stackwalk ()
#37 0x00000000007860fc in pypy_g_entry_point ()
#38 0x0000000000923e00 in pypy_main_function ()
#39 0x00007ffff6cda830 in __libc_start_main (main=0x407a20 <main>, argc=2, argv=0x7fffffffdf48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
stack_end=0x7fffffffdf38) at ../csu/libc-start.c:291
#40 0x0000000000407a59 in _start ()
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.