RE: ROOT 5.32.02 segs fault on quit

From: Bertrand Bellenot <Bertrand.Bellenot_at_cern.ch>
Date: Mon, 2 Apr 2012 13:40:56 +0000


Hi,

Interesting enough, it doesn't crash anymore if those options are not passed to the configure script: --with-cint-maxstruct=36000 --with-cint-maxtypedef=36000 --with-cint-longline=4096

Thanks Axel for suggesting it!
Then I'll investigate which one is actually the real responsible of the crash. Stay tuned...

Cheers, Bertrand.

-----Original Message-----
From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch] On Behalf Of Paul Seyfert Sent: 30 March 2012 14:43
To: Christopher Rob Jones
Cc: roottalk (Mailing list discussing all aspects of the ROOT system.) Subject: Re: [ROOT] ROOT 5.32.02 segs fault on quit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

for the record
1. I could reproduce the crash with self compiled 5.30/04 2. The crash can either be avoided by instantiation without new: pseyfert_at_robusta ~$ root


ROOT 5.30/04 (tags/v5-30-04_at_41803, Jan 02 2012, 16:06:00 on linuxx8664gcc)

CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. root [0] TBrowser b
root [1] .q
pseyfert_at_robusta ~$

or by deleting the browser before quitting:

pseyfert_at_robusta ~$ root


ROOT 5.30/04 (tags/v5-30-04_at_41803, Jan 02 2012, 16:06:00 on linuxx8664gcc)

CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }.

root [0] TBrowser* b = new TBrowser()
root [1] delete b
root [2] .q

pseyfert_at_robusta ~$

I also saw that root segfaults when I quit it after running some bad coding practice macros where other objects were instantiated but not deleted.

Cheers,
Paul

Am 30.03.2012 14:18, schrieb Chris Jones:

> Hi,
> 
> I'm running the LCG version of ROOT 5.32.02.
> 
> I've noticed if I just start root, start a TBrowser and then immediately
> quit, root always seg. faults.
> 
> pciy ~ > which root
> /afs/cern.ch/sw/lcg/app/releases/ROOT/5.32.02/x86_64-slc5-gcc43-opt/root/bin/root
> 
> pciy ~ > root
>   *******************************************
>   *                                         *
>   *        W E L C O M E  to  R O O T       *
>   *                                         *
>   *   Version   5.32/02     27 March 2012   *
>   *                                         *
>   *  You are welcome to visit our Web site  *
>   *          http://root.cern.ch            *
>   *                                         *
>   *******************************************
> 
> ROOT 5.32/02 (tags/v5-32-02_at_43514, Mar 27 2012, 22:51:10 on linuxx8664gcc)
> 
> CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010
> Type ? for help. Commands must be C++ statements.
> Enclose multiple statements between { }.
> root [0] new TBrowser();
> root [1] .q
> 
>  *** Break *** segmentation violation
> 
> It just hangs there. Eventually I have to kill it by hand.
> 
> The same thing happens with the LHCb ROOT installation under
> /cvmfs/lhcb.cern.ch
> 
> cheers Chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk91ql0ACgkQdGqNeuUiugCTugCfRCMKLaDLDnV5Q5S3I+l8qmLz F3AAn3w1ruBAWLLvVQWmQEqv12h7AiUb
=/38B
-----END PGP SIGNATURE----- Received on Mon Apr 02 2012 - 15:41:03 CEST

This archive was generated by hypermail 2.2.0 : Mon Apr 02 2012 - 17:50:02 CEST