Message: Re: Problems with G4TouchableHistory Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Warning Re: Problems with G4TouchableHistory 

Forum: Multithreading
Re: Question Problems with G4TouchableHistory (Mustafa Schmidt)
Date: 13 Aug, 2015
From: Andrea Dotti <Andrea Dotti>

Hello, from your report it seems that the problem is somewhere in the method SensDetPMT::ProcessHits, without seeing the details of the code it is difficult to know where the problem is, in MT even if the code crashes when the lines you have provided are present, the real problem may be somewhere else.

Please consider to: - double check that the SensitiveDetector is created and associated to the LogicalVolume in the ConstructSDandField() method of the detector construction class. - There are no shared variables in the SD code which access is not protected (e.g. no static) - Recompile your code in Debug mode (e.g. cmake flag -DCMAKE_BUILD_TYPE=Debug) that could give you more information on the exact location the crash happens - In gdb use "info threads" and check the status of all threads (you have provided the stacktrace of only one of them that may well be the one that did not cause the crash)

I hope this can be of help, Andrea Dotti

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Agree: Re: Problems with G4TouchableHistory   (Mustafa Schmidt - 14 Aug, 2015)
 Add Message Add Message
to: "Re: Problems with G4TouchableHistory"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews