GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Geane crashes in PndPidCorrelator
Re: Geane crashes in PndPidCorrelator [message #10332 is a reply to message #10331] Thu, 04 March 2010 12:27 Go to previous messageGo to previous message
Anonymous Poster From: *e18.physik.tu-muenchen.de
Hi Soeren,

I can tell you how to catch a SIGSEGV, but I doubt that your program can still after it, but you can try.... Another problem is that you can write your own interrupt handler for this signal, but the question would be how to get out of this routine and back to the place you want to continue with execution... You can use C labels, but then I think the signal handler and your jump point need to be in the same object file, i.e. the same .cxx file...

Anyways, here is how you could try:

#include <signal.h>

static void SignalHandler(int isig) {
//irq handler, do something: goto?!?
}

//somewhere in you init code, register the irq handler
signal(SIGSEGV, &SignalHandler);

But I doubt it will really help...

Cheers, Christian
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: stt does not compile anymore in trunk rev. 8026
Next Topic: Crash in genfit -> KalmanTask 15/3/2010
Goto Forum:
  


Current Time: Sun Dec 08 23:23:33 CET 2024

Total time taken to generate the page: 0.00920 seconds