Re: [ROOT] Prblem due to library link : the program does not start

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Mon Nov 25 2002 - 16:01:15 MET


Sylvie,

  what version of ROOT are you using? The problem, hang in
G__isenclosingclass(), has been solved a while ago.

-- Fons


On Mon, 2002-11-25 at 15:05, Sylvie Dagoret-Campagne wrote:
> Hello Root staff,
> 
> I am running a very simple program toto (build by cmt) which is linked with two different libraries written in Root. The program never enter in the main()
> function.
>  
> This programm is given as attached:
> 
> The gdb debugger gives the follwing info :
> 
> 
> 
> 
> Linux:/home/dagoret/AUGER/AUGERDPA/Workdir/SDSimAndCDASAna/v0r0/Linux-i686 % gdb toto.exe 19033
> GNU gdb 5.1.1
> 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-mandrake-linux"...
> /home/dagoret/AUGER/AUGERDPA/Workdir/SDSimAndCDASAna/v0r0/Linux-i686/19033: No such file or directory.
> Attaching to program: /home/dagoret/AUGER/AUGERDPA/Workdir/SDSimAndCDASAna/v0r0/Linux-i686/toto.exe, process 19033
> Reading symbols from /home/dagoret/AUGER/AUGERDPA/AugerSoftRelease/1.02/CDAS/EvIO/v1r4/Linux-i686/libIo.so...done.
> Loaded symbols for /home/dagoret/AUGER/AUGERDPA/AugerSoftRelease/1.02/CDAS/EvIO/v1r4/Linux-i686/libIo.so
> Reading symbols from /home/dagoret/AUGER/AUGERDPA/AugerSoftRelease/1.02/CDAS/Er/v1r2/Linux-i686/libEr.so...done.
> Loaded symbols for /home/dagoret/AUGER/AUGERDPA/AugerSoftRelease/1.02/CDAS/Er/v1r2/Linux-i686/libEr.so
> Reading symbols from /Raid/opt/.root_3_02_03/lib/libMinuit.so...done.
> Loaded symbols for /Raid/opt/.root_3_02_03/lib/libMinuit.so
> Reading symbols from /Raid/opt/.root_3_02_03/lib/libCore.so...done.
> Loaded symbols for /Raid/opt/.root_3_02_03/lib/libCore.so
> Reading symbols from /Raid/opt/.root_3_02_03/lib/libCint.so...done.
> Loaded symbols for /Raid/opt/.root_3_02_03/lib/libCint.so
> Reading symbols from /Raid/opt/.root_3_02_03/lib/libHist.so...done.
> Loaded symbols for /Raid/opt/.root_3_02_03/lib/libHist.so
> Reading symbols from /Raid/opt/.root_3_02_03/lib/libGraf.so...done.
> Loaded symbols for /Raid/opt/.root_3_02_03/lib/libGraf.so
> Reading symbols from /Raid/opt/.root_3_02_03/lib/libGraf3d.so...done.
> Loaded symbols for /Raid/opt/.root_3_02_03/lib/libGraf3d.so
> Reading symbols from /Raid/opt/.root_3_02_03/lib/libGpad.so...done.
> Loaded symbols for /Raid/opt/.root_3_02_03/lib/libGpad.so
> Reading symbols from /Raid/opt/.root_3_02_03/lib/libTree.so...done.
> Loaded symbols for /Raid/opt/.root_3_02_03/lib/libTree.so
> Reading symbols from /Raid/opt/.root_3_02_03/lib/libRint.so...done.
> Loaded symbols for /Raid/opt/.root_3_02_03/lib/libRint.so
> Reading symbols from /Raid/opt/.root_3_02_03/lib/libPostscript.so...done.
> Loaded symbols for /Raid/opt/.root_3_02_03/lib/libPostscript.so
> Reading symbols from /Raid/opt/.root_3_02_03/lib/libMatrix.so...done.
> Loaded symbols for /Raid/opt/.root_3_02_03/lib/libMatrix.so
> Reading symbols from /Raid/opt/.root_3_02_03/lib/libPhysics.so...done.
> Loaded symbols for /Raid/opt/.root_3_02_03/lib/libPhysics.so
> Reading symbols from /Raid/opt/.root_3_02_03/lib/libGui.so... done.
> Loaded symbols for /Raid/opt/.root_3_02_03/lib/libGui.so
> Reading symbols from /lib/libdl.so.2...done.
> Loaded symbols for /lib/libdl.so.2
> Reading symbols from /lib/libpthread.so.0...done.
> [New Thread 1024 (LWP 19033)]
> Loaded symbols for /lib/libpthread.so.0
> Reading symbols from /lib/libm.so.6...done.
> Loaded symbols for /lib/libm.so.6
> ---Type <return> to continue, or q <return> to quit---
> Reading symbols from /home/dagoret/AUGER/AUGERDPA/AugerSoftRelease/1.02/SDOld/SDSim/v0r11/Linux-i686/libShower.so...done.
> Loaded symbols for /home/dagoret/AUGER/AUGERDPA/AugerSoftRelease/1.02/SDOld/SDSim/v0r11/Linux-i686/libShower.so
> Reading symbols from /home/dagoret/AUGER/AUGERDPA/AugerSoftRelease/1.02/SDOld/SDSim/v0r11/Linux-i686/libShowerIO.so...done. Loaded symbols for /home/dagoret/AUGER/AUGERDPA/AugerSoftRelease/1.02/SDOld/SDSim/v0r11/Linux-i686/libShowerIO.so
> Reading symbols from /home/dagoret/AUGER/AUGERDPA/AugerSoftRelease/1.02/SDOld/SDSim/v0r11/Linux-i686/libUtils.so...done.
> Loaded symbols for /home/dagoret/AUGER/AUGERDPA/AugerSoftRelease/1.02/SDOld/SDSim/v0r11/Linux-i686/libUtils.so
> Reading symbols from /home/dagoret/AUGER/AUGERDPA/AugerSoftRelease/1.02/SDOld/SDSim/v0r11/Linux-i686/libDetector.so...done. Loaded symbols for /home/dagoret/AUGER/AUGERDPA/AugerSoftRelease/1.02/SDOld/SDSim/v0r11/Linux-i686/libDetector.so
> Reading symbols from /home/dagoret/AUGER/AUGERDPA/AugerSoftRelease/1.02/SDOld/SDSim/v0r11/Linux-i686/libParameters.so...
> done.
> Loaded symbols for /home/dagoret/AUGER/AUGERDPA/AugerSoftRelease/1.02/SDOld/SDSim/v0r11/Linux-i686/libParameters.so
> Reading symbols from /home/dagoret/AUGER/AUGERDPA/AugerSoftRelease/1.02/SDOld/SDSim/v0r11/Linux-i686/libData.so...done.
> Loaded symbols for /home/dagoret/AUGER/AUGERDPA/AugerSoftRelease/1.02/SDOld/SDSim/v0r11/Linux-i686/libData.so
> Reading symbols from /home/dagoret/AUGER/AUGERDPA/AugerSoftRelease/1.02/SDOld/SDSim/v0r11/Linux-i686/libEvent.so...done.
> Loaded symbols for /home/dagoret/AUGER/AUGERDPA/AugerSoftRelease/1.02/SDOld/SDSim/v0r11/Linux-i686/libEvent.so
> Reading symbols from /home/dagoret/AUGER/AUGERDPA/AugerSoftRelease/1.02/SDOld/SDSim/v0r11/Linux-i686/libSim.so...done.
> Loaded symbols for /home/dagoret/AUGER/AUGERDPA/AugerSoftRelease/1.02/SDOld/SDSim/v0r11/Linux-i686/libSim.so
> Reading symbols from /usr/lib/libstdc++-libc6.2-2.so.3...
> done.
> Loaded symbols for /usr/lib/libstdc++-libc6.2-2.so.3
> Reading symbols from /lib/libc.so.6...done.
> Loaded symbols for /lib/libc.so.6
> Reading symbols from /lib/ld-linux.so.2...done.
> Loaded symbols for /lib/ld-linux.so.2
> 0x405b4617 in G__isenclosingclass ()
>    from /Raid/opt/.root_3_02_03/lib/libCint.so
> (gdb) bt
> #0  0x405b4617 in G__isenclosingclass ()
>    from /Raid/opt/.root_3_02_03/lib/libCint.so
> #1  0x405b4b42 in G__defined_tagname ()
>    from /Raid/opt/.root_3_02_03/lib/libCint.so
> #2  0x405b4f66 in G__search_tagname ()
>    from /Raid/opt/.root_3_02_03/lib/libCint.so
> #3  0x40578c6f in G__get_linked_tagnum ()
>    from /Raid/opt/.root_3_02_03/lib/libCint.so
> #4  0x410762fa in G__cpp_setup_typetableEventDict ()
>     at ../src/EventDict.cc:1539
> #5  0x410793ef in G__cpp_setupEventDict ()
>     at ../src/EventDict.cc:2099
> #6  0x4056993a in G__call_setup_funcs ()
>    from /Raid/opt/.root_3_02_03/lib/libCint.so
> #7  0x4107edb3 in G__cpp_setup_initEventDict::G__cpp_setup_initEventDict (this=0x4108c0c5) at ../src/EventDict.cc:2112
> #8  0x41079a39 in __static_initialization_and_destruction_0 (
>     __initialize_p=1, __priority=65535)
>     at ../src/EVTSim_ROOT.h:2115
> #9  0x41079af5 in global constructors keyed to operator>> ()
>     at ../src/EVTSim_ROOT.h:102
> #10 0x4107bf95 in __do_global_ctors_aux ()
>     at /usr/include/g++-3/std/ldcomplex.h:74
> #11 0x4000ca21 in _dl_init (main_map=0x40015318, argc=1,
>     argv=0xbffff204, env=0xbffff20c) at dl-init.c:70
> (gdb)  
> 
> 
> Could you help me in understanding why the programs never start ?
> Best regards.
> 
> 			Sylvie
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:20 MET