Run segmentation fault only when simulating protons in a GDML geometry

_Geant4 Version: 11.0.2
_Operating System: Ubuntu 22.04
_Compiler/Version: g++ 11.4.0
_CMake Version: 3.22.1

Hello dear Geant4 users,

I am simulating the secondary radiation field produced by bombarding various targets with 430 MeV protons, 4He, and 12C ions, while benchmarking different physical transport models for heavy ions and hadrons. The geometry of my simulation is defined using GDML language, and I extract the necessary information at specific measurement locations using an SD and save it in a root file.

Simulations in MT mode with 4He and 12C ions run smoothly without any issues. However, when it comes to simulating protons, the simulations crash randomly after processing a few thousand events. I have monitored the run using (gdb) and provided the output below.

G4WT3 > Det60_lv  neutron  neutronInelastic  9.51233e-08  11.3735  0.00767099  0.373146  1
G4WT3 > Det1_lv  gamma  annihil  0.343947  18.1638  0.0122507  0.595924  1
G4WT3 > Det2_lv  gamma  protonInelastic  0.13672  25.6987  0.0173327  0.843132  1
G4WT3 > Det60_lv  neutron  protonInelastic  0.000383836  15.8662  0.0107011  0.520543  1
G4WT3 > Det20_lv  neutron  protonInelastic  0.000290701  5.89824  0.00397813  0.193512  1
G4WT1 > Det1_lv  neutron  neutronInelastic  0.0820786  23.9076  0.0161248  0.784371  1
G4WT3 > Det1_lv  neutron  protonInelastic  131.059  2.31229  0.00155955  0.0758625  1
G4WT0 > Det1_lv  neutron  neutronInelastic  1.11363  17.4035  0.011738  0.570982  1
G4WT3 > Det60_lv  neutron  neutronInelastic  1.83713  8.61213  0.00580855  0.28255  1
G4WT0 > Det60_lv  nu_e  Radioactivation  1.02579  11.7489  0.0079242  0.385464  1
G4WT2 > Det3_lv  neutron  neutronInelastic  0.941148  21.7128  0.0146444  0.712363  1
G4WT2 > Det1_lv  neutron  neutronInelastic  1.26044e-06  28.3945  0.019151  0.931577  1
G4WT2 > Det20_lv  neutron  neutronInelastic  1.26044e-06  19.5269  0.0131701  0.640645  1
G4WT1 > Det60_lv  gamma  nCapture  0.310597  24.9989  0.0168608  0.820174  1
G4WT0 > Det2_lv  gamma  annihil  0.106213  26.0088  0.0175419  0.853308  1
G4WT0 > Det1_lv  neutron  neutronInelastic  0.000873144  23.011  0.01552  0.754954  1
G4WT2 > Det1_lv  neutron  neutronInelastic  1.07909  12.3007  0.00829637  0.403568  1
G4WT1 > Det2_lv  neutron  protonInelastic  261.669  23.8826  0.0161079  0.783549  1


Thread 4 "exampleED" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x15554c9bc640 (LWP 2291343)]
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string (__str=<error reading variable: Cannot access memory at address0x130>, this=0x15554c8a8f90) at /usr/include/c++/11/bits/basic_string.h:459
459         { _M_construct(__str._M_data(), __str._M_data() + __str.length()); }
(gdb) continue 
Continuing.

### CAUGHT SIGNAL: 11 ### address: 0x128,  signal =  SIGSEGV, value =   11, description = segmentation violation. Address not mapped to object.

Backtrace:
[PID=2291319, TID=2][ 0/16]> /home/augusto/Scrivania/Geant4/G4work/CAVE_HIT_Dec/INCL2/exampleED(+0x1eda8) [0x555555572da8]
[PID=2291319, TID=2][ 1/16]> /home/augusto/Scrivania/Geant4/geant4-v11.0.2-install/lib/libG4tracking.so(_ZN17G4SteppingManager8SteppingEv+0x1f3) [0x155551fd21c3]
[PID=2291319, TID=2][ 2/16]> /home/augusto/Scrivania/Geant4/geant4-v11.0.2-install/lib/libG4tracking.so(_ZN17G4TrackingManager15ProcessOneTrackEP7G4Track+0x118)[0x155551fe8518]
[PID=2291319, TID=2][ 3/16]> /home/augusto/Scrivania/Geant4/geant4-v11.0.2-install/lib/libG4event.so(_ZN14G4EventManager12DoProcessingEP7G4Event+0x89b) [0x155554c3238b]
[PID=2291319, TID=2][ 4/16]> /home/augusto/Scrivania/Geant4/geant4-v11.0.2-install/lib/libG4tasking.so(_ZN22G4WorkerTaskRunManager15ProcessOneEventEi+0x3c)[0x155554dc8a5c]
[PID=2291319, TID=2][ 5/16]> /home/augusto/Scrivania/Geant4/geant4-v11.0.2-install/lib/libG4tasking.so(_ZN22G4WorkerTaskRunManager11DoEventLoopEiPKci+0x176)[0x155554dc8766]
[PID=2291319, TID=2][ 6/16]> /home/augusto/Scrivania/Geant4/geant4-v11.0.2-install/lib/libG4tasking.so(_ZN22G4WorkerTaskRunManager6DoWorkEv+0x126) [0x155554dc8916]
[PID=2291319, TID=2][ 7/16]> /home/augusto/Scrivania/Geant4/geant4-v11.0.2-install/lib/libG4tasking.so(+0x3c732) [0x155554dba732]
[PID=2291319, TID=2][ 8/16]> /home/augusto/Scrivania/Geant4/geant4-v11.0.2-install/lib/libG4tasking.so(_ZNSt13__future_base13_State_baseV29_M_do_setEPSt8functionIFSt10unique_ptrINS_12_Result_baseENS3_8_DeleterEEvEEPb+0x2d)[0x155554dbec3d]
[PID=2291319, TID=2][ 9/16]> /lib/x86_64-linux-gnu/libc.so.6(+0x99ee8) [0x155551899ee8]
[PID=2291319, TID=2][10/16]> /home/augusto/Scrivania/Geant4/geant4-v11.0.2-install/lib/libG4tasking.so(_ZN3PTL4TaskIvJEEclEv+0x107) [0x155554dbed97]
[PID=2291319, TID=2][11/16]> /home/augusto/Scrivania/Geant4/geant4-v11.0.2-install/lib/libG4ptl.so.0(_ZN3PTL10ThreadPool14execute_threadEPNS_14VUserTaskQueueE+0x398)[0x155554b85118]
[PID=2291319, TID=2][12/16]> /home/augusto/Scrivania/Geant4/geant4-v11.0.2-install/lib/libG4ptl.so.0(_ZN3PTL10ThreadPool12start_threadEPS0_PSt6vectorISt10shared_ptrINS_10ThreadDataEESaIS5_EEl+0x215)[0x155554b85595]
[PID=2291319, TID=2][13/16]> /lib/x86_64-linux-gnu/libstdc++.so.6(+0xdc253) [0x155551cdc253]
[PID=2291319, TID=2][14/16]> /lib/x86_64-linux-gnu/libc.so.6(+0x94ac3) [0x155551894ac3]
[PID=2291319, TID=2][15/16]> /lib/x86_64-linux-gnu/libc.so.6(+0x126850) [0x155551926850]

: Segmentation fault (Address not mapped to object [0x128])
Thread 4 "exampleED" received signal SIGABRT, Aborted.
__pthread_kill_implementation (no_tid=0, signo=6, threadid=23456101680704) at ./nptl/pthread_kill.c:44
44    ./nptl/pthread_kill.c: File o directory non esistente.
---strong text

I am having difficulty identifying the source of this problem. Why does it only occur for protons?

Can anyone provide assistance in figuring out the origin of this problem please?

  1. If that is your own Geant4 installation, rebuild it with debugging enabled, using build type = “Debug” (or “RelWithDebugInfo”).

  2. Rebuild your example with debugging enabled.

  3. Run again, instead of doing “continue” when the error occurs, use “bt” get the backtrace and be able to inspect variables.

You can see from the backtrace posted that the error occurred in your example code:

Dear Michael Kelsey,

Thank you very much for your quick response.

I followed your instructions and here is what the terminal stapled for me:

G4WT1 > Det1_lv  neutron  neutronInelastic  0.000873144  23.011  0.01552  0.754954  1
G4WT2 > Det60_lv  gamma  nCapture  0.310597  24.9989  0.0168608  0.820174  1
G4WT3 > Det3_lv  neutron  neutronInelastic  3.08636  2.89757  0.0019543  0.0950646  1
G4WT2 > Det2_lv  neutron  protonInelastic  261.669  23.8826  0.0161079  0.783549  1

Thread 3 "exampleED" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x15554cbbd640 (LWP 3445525)]
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string (__str=<error reading variable: Cannot access memory at address 0x130>, this=0x15554caa9f90) at /usr/include/c++/11/bits/basic_string.h:459
459	      { _M_construct(__str._M_data(), __str._M_data() + __str.length()); }
(gdb) bt
#0  std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string (
    __str=<error reading variable: Cannot access memory at address 0x130>, this=0x15554caa9f90) at /usr/include/c++/11/bits/basic_string.h:459
#1  G4String::G4String (str=..., this=0x15554caa9f90) at /home/augusto/Scrivania/Geant4/geant4-v11.0.2-install/include/Geant4/G4String.icc:36
#2  ED::SensitiveDetector::ProcessHits (this=<optimized out>, aStep=0x15554004c3e0)
    at /home/augusto/Scrivania/Geant4/geant4-v11.0.2/examples/CAVE_HIT_SD/src/SensitiveDetector.cc:81
#3  0x0000155551fd21c3 in G4VSensitiveDetector::Hit (aStep=0x15554004c3e0, this=0x155540234750)
    at /home/augusto/Scrivania/Geant4/geant4-v11.0.2/source/digits_hits/detector/include/G4VSensitiveDetector.hh:127
#4  G4SteppingManager::Stepping (this=0x15554004c240) at /home/augusto/Scrivania/Geant4/geant4-v11.0.2/source/tracking/src/G4SteppingManager.cc:258
#5  0x0000155551fe8518 in G4TrackingManager::ProcessOneTrack (this=0x15554004abd0, apValueG4Track=apValueG4Track@entry=0x1555406fc1b0)
    at /home/augusto/Scrivania/Geant4/geant4-v11.0.2/source/tracking/src/G4TrackingManager.cc:138
#6  0x0000155554c3238b in G4EventManager::DoProcessing (this=0x1555400188b0, anEvent=<optimized out>)
    at /home/augusto/Scrivania/Geant4/geant4-v11.0.2/source/event/src/G4EventManager.cc:204
#7  0x0000155554dc8a5c in G4WorkerTaskRunManager::ProcessOneEvent (this=0x15554004a900, i_event=<optimized out>)
    at /home/augusto/Scrivania/Geant4/geant4-v11.0.2/source/tasking/src/G4WorkerTaskRunManager.cc:243
#8  0x0000155554dc8766 in G4WorkerTaskRunManager::DoEventLoop (this=0x15554004a900, n_event=10000, macroFile=<optimized out>, n_select=-1)
    at /home/augusto/Scrivania/Geant4/geant4-v11.0.2/source/tasking/src/G4WorkerTaskRunManager.cc:222
#9  0x0000155554dc8916 in G4WorkerTaskRunManager::DoWork (this=0x15554004a900)
    at /home/augusto/Scrivania/Geant4/geant4-v11.0.2/source/tasking/src/G4WorkerTaskRunManager.cc:541
#10 0x0000155554dba732 in operator() (__closure=0x55557cfb6800) at /home/augusto/Scrivania/Geant4/geant4-v11.0.2/source/tasking/src/G4TaskRunManager.cc:475
#11 operator() (__closure=0x55557cfb67e8) at /home/augusto/Scrivania/Geant4/geant4-v11.0.2/source/externals/ptl/include/PTL/TaskGroup.icc:294
#12 std::__invoke_impl<void, PTL::TaskGroup<void, void>::exec<G4TaskRunManager::AddEventTask(G4int)::<lambda()> >(G4TaskRunManager::AddEventTask(G4int)::<lambda()>)::<lambda()>&> (__f=...) at /usr/include/c++/11/bits/invoke.h:61
#13 std::__invoke_r<void, PTL::TaskGroup<void, void>::exec<G4TaskRunManager::AddEventTask(G4int)::<lambda()> >(G4TaskRunManager::AddEventTask(G4int)::<lambda()>)::<lambda()>&> (__fn=...) at /usr/include/c++/11/bits/invoke.h:111
#14 operator() (__closure=<optimized out>) at /usr/include/c++/11/future:1468
#15 std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::__future_base::_Task_state<PTL::TaskGroup<void, void>::exec<G4TaskRunManager::AddEventTask(G4int)::<lambda()> >(G4TaskRunManager::AddEventTask(G4int)::<lambda()>)::<lambda()>, std::allocator<int>, void()>::_M_run()::<lambda()>, void>::operator() (this=<optimized out>) at /usr/include/c++/11/future:1409
#16 std::__invoke_impl<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::__future_base::_Task_state<PTL::TaskGroup<void, void>::exec<G4TaskRunManager::AddEventTask(G4int)::<lambda()> >(G4TaskRunManager::AddEventTask(G4int)::<lambda()>)::<lambda()>, std::allocator<int>, void()>::_M_run()::<lambda()>, void>&> (__f=...)
    at /usr/include/c++/11/bits/invoke.h:61
#17 std::__invoke_r<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>, std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::__future_base::_Task_state<PTL::TaskGroup<void, void>::exec<G4TaskRunManager::AddEventTask(G4int)::<lambda()> >(G4TaskRunManager::AddEventTask(G4int)::<lambda()>)::<lambda()>, std::allocator<int>, void()>::_M_run()::<lambda()>, void>&> (__fn=...)
    at /usr/include/c++/11/bits/invoke.h:116
#18 std::_Function_handler<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>(), std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::__future_base::_Task_state<PTL::TaskGroup<void, void>::exec<G4TaskRunManager::AddEventTask(G4int)::<lambda()> >(G4TaskRunManager::AddEventTask(G4int)::<lambda()>)::<lambda()>, std::allocator<int>, void()>::_M_run()::<lambda()>, void> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/11/bits/std_function.h:291
#19 0x0000155554dbec3d in std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>::operator()() const (
    this=<optimized out>) at /usr/include/c++/11/bits/std_function.h:590
#20 std::__future_base::_State_baseV2::_M_do_set(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*) (this=0x55557cfb67c0, __f=<optimized out>, __did_set=0x15554caaa48f) at /usr/include/c++/11/future:571
#21 0x0000155551899ee8 in __pthread_once_slow (once_control=0x55557cfb67d8, init_routine=0x155551cdad50 <__once_proxy>) at ./nptl/pthread_once.c:116
#22 0x0000155554dbed97 in __gthread_once (__func=<optimized out>, __once=0x55557cfb67d8) at /usr/include/x86_64-linux-gnu/c++/11/bits/gthr-default.h:700
#23 std::call_once<void (std::__future_base::_State_baseV2::*)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*), std::__future_base::_State_baseV2*, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*>(std::once_flag&, void (std::__future_base::_State_baseV2::*&&)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*), std::__future_base::_State_baseV2*&&, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*&&, bool*&&) (
    __f=@0x15554caaa4b0: (void (std::__future_base::_State_baseV2::*)(std::__future_base::_State_baseV2 * const, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>()> *, bool *)) 0x155554dbec10 <std::__future_base::_State_baseV2::_M_do_set(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*)>, __once=...) at /usr/include/c++/11/mutex:783
#24 std::__future_base::_State_baseV2::_M_set_result(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>, bool) (__ignore_failure=false, __res=..., this=0x55557cfb67c0) at /usr/include/c++/11/future:411
#25 std::__future_base::_Task_state<PTL::TaskGroup<void, void>::exec<G4TaskRunManager::AddEventTask(G4int)::<lambda()> >(G4TaskRunManager::AddEventTask(G4int)::<lambda()>)::<lambda()>, std::allocator<int>, void()>::_M_run (this=0x55557cfb67c0) at /usr/include/c++/11/future:1471
#26 std::packaged_task<void ()>::operator()() (this=<optimized out>) at /usr/include/c++/11/future:1604
#27 PTL::mpl::impl::apply<std::packaged_task<void()>, std::tuple<> > (_args=..., _func=...)
    at /home/augusto/Scrivania/Geant4/geant4-v11.0.2/source/externals/ptl/include/PTL/Globals.hh:173
#28 PTL::mpl::apply<std::packaged_task<void()>, std::tuple<> > (_args=..., _func=...)
    at /home/augusto/Scrivania/Geant4/geant4-v11.0.2/source/externals/ptl/include/PTL/Globals.hh:200
#29 PTL::Task<void>::operator() (this=<optimized out>) at /home/augusto/Scrivania/Geant4/geant4-v11.0.2/source/externals/ptl/include/PTL/Task.hh:169
#30 0x0000155554b85118 in PTL::ThreadPool::execute_thread (this=0x55555597ab30, _task_queue=0x555555cf2d60)
    at /home/augusto/Scrivania/Geant4/geant4-v11.0.2/source/externals/ptl/src/ThreadPool.cc:700
#31 0x0000155554b85595 in PTL::ThreadPool::start_thread (tp=0x55555597ab30, _data=0x55555597acb8, _idx=2)
    at /home/augusto/Scrivania/Geant4/geant4-v11.0.2/source/externals/ptl/src/ThreadPool.cc:87
#32 0x0000155551cdc253 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#33 0x0000155551894ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#34 0x0000155551926850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
(gdb) continue
Continuing.

### CAUGHT SIGNAL: 11 ### address: 0x128,  signal =  SIGSEGV, value =   11, description = segmentation violation. Address not mapped to object.

Backtrace:
[PID=3445500, TID=1][ 0/16]> /home/augusto/Scrivania/Geant4/G4work/CAVE_HIT_Dec/INCL2/exampleED(+0x1eda8) [0x555555572da8]
[PID=3445500, TID=1][ 1/16]> /home/augusto/Scrivania/Geant4/geant4-v11.0.2-install/lib/libG4tracking.so(_ZN17G4SteppingManager8SteppingEv+0x1f3) [0x155551fd21c3]
[PID=3445500, TID=1][ 2/16]> /home/augusto/Scrivania/Geant4/geant4-v11.0.2-install/lib/libG4tracking.so(_ZN17G4TrackingManager15ProcessOneTrackEP7G4Track+0x118) [0x155551fe8518]
[PID=3445500, TID=1][ 3/16]> /home/augusto/Scrivania/Geant4/geant4-v11.0.2-install/lib/libG4event.so(_ZN14G4EventManager12DoProcessingEP7G4Event+0x89b) [0x155554c3238b]
[PID=3445500, TID=1][ 4/16]> /home/augusto/Scrivania/Geant4/geant4-v11.0.2-install/lib/libG4tasking.so(_ZN22G4WorkerTaskRunManager15ProcessOneEventEi+0x3c) [0x155554dc8a5c]
[PID=3445500, TID=1][ 5/16]> /home/augusto/Scrivania/Geant4/geant4-v11.0.2-install/lib/libG4tasking.so(_ZN22G4WorkerTaskRunManager11DoEventLoopEiPKci+0x176) [0x155554dc8766]
[PID=3445500, TID=1][ 6/16]> /home/augusto/Scrivania/Geant4/geant4-v11.0.2-install/lib/libG4tasking.so(_ZN22G4WorkerTaskRunManager6DoWorkEv+0x126) [0x155554dc8916]
[PID=3445500, TID=1][ 7/16]> /home/augusto/Scrivania/Geant4/geant4-v11.0.2-install/lib/libG4tasking.so(+0x3c732) [0x155554dba732]
[PID=3445500, TID=1][ 8/16]> /home/augusto/Scrivania/Geant4/geant4-v11.0.2-install/lib/libG4tasking.so(_ZNSt13__future_base13_State_baseV29_M_do_setEPSt8functionIFSt10unique_ptrINS_12_Result_baseENS3_8_DeleterEEvEEPb+0x2d) [0x155554dbec3d]
[PID=3445500, TID=1][ 9/16]> /lib/x86_64-linux-gnu/libc.so.6(+0x99ee8) [0x155551899ee8]
[PID=3445500, TID=1][10/16]> /home/augusto/Scrivania/Geant4/geant4-v11.0.2-install/lib/libG4tasking.so(_ZN3PTL4TaskIvJEEclEv+0x107) [0x155554dbed97]
[PID=3445500, TID=1][11/16]> /home/augusto/Scrivania/Geant4/geant4-v11.0.2-install/lib/libG4ptl.so.0(_ZN3PTL10ThreadPool14execute_threadEPNS_14VUserTaskQueueE+0x398) [0x155554b85118]
[PID=3445500, TID=1][12/16]> /home/augusto/Scrivania/Geant4/geant4-v11.0.2-install/lib/libG4ptl.so.0(_ZN3PTL10ThreadPool12start_threadEPS0_PSt6vectorISt10shared_ptrINS_10ThreadDataEESaIS5_EEl+0x215) [0x155554b85595]
[PID=3445500, TID=1][13/16]> /lib/x86_64-linux-gnu/libstdc++.so.6(+0xdc253) [0x155551cdc253]
[PID=3445500, TID=1][14/16]> /lib/x86_64-linux-gnu/libc.so.6(+0x94ac3) [0x155551894ac3]
[PID=3445500, TID=1][15/16]> /lib/x86_64-linux-gnu/libc.so.6(+0x126850) [0x155551926850]

: Segmentation fault (Address not mapped to object [0x128])

Thread 3 "exampleED" received signal SIGABRT, Aborted.
__pthread_kill_implementation (no_tid=0, signo=6, threadid=23456103781952) at ./nptl/pthread_kill.c:44
44	./nptl/pthread_kill.c: File o directory non esistente.

Can you figure out where the problem is coming from?

If you need further information or action from me, I am at your disposal.

BR
ADC

Don’t do the continue. That forces GDB to keep running after it stopped to help you. You’re basically telling it you don’t want to look at anything, so then you get the segfault and crash.

Instead of “continue” you should use GDB commands to look at what failed. Go to the frame, look at local variables. Look at the code. You may need to rebuild your example with CMAKE_BUILD_TYPE=Debug, as I mentioned earlier. If you read the traceback, you can see that it is telling you things have been “optimized out.” A full Debug build shouldn’t have that.

If you are not familiar with GDB, there are good resources for how to use it on the Internet, especially from the GNU Project itself.