GSI Forum - RDF feed
type: channel
description: GSI Helmholtzzentrum für Schwerionenforschung
items: segfault in dch macros
items: Re: segfault in dch macros

segfault in dch macros
type: item
description: Dear all, I am preparing the dch package for release 2.0. I have still a problem which I cannot fight myself. In macros/dch I put a set of macros for: * simulation runMC.C * digitisation makeDigi.C * ideal hit reconstruction makeIdealHits.C I am able to run all of them, but when I am trying to close root afterwards I get segmentation violations. The output data seem to be not affected - results look reasonable. I suspect it has something to do with the way I handle geometry, because TGeoManager appears in the backtrace. Hopefully Tobias or Mohammad are able to help me? Others are welcome, as well Thanks in advance, ola Here you are the backtrace from quitting root after execution of runMC.C (others are very similar): root [1] .q WARNING - Attempt to delete the physical volume store while geometry closed ! WARNING - Attempt to delete the logical volume store while geometry closed ! WARNING - Attempt to delete the solid store while geometry closed ! WARNING - Attempt to delete the region store while geometry closed ! *** Break *** segmentation violation Using host libthread_db library "/lib/libthread_db.so.1". Attaching to program: /proc/16468/exe, process 16468 `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. done. done. [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 16468)] done. done. done. done. done. done. done. done. done. 0x40e86788 in waitpid () from /lib/libc.so.6 #1 0x40f0e8c0 in __DTOR_END__ () from /lib/libc.so.6 #2 0x40e1f442 in do_system () from /lib/libc.so.6 #3 0x40d99c5f in system () from /lib/libpthread.so.0 #4 0x40209fe9 in TUnixSystem::Exec (this=0x80cc000, at unix/src/TUnixSystem.cxx:1803 #5 0x4020a49e in TUnixSystem::StackTrace (this=0x80cc000) at unix/src/TUnixSystem.cxx:1988 #6 0x402082fb in TUnixSystem::DispatchSignals (this=0x80cc000, sig=kSigSegmentationViolation) at unix/src/TUnixSystem.cxx:945 #7 0x40206590 in SigHandler (sig=kSigSegmentationViolation) at unix/src/TUnixSystem.cxx:338 #8 0x4020…
creator: Aleksandra Wronska
date: 2007-11-05T13:14:37-00:00

Re: segfault in dch macros
type: item
description: Hi, This is the same problem which Tobias was facing weeks ago, it is related to importing root geometry from the file (using CadtoROOT) I solved this but only for the MVD, So please take a look to the MVD code (ConstructRootGeomtry) and change your code. This is just for now the next step will be done as soon as possible, namely to put this method in the base class (CbmDetector) so that you do not have to impliment it your self. regards Mohammad
creator: Mohammad Al-Turany
date: 2007-11-05T13:24:05-00:00