GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » *** glibc detected *** double free or corruption (out): 0x0a0c66f0 ***
*** glibc detected *** double free or corruption (out): 0x0a0c66f0 *** [message #9664] Wed, 04 November 2009 12:11 Go to next message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *kph.uni-mainz.de
Dear all, i'm working with the gsi installation
my svn info is
Repository Root: https://subversion.gsi.de/fairroot
Repository UUID: 0381ead4-6506-0410-b988-94b70fbc4730
Revision: 6816
Node Kind: directory
Schedule: normal
Last Changed Author: asanchez
Last Changed Rev: 5515
Last Changed Date: 2009-05-14 09:54:54 +0200 (Do, 14 Mai 2009)

after running the MC simulation macro at macro/hyp/sim_pid.C
i get the following message at the end of the run:
actually by quitting root, (please see below)
any idea???

root [1] .q
*** glibc detected *** double free or corruption (out): 0x0a0c66f0 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread -1229629760 (LWP 25967)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb6bad811 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb6baefb9 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb6be2dfa in __fsetlocking () from /lib/tls/i686/cmov/libc.so.6
#4 0xb6bea68f in mallopt () from /lib/tls/i686/cmov/libc.so.6
#5 0xb6bea732 in free () from /lib/tls/i686/cmov/libc.so.6
#6 0xb6da73b1 in operator delete () from /usr/lib/libstdc++.so.6
#7 0xaff8fbfa in ~G4PhotoNuclearCrossSection (this=0xa0c66f0) at src/G4PhotoNuclearCrossSection.cc:77
#8 0xaff68f94 in G4CrossSectionDataSetRegistry::Clean (this=0xafff43e8) at src/G4CrossSectionDataSetRegistry.cc:71
#9 0xaff692c6 in ~G4CrossSectionDataSetRegistry (this=0xafff43e8) at src/G4CrossSectionDataSetRegistry.cc:63
#10 0xaff6932c in __tcf_0 () at src/G4CrossSectionDataSetRegistry.cc:50
#11 0xb6bb03b0 in exit () from /lib/tls/i686/cmov/libc.so.6
#12 0xb79e6306 in TUnixSystem::Exit (this=0x80ea5d8, code=0, mode=true) at core/unix/src/TUnixSystem.cxx:1993
#13 0xb6e0bd27 in TRint::Terminate (this=0x8118518, status=0) at core/rint/src/TRint.cxx:598
#14 0xb78ca706 in TApplication::ProcessLine (this=0x8118518, line=0xb5a3a78 ".q", sync=false, err=0x0)
at core/base/src/TApplication.cxx:735
#15 0xb6e0c100 in TRint::HandleTermInput (this=0x8118518) at core/rint/src/TRint.cxx:527
#16 0xb6e0b93e in TTermInputHandler::Notify (this=0x8361e30) at core/rint/src/TRint.cxx:123
#17 0xb6e0eb1a in TTermInputHandler::ReadNotify (this=0x8361e30) at core/rint/src/TRint.cxx:115
#18 0xb79e7bb1 in TUnixSystem::CheckDescriptors (this=0x80ea5d8) at core/unix/src/TUnixSystem.cxx:1202
#19 0xb79e8332 in TUnixSystem::DispatchOneEvent (this=0x80ea5d8, pendingOnly=false) at core/unix/src/TUnixSystem.cxx:909
#20 0xb793d769 in TSystem::InnerLoop (this=0x80ea5d8) at core/base/src/TSystem.cxx:392
#21 0xb794b8a0 in TSystem::Run (this=0x80ea5d8) at core/base/src/TSystem.cxx:342
#22 0xb78c6af0 in TApplication::Run (this=0x8118518, retrn=false) at core/base/src/TApplication.cxx:972
#23 0xb6e0d137 in TRint::Run (this=0x8118518, retrn=false) at core/rint/src/TRint.cxx:399
#24 0x08048e09 in main (argc=1, argv=0xbfdfe844) at main/src/rmain.cxx:29
(gdb) q


Only as information after setting config.sh

lxi010:build>. config.sh
System during compilation: Debian GNU/Linux 4.0 n l
i686
System now : Debian GNU/Linux 4.0 n l
i686
On this machine the G4SYSTEM=Linux-g++
On this machine the G4INSTALL=/misc/cbmsoft/Etch32/jul09/fairsoft/transport/geant4
On this machine the G4INCLUDE=/misc/cbmsoft/Etch32/jul09/fairsoft/transport/geant4/include/
On this machine the G4LIB=/misc/cbmsoft/Etch32/jul09/fairsoft/transport/geant4/lib
On this machine the G4LEVELGAMMADATA=/misc/cbmsoft/Etch32/jul09/fairsoft/transport/data/gean t4/PhotonEvaporation
On this machine the G4RADIOACTIVEDATA=/misc/cbmsoft/Etch32/jul09/fairsoft/transport/data/gea nt4/RadioactiveDecay
On this machine the G4LEDATA=/misc/cbmsoft/Etch32/jul09/fairsoft/transport/data/geant4/G4EML OW
On this machine the NeutronHPCrossSections=/misc/cbmsoft/Etch32/jul09/fairsoft/transport/dat a/geant4/G4NDL
On this machine the G4ELASTICDATA=/misc/cbmsoft/Etch32/jul09/fairsoft/transport/data/geant4/ G4ELASTIC
On this machine the G4ABLADATA=/misc/cbmsoft/Etch32/jul09/fairsoft/transport/data/geant4/G4A BLA
On this machine the CLHEP_BASE_DIR=/misc/cbmsoft/Etch32/jul09/fairsoft/cern/clhep
On this machine the CLHEP_INCLUDE_DIR=/misc/cbmsoft/Etch32/jul09/fairsoft/cern/clhep/include
On this machine the CLHEP_LIB_DIR=/misc/cbmsoft/Etch32/jul09/fairsoft/cern/clhep/lib
On this machine the CLHEP_LIB=CLHEP
On this machine the G4DEBUG=1
On this machine the G4VIS_BUILD_RAYTRACERX_DRIVER=1
On this machine the G4VIS_USE_RAYTRACERX=1
On this machine the G4VIS_USE_VRML=1
On this machine the G4LIB_BUILD_G3TOG4=1
On this machine the G4LIB_USE_G3TOG4=1
On this machine the G4LIB_BUILD_ZLIB=1
On this machine the G4LIB_USE_ZLIB=1
On this machine the G4LIB_BUILD_SHARED=1
On this machine the G4LIB_USE_GRANULAR=1
On this machine the G4UI_USE_TCSH=1
In your environment you have the G4WORKDIR=/misc/cbmsoft/Etch32/jul09/fairsoft/transport/geant4



Re: *** glibc detected *** double free or corruption (out): 0x0a0c66f0 *** [message #9665 is a reply to message #9664] Wed, 04 November 2009 12:16 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hi,
this problem should come from the new geant4 version of the july09 external packages.
Re: *** glibc detected *** double free or corruption (out): 0x0a0c66f0 *** [message #9666 is a reply to message #9665] Wed, 04 November 2009 12:22 Go to previous messageGo to next message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *kph.uni-mainz.de
Yes, thanks for the information, but is there any solution for that?
the point is that when I send some jobs to gsi batch farm,
i get as a ticket "worked exited" instead of "work done", and i'm afraid that it can lead to break segmentations in some cases.

Can Mohammad tell anything to this respect?

thanks a lot.

ALicia S.
Re: *** glibc detected *** double free or corruption (out): 0x0a0c66f0 *** [message #9670 is a reply to message #9666] Wed, 04 November 2009 14:56 Go to previous messageGo to next message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *gsi.de
Hi,

this is a problem in VMC/G4, I already reproduce this in the examples of the VMC, the solution is to add a delete in the dtor of TG4HadronPhysicsList. Anyway I took the chance also to clean a little in our code so at the GSI I will modify this and you can update to the newest SVN.

regards

Mohammad
Re: *** glibc detected *** double free or corruption (out): 0x0a0c66f0 *** [message #9671 is a reply to message #9670] Wed, 04 November 2009 15:25 Go to previous messageGo to next message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *kph.uni-mainz.de
Hi
thank you very much,
best regards
alicia.
Re: *** glibc detected *** double free or corruption (out): 0x0a0c66f0 *** [message #9673 is a reply to message #9671] Wed, 04 November 2009 16:00 Go to previous messageGo to next message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *gsi.de
Hi again,

On the GSI cluster it is corrected now for Etch32 and 64, you have also to add delete fRun in your macro before exit(0).

regards

Mohammad
Re: *** glibc detected *** double free or corruption (out): 0x0a0c66f0 *** [message #9675 is a reply to message #9673] Wed, 04 November 2009 16:25 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Ehm,
and if we want to updated your external packages in our local farm, what should we do? Should svn update be enough?
Re: *** glibc detected *** double free or corruption (out): 0x0a0c66f0 *** [message #9676 is a reply to message #9675] Wed, 04 November 2009 16:33 Go to previous messageGo to next message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *gsi.de
Hi,

I am waiting for an answer from Ivana, and according to what she will do we can change it in our SVN (External packages) or create a batch. but if you need this immediately, it is only one file:

$SIMPATH/transport/geant4_vmc/source/physics_list/src/TG4HadronPhysicsLi st.cxx

in the dtor add:

delete fPhysicsList;


and then go back to $SIMPATH/transport/geant4_vmc/source and call make (the enviroment should have been set before this simply by calling your build_panda/config.sh)


regards

Mohammad
Re: *** glibc detected *** double free or corruption (out): 0x0a0c66f0 *** [message #9677 is a reply to message #9676] Wed, 04 November 2009 16:36 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Thanks.
Re: *** glibc detected *** double free or corruption (out): 0x0a0c66f0 *** [message #10531 is a reply to message #9664] Wed, 14 April 2010 16:33 Go to previous messageGo to next message
Vanniarajan Suyam Jothi is currently offline  Vanniarajan Suyam Jothi
Messages: 35
Registered: October 2007
Location: Groningen
continuous participant

From: *KVI.nl
Hi,
I wanted to use the physics list emStandard+optical.
I get the similar error

** glibc detected *** /home/vanni/fairJan10/tools/root/bin/root.exe: double free or corruption (!prev): 0x091b8eb8 ***

while accessing the data from the simulation.
I am not sure, if it has to do with same Error in the VMC. Can anybody help me?

Regards,
Vanni

[Updated on: Wed, 14 April 2010 16:42]

Report message to a moderator

Re: *** glibc detected *** double free or corruption (out): 0x0a0c66f0 *** [message #10532 is a reply to message #10531] Wed, 14 April 2010 17:04 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
This error appears with g4 and it last since several months.
If I remember well, it should be correlated to Geant4 classes/VMC, and not to our code, but I am not an expert about.
Previous Topic: Failed to load libMVD.so
Next Topic: Bug in PndEmcHitProducer
Goto Forum:
  


Current Time: Sat Oct 12 04:50:06 CEST 2024

Total time taken to generate the page: 0.00837 seconds