Dear castor users and experts
I am trying to get .geom file from castor-GATEMacToGeom command, but the program crashes with the following message
dsiwal@nucphysics:/home/dsiwal/GateExample/AnimalPET/ZaidiArray
$castor-GATEMacToGeom -m ZaidiAnimalPETArray_Ecat.mac -o test
terminate called after throwing an instance of ‘std::logic_error’
what(): basic_string::_M_construct null not valid
Aborted (core dumped)
I am also submitting the gdb report
$gdb castor-GATEMacToGeom
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 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:
https://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 castor-GATEMacToGeom…
(No debugging symbols found in castor-GATEMacToGeom)
(gdb) run -m ZaidiAnimalPETArray_Ecat.mac -o test
Starting program: /home/dsiwal/softwares/castor-build/bin/castor-GATEMacToGeom -m ZaidiAnimalPETArray_Ecat.mac -o test
[Thread debugging using libthread_db enabled]
Using host libthread_db library “/usr/lib/x86_64-linux-gnu/libthread_db.so.1”.
terminate called after throwing an instance of ‘std::logic_error’
what(): basic_string::_M_construct null not valid
Program received signal SIGABRT, Aborted.
__pthread_kill_implementation (no_tid=0, signo=6, threadid=140737341540864) at ./nptl/pthread_kill.c:44
44 ./nptl/pthread_kill.c: No such file or directory.
(gdb) where
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=140737341540864)
at ./nptl/pthread_kill.c:44
#1 __pthread_kill_internal (signo=6, threadid=140737341540864) at ./nptl/pthread_kill.c:78
#2 __GI___pthread_kill (threadid=140737341540864, signo=signo@entry=6)
at ./nptl/pthread_kill.c:89
#3 0x00007ffff75d1476 in __GI_raise (sig=sig@entry=6) at …/sysdeps/posix/raise.c:26
#4 0x00007ffff75b77f3 in __GI_abort () at ./stdlib/abort.c:79
#5 0x00007ffff7960b9e in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff796c20c in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7 0x00007ffff796c277 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#8 0x00007ffff796c4d8 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9 0x00007ffff7963344 in std::__throw_logic_error(char const*) ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x0000555555731a4e in sOutputManager::CheckConfigDir(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) ()
#11 0x000055555559b6b6 in main ()
(gdb)
I request the experts to help me out
Thank you