Dear ROOTers,
since most recent changes in root,
my application crashes when it tries to use static method
TThread::Exists():
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff3c447f7 in ThreadInternalLock() () from
/usr/local/root/head/lib/libThread.so
(gdb) bt
#0 0x00007ffff3c447f7 in ThreadInternalLock() () from
/usr/local/root/head/lib/libThread.so
#1 0x00007ffff3c448e8 in TThread::Exists() () from
/usr/local/root/head/lib/libThread.so
#2 0x00007ffff2a1dd92 in TGo4LockGuard::TGo4LockGuard
(this=0x7ffffffe42a0, mutex=0xc91f90,
forcelock=false) at Go4LockGuard/TGo4LockGuard.cxx:44 #3 0x00007ffff2a2d175 in TGo4CommandProtoList::AddCommand (this=0xc9ca10, com=0xc9cbf0)
at Go4CommandsBase/TGo4CommandProtoList.cxx:111 #4 ....
Here I used revision 41804, gcc version 4.4.1. (x86_64) The same crash was encountered also on ubuntu 10.11 with gcc 4.6.1. (i686)
Probably this is due to some changes concerning the ROOT library linkage, which was introduced last week to cover problems with gcc 4.6.1? I guess that maybe some static objects are not yet initialized when ThreadInternalLock is executed.
Currently I can do some workaround in my code, but this may indicate some deeper problem in ROOT.
Best regards,
Joern
--Received on Tue Nov 08 2011 - 13:14:00 CET
/////////////////////////////////////////////////////////////////////
// Dr. J"orn Adamczewski-Musch (J.Adamczewski_at_gsi.de)
// GO4 project team / data processing group Tel: +49-6159-71-1337
// Experiment Electronics department (EE) FAX: +49-6159-71-2986
////////////////////////////////////////////////////////////////////
// GSI Helmholtzzentrum f"ur Schwerionenforschung GmbH
// Planckstraße 1
// D-64291 Darmstadt
// www.gsi.de
//
// Gesellschaft mit beschr"ankter Haftung
// Sitz der Gesellschaft: Darmstadt
// Handelsregister: Amtsgericht Darmstadt, HRB 1528
//
// Geschäftsf"uhrer:
// Professor Dr. Dr. h.c. mult. Horst St"ocker
// Peter Hassenbach, Dr. Hartmut Eickhoff
// Vorsitzende des Aufsichtsrates: Dr. Beatrix Vierkorn-Rudolph,
// Stellvertreter: Ministerialdirigent Dr. Rolf Bernhardt
This archive was generated by hypermail 2.2.0 : Tue Nov 08 2011 - 23:50:01 CET