TThread and ROOT-5.08 (fwd)

From: Diego Faso <faso_at_to.infn.it>
Date: Mon, 30 Jan 2006 13:07:39 +0100 (MET)

Hello, I'm using TThread with root-5.08 on the following machine setup:

Linux : Gentoo Base System version 1.12.0_pre13
gcc   : gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)
glibc : glibc-2.3.6-r2
kernel: 2.6.12-gentoo-r10; i686 Intel(R) Pentium(R) 4

You can find my root configuration in the attached file "config.status".

If I run the simple macro "TestConstructor.C" (see attachment) it runs without problems, but I get the following message while quitting root:

This problem does not occur with previous versions of root.

The same problem occurs with the following configuration:

Linux : Gentoo Base System version 1.12.0_pre15
gcc   : gcc version 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9)
glibc : glibc-2.3.6-r2
kernel: 2.6.15-gentoo-r1; i686 Intel(R) Pentium(R) 4

I will copy the complete output of the macro execution at the end of this e-mail.

Thank you for your support, cheers
Diego


localhost tests $ root TestConstructor.C++


FreeType Engine v2.1.9 used to render TrueType fonts. Compiled on 17 January 2006 for linux with thread support.

CINT/ROOT C/C++ Interpreter version 5.16.5, November 30 2005 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. root [0]
Processing TestConstructor.C++...
Info in <TUnixSystem::ACLiC>: creating shared library /home/finuda/sftw_test/TThread/tests/./TestConstructor _C.so

     Thread                   State

  1 my_thread_1:0xffffffff Idle
Execution should be in progress
     Thread                   State
  1  my_thread_1:0x4002       Running

Hello from thread 1
clean_push_ret = 0
Custom cleanup (999) called
clean_pop_ret = 0
I'm thread 1: i = 0
I'm thread 1: i = 1
I'm thread 1: i = 2
I'm thread 1: i = 3
I'm thread 1: i = 4
I'm thread 1: i = 5
I'm thread 1: i = 6
I'm thread 1: i = 7
I'm thread 1: i = 8
I'm thread 1: i = 9
I'm thread 1: i = 10
I'm thread 1: i = 11
I'm thread 1: i = 12
I'm thread 1: i = 13
I'm thread 1: i = 14
I'm thread 1: i = 15
I'm thread 1: i = 16
I'm thread 1: i = 17
I'm thread 1: i = 18
I'm thread 1: i = 19
I'm thread 1: i = 20
I'm thread 1: i = 21
I'm thread 1: i = 22
I'm thread 1: i = 23
I'm thread 1: i = 24
I'm thread 1: i = 25
I'm thread 1: i = 26
I'm thread 1: i = 27
I'm thread 1: i = 28
I'm thread 1: i = 29
Bye bye from thread 1
     Thread                   State
  1  my_thread_1:0x4002       Canceled
Now cleaning
     Thread                   State
  1  my_thread_1:0x4002       Canceled

Now deleting
Bye bye...
root [1] .q
*** glibc detected *** double free or corruption (out): 0x406e2bc8 ***

Received on Mon Jan 30 2006 - 13:07:28 MET

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:57 MET