ROOT 5.99/05: crashes on TBrowser / TCanvas closure

Dear all,

I just compiled ROOT 5.99/05 on a brand new machine. I had the same release on another machine, and it worked just fine.
Now, I get errors of this kind:

elena@carbon:~/root/test$ root -l root [0] TCanvas s (class TCanvas) @0x7faba9ddb030 root [1] *** Error in `/home/elena/root/bin/root.exe': double free or corruption (out): 0x00007faba9ddb030 *** elena@carbon:~/root/test$ root -l root [0] TBrowser r (class TBrowser) @0x7f2289a2e030 root [1] *** Error in `/home/elena/root/bin/root.exe': double free or corruption (out): 0x00007f2289a2e030 ***

(These errors happen when I close the canvas/browser, and they cause ROOT to exit. They do not seem to happen in PyROOT.)
For the moment I would like to run this specific version of ROOT (Pythia compatibility…).
I have no clue of what is causing this. Maybe a glitch in the compilation process. Any suggestion?

My gcc:

elena@carbon:~/root/test$ gcc --version gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2

To save some time I already ran some stress tests from $ROOTSYS/test/. The general one outputs:

[code]******************************************************************

  • Starting R O O T - S T R E S S test suite with 1000 events

Test 1 : Functions, Random Numbers, Histogram Fits… OK
Test 2 : Check size & compression factor of a Root file… OK
Test 3 : Purge, Reuse of gaps in TFile… OK
Test 4 : Test of 2-d histograms, functions, 2-d fits… OK
Test 5 : Test graphics & Postscript… OK
Test 6 : Test subdirectories in a Root file… OK
Test 7 : TNtuple, selections, TCut, TCutG, TEventList… OK
Test 8 : Trees split and compression modes… OK
Test 9 : Analyze Event.root file of stress 8… OK
Test 10 : Create 10 files starting from Event.root… OK
Test 11 : Test chains of Trees using the 10 files… OK
Test 12 : Compare histograms of test 9 and 11… OK
Test 13 : Test merging files of a chain… OK
Test 14 : Check correct rebuilt of Event.root in test 13… OK
Test 15 : Divert Tree branches to separate files… OK
Test 16 : CINT test (3 nested loops) with LHCb trigger… OK


  • SYS: Linux carbon 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:
  • SYS: Ubuntu 14.04 LTS

stress : Total I/O = 552.7 Mbytes, I = 404.5, O = 148.2
stress : Compr I/O = 381.1 Mbytes, I = 276.6, O = 104.5
stress : Real Time = 18.15 seconds Cpu Time = 17.50 seconds


  • ROOTMARKS =2121.6 * Root5.99/05 20140207/2253

[/code]

All the other ones I ran gave positive results, apart from testGraphics:

[code]elena@carbon:~/root/test$ ./stressGraphics


  • Starting Graphics - S T R E S S suite *

  • Starting Basic Graphics - S T R E S S *

Test 1: TLine… OK
PDF output… OK
GIF output… OK
JPG output… OK
PNG output… OK
C file result… OK
Test 2: TMarker… OK
PDF output… OK
GIF output… OK
JPG output… OK
PNG output… OK
In file included from input_line_191:1:
/home/elena/root/test/./sg01.C:1:6: error: redefinition of 'sg01’
void sg01()
^
/home/elena/root/test/./sg01.C:1:6: note: previous definition is here
void sg01()
^

===========================================================
There was a crash.
This is the entire stack trace of all threads:

#0 0x00007f607c52b98c in __libc_waitpid (pid=6035, stat_loc=stat_loc
entry=0x7ffffa294f00, options=options
entry=0) at …/sysdeps/unix/sysv/linux/waitpid.c:31
#1 0x00007f607c4b0592 in do_system (line=) at …/sysdeps/posix/system.c:148
#2 0x00007f607e7fa593 in TUnixSystem::StackTrace() () from /home/elena/root/lib/libCore.so
#3 0x00007f607e7fce8c in TUnixSystem::DispatchSignals(ESignals) () from /home/elena/root/lib/libCore.so
#4
#5 0x0000000000407839 in TestReport2(int) ()
#6 0x0000000000408067 in tmarker() ()
#7 0x0000000000415e6e in stressGraphics(int) ()
#8 0x00000000004062f4 in main ()

The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.

#5 0x0000000000407839 in TestReport2(int) ()
#6 0x0000000000408067 in tmarker() ()
#7 0x0000000000415e6e in stressGraphics(int) ()
#8 0x00000000004062f4 in main ()

[/code]