GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » AGATA » AGATA - GammaWare » root hangs when quiting after running StartDuty.C
root hangs when quiting after running StartDuty.C [message #18508] Thu, 17 September 2015 12:37 Go to next message
joa is currently offline  joa
Messages: 5
Registered: September 2015
occasional visitor
From: *in2p3.fr
Hi all,

My first AGATA forum post!

I suddenly have a problem producing root trees from adf files made after tracking. I can run the macros and the code
one file at a time. But if I try to run a batch using many files

for ((RunNr=$start; RunNr<=$end; RunNr++))
do
echo "Converting $RunNr --> $DIRNAME"
root -q -b "StartDuty.C($RunNr)"
done

it hangs. I've checked and it is root that hangs when quiting. I've tried to debug this a bit using gdb and valgrind
but upuntil now I've found nothing. Also, I can't recall what changes I could possibly have made that causes this problem. More later, since I hope to figure out what went wrong and report back


cheers




Joa


Re: root hangs when quiting after running StartDuty.C [message #18509 is a reply to message #18508] Thu, 17 September 2015 13:28 Go to previous messageGo to next message
dudouet is currently offline  dudouet
Messages: 4
Registered: January 2015
Location: Lyon
occasional visitor
From: *in2p3.fr
Hi Joa,

Can you copy the output you have when it crash. I think we already have seen this problem. If this is what I think, it's caused by a bug in the VAMOS library vanalysis which has been corrected by Antoine. A pull from git should resolve the problem. You may have an old version of the watchers, because the StartDuty is no more used, it has been replaced by the StartBatch.sh.

Jérémie
Re: root hangs when quiting after running StartDuty.C [message #18510 is a reply to message #18508] Thu, 17 September 2015 13:44 Go to previous messageGo to next message
joa is currently offline  joa
Messages: 5
Registered: September 2015
occasional visitor
From: *in2p3.fr
Hi,

actually, there is no output from anything... just a silent crash. Looking at it with the debugger just gets you up the tree to a signal handler... Nothing non root in there.

But I'll try to update the libVAMOS and see if it fixes the problem. The strange thing is that it all used to work.


As for an old version of Watchers. Yes, that is the case. I've done some extensive modifications to them, so I'm
not very keen on upgrading... Will "sandbox" all of this and try on another computer.


cheers


Joa
Re: root hangs when quiting after running StartDuty.C [message #18529 is a reply to message #18508] Thu, 24 September 2015 13:22 Go to previous message
joa is currently offline  joa
Messages: 5
Registered: September 2015
occasional visitor
From: *in2p3.fr
Hi,


I still have the same problem using new versions of the vanalysis. Solved it with a killall at the end of the StartDuty script...

so problem not solved but I postpone further debugging.

The debugging I've done using gdb and valgrind suggest it is a root thing. I.e. nothing AGATA/VAMOS shows upp in valgrind output or gdb stacktrace


cheers


Joa
Previous Topic: Building GammaWare with gcc5.1
Goto Forum:
  


Current Time: Sun Nov 03 09:13:28 CET 2024

Total time taken to generate the page: 0.00625 seconds