Creating a TBrowser with root 6.00/00


I found a bug concerning the use of the TBrowser class.
Using root 6.00/00 in interactive mode, when doing:

> root -l
root [0] TBrowser s;

if I then close the TBrowser (by clicking on the cross in the upper left corner), root crashes, the first output lines being:

root [1] *** glibc detected *** /AtlasDisk/home/tpelzer/Software/root/root_v6.00.00/bin/root.exe: double free or corruption (out): 0x00002ab255e350b0 ***
======= Backtrace: =========
======= Memory map: ========
00400000-00402000 r-xp 00000000 00:1a 19047311                           /AtlasDisk/home/tpelzer/Software/root/root_v6.00.00/bin/root.exe
00601000-00602000 rw-p 00001000 00:1a 19047311                           /AtlasDisk/home/tpelzer/Software/root/root_v6.00.00/bin/root.exe
1719b000-1961d000 rw-p 1719b000 00:00 0                                  [heap]
3b05200000-3b0521c000 r-xp 00000000 08:07 1441838                        /lib64/

However, if I use the new operator:

> root -l
root [0] new TBrowser;

then closing the TBrowser the same way does not causes any crash.


I just tried on MacOSX 10.9. And I do not see this problem.
Which platform are you using ?


I’m using it on linux, more specifically the 6.00.00-x86_64-slc6-gcc48-opt version available from lxplus:

source /afs/ source /cvmfs/

EDIT: The second line can be replaced by the non-ATLAS-specific:



It’s a problem with the GUI vs deletion of a static; Bertrand is looking into it.



This has been fixed in git. Thanks for the report, and sorry for the trouble…

Cheers, Bertrand.