RE: problem with ROOT version Version 4.01/05

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Tue, 04 Jan 2005 15:51:14 -0600


Hi,

Make sure that all the code depending on ROOT has been recompiled (including AliRoot).
If you still have the same problem, run using valgrind (see http://valgrind.kde.org) to have some better diagnostic. If this fails to give any usefull information, rebuild everything in debug mode and try again.

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of Aleksei I. Pavlinov
Sent: Tuesday, January 04, 2005 11:59 AM To: roottalk
Subject: [ROOT] problem with ROOT version Version 4.01/05

    Hi,

I have some problem with ROOT version 4.01/05 (it was rebuild today).

I used gcc 3.2

gcc -v
Reading specs from
/usr/local/pkg/gcc-3.2/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
Configured with: ./configure --prefix=/usr/local/pkg/gcc-3.2 --enable-shared --enable-threads=posix Thread model: posix gcc version 3.2

 and Redhat Linux

pdsflx008->uname -a
Linux pdsflx008 2.4.20-31psmp #1 SMP Fri Mar 26 15:57:12 PST 2004 i686 i686 i386 GNU/Linux.

After starting root.exe I immediately quit and got "Segmentation fault".

See below the output under gdb.
pdsflx008->gdb `which root.exe`
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux"... (gdb) run
Starting program:
/auto/common/alice/NewIO/AliRoot-v4-02-05/ROOT/4-01-04/root/bin/root.exe


FreeType Engine v2.1.3 used to render TrueType fonts. Compiled for linux with thread support.

CINT/ROOT C/C++ Interpreter version 5.15.156, Oct 20 2004 Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.

Welcome to the ROOT tutorials

Type ".x demos.C" to get a toolbar from which to execute the demos

Type ".x demoshelp.C" to see the help window

<I> ALICE : load Alice libraries and malias = 0 make: Nothing to be done for `0'.

<I>   N O  my A L I A S S E S
<I> Local Mode without STAR
<I> Pavlinov's Control Bar was started

root [0] .q

Program received signal SIGSEGV, Segmentation fault. 0x409bf605 in TFormula::~TFormula() ()

   from
/auto/common/alice/NewIO/AliRoot-v4-02-05/ROOT/4-01-04/root//lib/libHist.so
(gdb) where
#0 0x409bf605 in TFormula::~TFormula() ()

   from
/auto/common/alice/NewIO/AliRoot-v4-02-05/ROOT/4-01-04/root//lib/libHist.so
#1 0x409ae67c in TF1::~TF1() ()

   from
/auto/common/alice/NewIO/AliRoot-v4-02-05/ROOT/4-01-04/root//lib/libHist.so
#2 0x409b8432 in TF2::~TF2() ()

   from
/auto/common/alice/NewIO/AliRoot-v4-02-05/ROOT/4-01-04/root//lib/libHist.so
#3 0x43b045fc in __static_initialization_and_destruction_0 (__initialize_p=0,

    __priority=1135935112) at FASTSIM/AliFastGlauber.cxx:85 #4 0x43b0465e in _GLOBAL__D__ZN14AliFastGlauber6fgBMaxE ()

    at /usr/local/pkg/gcc-3.2/include/c++/3.2/streambuf:131 #5 0x43af48fb in __do_global_dtors_aux ()

   from
/auto/common/alice/NewIO/AliRoot-v4-02-05/new/lib/tgt_Linux/libFASTSIM.so
#6 0x43b384ad in _fini ()

   from
/auto/common/alice/NewIO/AliRoot-v4-02-05/new/lib/tgt_Linux/libFASTSIM.so

#7  0x4000b9a2 in _dl_init () from /lib/ld-linux.so.2
#8  0x4202ac52 in exit () from /lib/i686/libc.so.6
#9  0x4024275a in TUnixSystem::Exit(int, bool) ()

   from
/auto/common/alice/NewIO/AliRoot-v4-02-05/ROOT/4-01-04/root//lib/libCore.so
#10 0x4124b499 in TRint::Terminate(int) ()

   from
/auto/common/alice/NewIO/AliRoot-v4-02-05/ROOT/4-01-04/root//lib/libRint.so
#11 0x401099d5 in TApplication::ProcessLine(char const*, bool, int*) ()

   from
/auto/common/alice/NewIO/AliRoot-v4-02-05/ROOT/4-01-04/root//lib/libCore.so
#12 0x4124b26f in TRint::HandleTermInput() ()

   from
/auto/common/alice/NewIO/AliRoot-v4-02-05/ROOT/4-01-04/root//lib/libRint.so
#13 0x41249e9b in TTermInputHandler::Notify() ()

   from
/auto/common/alice/NewIO/AliRoot-v4-02-05/ROOT/4-01-04/root//lib/libRint.so
---Type <return> to continue, or q <return> to quit--- #14 0x4124bc36 in TTermInputHandler::ReadNotify() ()

   from
/auto/common/alice/NewIO/AliRoot-v4-02-05/ROOT/4-01-04/root//lib/libRint.so
#15 0x40241089 in TUnixSystem::CheckDescriptors() ()

   from
/auto/common/alice/NewIO/AliRoot-v4-02-05/ROOT/4-01-04/root//lib/libCore.so
#16 0x402405e5 in TUnixSystem::DispatchOneEvent(bool) ()

   from
/auto/common/alice/NewIO/AliRoot-v4-02-05/ROOT/4-01-04/root//lib/libCore.so
#17 0x40171a5c in TSystem::InnerLoop() ()

   from
/auto/common/alice/NewIO/AliRoot-v4-02-05/ROOT/4-01-04/root//lib/libCore.so
#18 0x401719f8 in TSystem::Run() ()

   from
/auto/common/alice/NewIO/AliRoot-v4-02-05/ROOT/4-01-04/root//lib/libCore.so
#19 0x4010a9c5 in TApplication::Run(bool) ()

   from
/auto/common/alice/NewIO/AliRoot-v4-02-05/ROOT/4-01-04/root//lib/libCore.so
#20 0x4124acf6 in TRint::Run(bool) ()

   from
/auto/common/alice/NewIO/AliRoot-v4-02-05/ROOT/4-01-04/root//lib/libRint.so
#21 0x080488f0 in main ()
#22 0x42015967 in __libc_start_main () from /lib/i686/libc.so.6 (gdb) q
The program is running. Exit anyway? (y or n) y

  Regards,
  Aleksei. Received on Tue Jan 04 2005 - 22:52:42 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:04 MET