GNU gdb (Ubuntu 7.10-1ubuntu2) 7.10 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from clinfo...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/clinfo /build/gdb-HnfxP_/gdb-7.10/gdb/cp-support.c:1608: demangler-warning: unable to demangle '_ZNK6clover6detail11basic_rangeINS_13adaptor_rangeIZNS_6kernel6launchERNS_13command_queueERKSt6vectorImSaImEESA_SA_EUlmE_JRS8_EEENS0_16iterator_adaptorISB_JN9__gnu_cxx17__normal_iteratorIPmS8_EEEEESJ_EcvT_IS6_IPjSaISN_EEvEEv' (demangler failed with signal 11) A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) n [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffebddb700 (LWP 30912)] Program received signal SIGSEGV, Segmentation fault. pipe_loader_create_screen (dev=0x0) at /home/awatry/src/mesa/src/gallium/auxiliary/pipe-loader/pipe_loader.c:79 79 return dev->ops->create_screen(dev); (gdb) bt #0 pipe_loader_create_screen (dev=0x0) at /home/awatry/src/mesa/src/gallium/auxiliary/pipe-loader/pipe_loader.c:79 #1 0x00007ffff72a95d7 in clover::device::device (this=0x674130, platform=..., ldev=0x0) at /home/awatry/src/mesa/src/gallium/state_trackers/clover/core/device.cpp:44 #2 0x00007ffff72d2486 in clover::create () at /home/awatry/src/mesa/src/gallium/state_trackers/clover/util/pointer.hpp:230 #3 0x00007ffff72d1fb7 in clover::platform::platform (this=0x7ffff75e8e80 <(anonymous namespace)::_clover_platform>) at /home/awatry/src/mesa/src/gallium/state_trackers/clover/core/platform.cpp:35 #4 0x00007ffff7279884 in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at /home/awatry/src/mesa/src/gallium/state_trackers/clover/api/platform.cpp:29 #5 0x00007ffff72798b4 in _GLOBAL__sub_I_platform.cpp(void) () at /home/awatry/src/mesa/src/gallium/state_trackers/clover/api/platform.cpp:120 #6 0x00007ffff7de95ba in call_init (l=, argc=argc@entry=1, argv=argv@entry=0x7fffffffdb38, env=env@entry=0x7fffffffdb48) at dl-init.c:72 #7 0x00007ffff7de96cb in call_init (env=, argv=, argc=, l=) at dl-init.c:30 #8 _dl_init (main_map=main_map@entry=0x6192f0, argc=1, argv=0x7fffffffdb38, env=0x7fffffffdb48) at dl-init.c:120 #9 0x00007ffff7dee587 in dl_open_worker (a=a@entry=0x7fffffffd6e8) at dl-open.c:579 #10 0x00007ffff7de9464 in _dl_catch_error (objname=objname@entry=0x7fffffffd6d8, errstring=errstring@entry=0x7fffffffd6e0, mallocedp=mallocedp@entry=0x7fffffffd6d7, operate=operate@entry=0x7ffff7dee0a0 , args=args@entry=0x7fffffffd6e8) at dl-error.c:187 #11 0x00007ffff7ded9a3 in _dl_open (file=0x6192d0 "libMesaOpenCL.so.1", mode=-2147483647, caller_dlopen=0x7ffff7bc08ed <_load_icd+108>, nsid=-2, argc=, argv=, env=0x7fffffffdb48) at dl-open.c:663 #12 0x00007ffff75eefc9 in dlopen_doit (a=a@entry=0x7fffffffd900) at dlopen.c:66 #13 0x00007ffff7de9464 in _dl_catch_error (objname=0x7ffff77f10f0 , errstring=0x7ffff77f10f8 , mallocedp=0x7ffff77f10e8 , operate=0x7ffff75eef70 , args=0x7fffffffd900) at dl-error.c:187 #14 0x00007ffff75ef62d in _dlerror_run (operate=operate@entry=0x7ffff75eef70 , args=args@entry=0x7fffffffd900) at dlerror.c:163 #15 0x00007ffff75ef061 in __dlopen (file=, mode=) at dlopen.c:87 #16 0x00007ffff7bc08ed in _load_icd (num_icds=0, lib_path=0x6192d0 "libMesaOpenCL.so.1") at ocl_icd_loader.c:186 #17 0x00007ffff7bc0bc1 in _open_driver (num_icds=0, dir_path=0x6190a0 "/usr/local/lib", file_path=0x14 ) at ocl_icd_loader.c:239 #18 0x00007ffff7bc0efe in _open_drivers (dir_path=, dir=) at ocl_icd_loader.c:252 #19 __initClIcd () at ocl_icd_loader.c:507 #20 _initClIcd () at ocl_icd_loader.c:565 #21 0x00007ffff7de95ba in call_init (l=, argc=argc@entry=1, argv=argv@entry=0x7fffffffdb38, env=env@entry=0x7fffffffdb48) at dl-init.c:72 #22 0x00007ffff7de96cb in call_init (env=, argv=, argc=, l=) at dl-init.c:30 #23 _dl_init (main_map=0x7ffff7ffe188, argc=1, argv=0x7fffffffdb38, env=0x7fffffffdb48) at dl-init.c:120 #24 0x00007ffff7dd9d0a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2 #25 0x0000000000000001 in ?? () #26 0x00007fffffffdefa in ?? () #27 0x0000000000000000 in ?? () (gdb) quit A debugging session is active. Inferior 1 [process 30908] will be killed. Quit anyway? (y or n) y