Are you linking your application with libNew.so ? If yes, could you relink without this library and let me know the result ? Rene Brun Dr. John R. M. Annand wrote: > > Hello Rooters, > I'm using Geant-4.3.0 for simulating experiments > and have grafted > on ROOT in order to save the simulated events in a TTree/TFile. Its a > very preliminary implementation, but works well enough except that when > the code exits it dumps core after a segmentation error associated with > a call to malloc. At the moment this is only an irritation as prior to > the error the ROOT file has been closed > properly....as has the G4 user interface. However I worry that this may > be a symptom of more dire problems to come as the G4-Root interface is > developed. > > Does anyone have experience of G4+ROOT use? > > I'm running on RedHat 6.2 (egcs 1.1.2). G4.3.0 is build with shared > libraries. The > ROOT libraries are version 2.25.03. Core file analysis gives.... > Program terminated with signal 11, Segmentation fault. > where... > #0 0x419530b6 in chunk_free (ar_ptr=0x419e7d40, p=0x808fba8) at > malloc.c:3097 > #1 0x41952f9a in __libc_free (mem=0x808fbb8) at malloc.c:3023 > #2 0x4004fd00 in G4Allocator<ModBBSciEFBHit>::~G4Allocator () > from /home/jrma/cern/geant4/lib/Linux-g++/libModBB.so > #3 0x40047741 in global destructors keyed to > ModBBSciEFBHit::ModBBSciEFBHit () > from /home/jrma/cern/geant4/lib/Linux-g++/libModBB.so > #4 0x40029eed in __do_global_dtors_aux () > from /home/jrma/cern/geant4/lib/Linux-g++/libModBB.so > #5 0x40054ce1 in ?? () from > /home/jrma/cern/geant4/lib/Linux-g++/libModBB.so > #6 0x4000af36 in _dl_fini () at dl-fini.c:40 > #7 0x4191a23a in exit (status=0) at exit.c:57 > #8 0x419119d1 in __libc_start_main () at > ../sysdeps/generic/libc-start.c:92 > > Cheers, John > > -- > Dr. John R.M. Annand, Physics & Astronomy, > University of Glasgow, GLASGOW G12 8QQ, Scotland. > Tel. +44 141 330 6428, Fax. +44 141 330 5889 > Email: j.annand@physics.gla.ac.uk
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:34 MET