GNU gdb (Ubuntu 8.3-0ubuntu1) 8.3 Copyright (C) 2019 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 ./sycl_devices... (gdb) r Starting program: /home/dima/projects/compilers/build/samples/sycl_devices/dpcpp/sycl_devices [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff3a6f700 (LWP 15021)] [New Thread 0x7ffff2778700 (LWP 15022)] Platform: Intel(R) FPGA Emulation Platform for OpenCL(TM) Device: Intel(R) FPGA Emulation Device [New Thread 0x7fffd3cb5700 (LWP 15025)] [New Thread 0x7fffd38b4700 (LWP 15027)] [New Thread 0x7fffd34b3700 (LWP 15026)] [New Thread 0x7fffd28b0700 (LWP 15030)] [New Thread 0x7fffd2cb1700 (LWP 15029)] [New Thread 0x7fffd30b2700 (LWP 15028)] [New Thread 0x7fffd24af700 (LWP 15031)] [New Thread 0x7fffd18ac700 (LWP 15034)] [New Thread 0x7fffd14ab700 (LWP 15033)] [New Thread 0x7fffd1cad700 (LWP 15032)] [New Thread 0x7fffd20ae700 (LWP 15035)] [New Thread 0x7fffd10aa700 (LWP 15036)] [New Thread 0x7fff97bfe700 (LWP 15037)] [New Thread 0x7fff97fff700 (LWP 15038)] [New Thread 0x7fff977fd700 (LWP 15042)] [New Thread 0x7fff8f7fd700 (LWP 15040)] [New Thread 0x7fffd08a8700 (LWP 15039)] [New Thread 0x7fffd04a7700 (LWP 15043)] [New Thread 0x7fffd0ca9700 (LWP 15041)] [New Thread 0x7fff973fc700 (LWP 15044)] [New Thread 0x7fff96bfa700 (LWP 15045)] [New Thread 0x7fff96ffb700 (LWP 15046)] [New Thread 0x7fff967f9700 (LWP 15047)] [New Thread 0x7fff963f8700 (LWP 15050)] [New Thread 0x7fff95bf6700 (LWP 15048)] [New Thread 0x7fff957f5700 (LWP 15052)] [New Thread 0x7fff95ff7700 (LWP 15049)] [New Thread 0x7fff953f4700 (LWP 15051)] [New Thread 0x7fff94ff3700 (LWP 15053)] [New Thread 0x7fff94bf2700 (LWP 15054)] [New Thread 0x7fff947f1700 (LWP 15055)] DoNothing submitted Vector addition submitted Result: -0.7 Platform: Intel(R) OpenCL Device: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz DoNothing submitted Vector addition submitted Result: -0.7 Platform: Intel(R) OpenCL HD Graphics Device: Intel(R) Gen9 HD Graphics NEO DoNothing submitted Vector addition submitted Result: -0.7 Platform: Intel(R) OpenCL HD Graphics Device: Intel(R) Gen9 HD Graphics NEO DoNothing submitted Vector addition submitted Result: 0 Platform: NVIDIA CUDA Device: GeForce GTX 1070 [New Thread 0x7fff2c3be700 (LWP 15056)] [New Thread 0x7fff2bbbd700 (LWP 15057)] [New Thread 0x7fff2b3bc700 (LWP 15058)] [New Thread 0x7fff2abbb700 (LWP 15059)] [New Thread 0x7fff2a3ba700 (LWP 15060)] [New Thread 0x7fff29bb9700 (LWP 15061)] [New Thread 0x7fff293b8700 (LWP 15062)] DoNothing submitted Vector addition submitted Result: 0 [Thread 0x7fff293b8700 (LWP 15062) exited] [Thread 0x7fff29bb9700 (LWP 15061) exited] [Thread 0x7fff2a3ba700 (LWP 15060) exited] [Thread 0x7fff2abbb700 (LWP 15059) exited] [Thread 0x7fff2b3bc700 (LWP 15058) exited] [Thread 0x7fff2bbbd700 (LWP 15057) exited] [Thread 0x7fff2c3be700 (LWP 15056) exited] Platform: Intel(R) OpenCL Device: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz DoNothing submitted Thread 27 "sycl_devices" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fff963f8700 (LWP 15050)] 0x00007ffff0104830 in Intel::OpenCL::CPUDevice::NDRange::Init (this=this@entry=0x1a1ab10, region=region@entry=0x7fff963f7ca0, dimCount=@0x7fff963f7c9c: 32767, numberOfThreads=12) at /netbatch/donb19395_00/runDir/14/20191106_000000/llvm/opencl/devices/cpu_device/dispatcher_commands.cpp:834 834 /netbatch/donb19395_00/runDir/14/20191106_000000/llvm/opencl/devices/cpu_device/dispatcher_commands.cpp: No such file or directory. (gdb) where #0 0x00007ffff0104830 in Intel::OpenCL::CPUDevice::NDRange::Init (this=this@entry=0x1a1ab10, region=region@entry=0x7fff963f7ca0, dimCount=@0x7fff963f7c9c: 32767, numberOfThreads=12) at /netbatch/donb19395_00/runDir/14/20191106_000000/llvm/opencl/devices/cpu_device/dispatcher_commands.cpp:834 #1 0x00007ffff036c381 in Intel::OpenCL::TaskExecutor::TBB_ExecutionSchedulers::parallel_execute (cmdList=..., task=...) at /netbatch/donb27159_00/runDir/78/20190424_000000/llvm/projects/opencl/utils/task_executor/tbb_execution_schedulers.cpp:347 #2 0x00007ffff0367790 in Intel::OpenCL::TaskExecutor::execute_command (pCmd=..., cmdList=...) at /netbatch/donb27159_00/runDir/78/20190424_000000/llvm/projects/opencl/utils/task_executor/tbb_executor.cpp:93 #3 0x00007ffff0368f41 in Intel::OpenCL::TaskExecutor::ExecuteContainerBody::operator() (this=) at /netbatch/donb27159_00/runDir/78/20190424_000000/llvm/projects/opencl/utils/task_executor/base_command_list.h:319 #4 Intel::OpenCL::TaskExecutor::SpawningTaskGroup::TaskGroupTask::execute (this=) at /netbatch/donb27159_00/runDir/78/20190424_000000/llvm/projects/opencl/utils/task_executor/task_group.h:198 #5 0x00007ffff4779669 in tbb::internal::custom_scheduler::local_wait_for_all ( this=0x7ffff062f9c0 ::~SharedPtr()>, parent=..., child=0x0) at ../../src/tbb/custom_scheduler.h:501 #6 0x00007ffff477401e in tbb::internal::arena::process ( this=0x7ffff062f9c0 ::~SharedPtr()>, s=...) at ../../src/tbb/arena.cpp:159 #7 0x00007ffff4771ec7 in tbb::internal::market::process ( this=0x7ffff062f9c0 ::~SharedPtr()>, j=...) at ../../src/tbb/market.cpp:693 #8 0x00007ffff476d5f6 in tbb::internal::rml::private_worker::run ( this=0x7ffff062f9c0 ::~SharedPtr()>) at ../../src/tbb/private_server.cpp:271 #9 0x00007ffff476d586 in tbb::internal::rml::private_worker::thread_routine ( arg=0x7ffff062f9c0 ::~SharedPtr()>) at ../../src/tbb/private_server.cpp:224 #10 0x00007ffff5190669 in start_thread (arg=) at pthread_create.c:479 #11 0x00007ffff7855323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 (gdb) info locals i = 0 cmdParams = pLockedParams = 0x2405f80 "\260X\024\001" pKernel = 0x1d757f0 pParams = 0x2425c60 pProperties = devMemObjects = std::vector of length 37479104, capacity 37479107 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0...} uiMemArgCount = 3 offset = kernelParamsVec = std::vector of length 68787536, capacity -140737225771808 = {0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 48 '0', 70 'F', 89 'Y', -16 '\360', -1 '\377', 127 '\177', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', -48 '\320', 69 'E', 64 '@', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 72 'H', 70 'F', 89 'Y', -16 '\360', -1 '\377', 127 '\177', 0 '\000', 0 '\000', -96 '\240', 64 '@', 54 '6', -16 '\360', -1 '\377', 127 '\177', 0 '\000', 0 '\000', -64 '\300', 64 '@', 54 '6', -16 '\360', -1 '\377', 127 '\177', 0 '\000', 0 '\000', 48 '0', 63 '?', 54 '6', -16 '\360', -1 '\377', 127 '\177', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', -112 '\220', 70 'F', 89 'Y', -16 '\360', -1 '\377', 127 '\177', 0 '\000', 0 '\000', 32 ' ', 57 '9', 54 '6', -16 '\360', -1 '\377', 127 '\177', 0 '\000', 0 '\000', 0 '\000', 59 ';', 54 '6', -16 '\360', -1 '\377', 127 '\177', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', -96 '\240', 70 'F', 89 'Y', -16 '\360', -1 '\377', 127 '\177', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', -48 '\320', 69 'E', 64 '@', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', -72 '\270', 70 'F', 89 'Y', -16 '\360', -1 '\377', 127 '\177', 0 '\000', 0 '\000', -64 '\300', 65 'A', 54 '6', -16 '\360', -1 '\377', 127 '\177', 0 '\000', 0 '\000', -32 '\340', 65 'A', 54 '6', -16 '\360', -1 '\377', 127 '\177', 0 '\000', 0 '\000', -96 '\240', 62 '>', 54 '6', -16 '\360', -1 '\377', 127 '\177', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000', 0 '\000'...} memObjCount = memArgs = zero_enqueue = pWGSize = i = (gdb) info args this = 0x1a1ab10 region = 0x7fff963f7ca0 dimCount = @0x7fff963f7c9c: 32767 numberOfThreads = 12 (gdb) kill Kill the program being debugged? (y or n) y [Inferior 1 (process 15017) killed] (gdb) q