|
Back
Midas
Rome
Roody
Rootana
|
Midas DAQ System |
Not logged in |
|
|
08 Jul 2019, Vinzenz Bildstein, Bug Report, Frontend killed at stop of run
|
08 Jul 2019, Konstantin Olchanski, Bug Report, Frontend killed at stop of run
|
08 Jul 2019, Vinzenz Bildstein, Bug Report, Frontend killed at stop of run
|
08 Jul 2019, Konstantin Olchanski, Bug Report, Frontend killed at stop of run
|
08 Jul 2019, Vinzenz Bildstein, Bug Report, Frontend killed at stop of run
|
08 Jul 2019, Konstantin Olchanski, Bug Report, Frontend killed at stop of run
|
08 Jul 2019, Vinzenz Bildstein, Bug Report, Frontend killed at stop of run
|
10 Jul 2019, Vinzenz Bildstein, Bug Report, Frontend killed at stop of run
|
10 Jul 2019, Konstantin Olchanski, Bug Report, Frontend killed at stop of run
|
11 Jul 2019, Vinzenz Bildstein, Bug Report, Frontend killed at stop of run
|
11 Jul 2019, Konstantin Olchanski, Bug Report, Frontend killed at stop of run
|
16 Jul 2019, Konstantin Olchanski, Bug Report, a3818 and signals, Frontend killed at stop of run
|
16 Jul 2019, Konstantin Olchanski, Bug Report, a3818 and signals, Frontend killed at stop of run
|
|
Message ID: 1603
Entry time: 08 Jul 2019
In reply to: 1602
Reply to this: 1604
|
Author: |
Vinzenz Bildstein |
Topic: |
Bug Report |
Subject: |
Frontend killed at stop of run |
|
|
> > > run the frontend inside gdb and post the stack trace after the crash?
> > >
> > > if there is no crash (the program is stopped by exit()), you may need
> > > to set a breakpoint in exit() or _exit() (not sure what it's latest name is)
> > > then with luck your stack trace will show who/what called it from where.
> > >
> >
> > If I remember correctly from the last time I tried that, it doesn't use the exit
> > function but gdb just reports that the program was terminated and no longer exists. I
> > can't set a breakpoint on SIGKILL as the point of SIGKILL is to kill the program and
> > gdb can't set a break at that point afaik.
>
> For SIGKILL, my gdb reports "Program terminated with signal SIGKILL, Killed." and there is no stack
> trace. Is this what you see?
Yes, that is exactly what I remember seeing.
>
> If your program stops "normally", not from receiving some signal, set breakpoints on "exit" and
> "_exit".
>
> The normal stop sequence is to call exit(), which runs all the atexit() functions (the midas atexit()
> function prints the message about "cm_disconnect_experiment not called at end of program") and
> calls _exit() to stop the program.
>
> So if you see the midas message "cm_disconnect_experiment not called at end of program", it is a
> good indication that somebody (not mfe.c) called exit() on you. A breakpoint on "exit" should catch
> who does it.
>
> Good luck,
> K.O.
So far I haven't seen the issue with the message "cm_disconnect_experiment not called at end of program"
again. Now I just have to restart the frontend after the run has (failed?) to stop. After restarting the
frontend everything seems to work again.
I haven't been writing data while doing these tests, so I can't say if there is any data missing or if the
runs were actually stopped properly (with a second dump of the ODB at the end). |