RE: tmpfile crash?

From: Timur Pocheptsov <Timur.Pocheptsov_at_cern.ch>
Date: Fri, 6 Jan 2012 20:50:33 +0000

I think, you have to fix your code. Can you reproduce the crash? Most probably, this is std::bad_alloc exception. Can you look at memory usage during execution? Is it ACLiC or interpreted code? Can you, at least, add try/catch block and check exception's type?
________________________________________
From: owner-roottalk_at_root.cern.ch [owner-roottalk_at_root.cern.ch] on behalf of Snyder, Arthur E. [snyder_at_slac.stanford.edu]
Sent: 06 January 2012 21:36
To: Axel Naumann
Cc: roottalk_at_root.cern.ch
Subject: RE: [ROOT] tmpfile crash?

Axel et al.,

Usually the |selector| runs to completion w/o any exceptions. Sometimes even under indentical conditions it crashes. After a crash the *.so files seem to be corupted somehow and I have to delete them and re-link them. This maybe associated with having loaded some small non-compiled macro to look at the results.

I guess I can dodge this my always restarting root. every time I run the |selector|. I can start to attach |gdb| always and see if I can catch one in the act.

-Art

________________________________________
From: Axel Naumann [axel_at_cern.ch]
Sent: Friday, January 06, 2012 10:07 AM
To: Snyder, Arthur E.
Cc: roottalk_at_root.cern.ch; Snyder, Arthur E.
Subject: Re: [ROOT] tmpfile crash?

Hi,

This is caused by a bug in CINT which in turn was triggered by an exception. Attach gdb and say "catch throw" to see where the exception occurs.

Cheers, Axel


On Jan 6, 2012, at 18:19, "Snyder, Arthur E." <snyder_at_slac.stanford.edu> wrote:

> Dear roottalk:
>
> Error: Symbol #include is not defined in current scope  (tmpfile):1:
> Error: Symbol exception is not defined in current scope  (tmpfile):1:
> Syntax Error: #include <exception> (tmpfile):1:
> Error: Symbol G__exception is not defined in current scope  (tmpfile):1:
> Error: type G__exception not defined FILE:(tmpfile) LINE:1
> (Long64_t)0
> *** Interpreter error recovered ***
> --what the hell is that?
>
>
>
> I get this while running a |selector| job that outputs a selected entries from the input TChain. It may be that it only occurs when I re-run in same root session. I'm testing that ... I do know that if I re-run the |selector| w/o restarting root after the crash occurs, it crashes again immediately rather than after some number of events have been processed.
>
>
>
> I haven't been able to find where |tmpfile| is, so far ...
>
>
>
> Does anybody know what causes this?
>
>
>
> -Art S.
>
>

Received on Fri Jan 06 2012 - 21:50:39 CET

This archive was generated by hypermail 2.2.0 : Mon Jan 09 2012 - 11:50:01 CET