Open mirguest opened 11 years ago
应该是process有问题。
==12863== Invalid read of size 1
==12863== at 0x912C6A1: G4ExcitationHandler::~G4ExcitationHandler() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9487C08: G4PreCompoundModel::~G4PreCompoundModel() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393610: G4HadronicInteractionRegistry::Clean() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393795: G4HadronicInteractionRegistry::~G4HadronicInteractionRegistry() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x38B86333A4: exit (in /lib64/libc-2.5.so)
==12863== by 0x38B861D99A: (below main) (in /lib64/libc-2.5.so)
==12863== Address 0x171cf49d is 77 bytes inside a block of size 80 free'd
==12863== at 0x4A05743: operator delete(void*) (vg_replace_malloc.c:346)
==12863== by 0x9487C10: G4PreCompoundModel::~G4PreCompoundModel() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393610: G4HadronicInteractionRegistry::Clean() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393795: G4HadronicInteractionRegistry::~G4HadronicInteractionRegistry() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x38B86333A4: exit (in /lib64/libc-2.5.so)
==12863== by 0x38B861D99A: (below main) (in /lib64/libc-2.5.so)
==12863==
==12863== Invalid read of size 8
==12863== at 0x912C6B8: G4ExcitationHandler::~G4ExcitationHandler() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9487C08: G4PreCompoundModel::~G4PreCompoundModel() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393610: G4HadronicInteractionRegistry::Clean() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393795: G4HadronicInteractionRegistry::~G4HadronicInteractionRegistry() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x38B86333A4: exit (in /lib64/libc-2.5.so)
==12863== by 0x38B861D99A: (below main) (in /lib64/libc-2.5.so)
==12863== Address 0x171cf458 is 8 bytes inside a block of size 80 free'd
==12863== at 0x4A05743: operator delete(void*) (vg_replace_malloc.c:346)
==12863== by 0x9487C10: G4PreCompoundModel::~G4PreCompoundModel() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393610: G4HadronicInteractionRegistry::Clean() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393795: G4HadronicInteractionRegistry::~G4HadronicInteractionRegistry() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x38B86333A4: exit (in /lib64/libc-2.5.so)
==12863== by 0x38B861D99A: (below main) (in /lib64/libc-2.5.so)
==12863==
==12863== Invalid read of size 8
==12863== at 0x912C6C1: G4ExcitationHandler::~G4ExcitationHandler() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9487C08: G4PreCompoundModel::~G4PreCompoundModel() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393610: G4HadronicInteractionRegistry::Clean() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393795: G4HadronicInteractionRegistry::~G4HadronicInteractionRegistry() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x38B86333A4: exit (in /lib64/libc-2.5.so)
==12863== by 0x38B861D99A: (below main) (in /lib64/libc-2.5.so)
==12863== Address 0x1748d250 is 0 bytes inside a block of size 16 free'd
==12863== at 0x4A05743: operator delete(void*) (vg_replace_malloc.c:346)
==12863== by 0x912C6C6: G4ExcitationHandler::~G4ExcitationHandler() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9487C08: G4PreCompoundModel::~G4PreCompoundModel() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393610: G4HadronicInteractionRegistry::Clean() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393795: G4HadronicInteractionRegistry::~G4HadronicInteractionRegistry() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x38B86333A4: exit (in /lib64/libc-2.5.so)
==12863== by 0x38B861D99A: (below main) (in /lib64/libc-2.5.so)
==12863==
==12863== Invalid write of size 8
==12863== at 0x9143C4B: G4VMultiFragmentation::~G4VMultiFragmentation() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x912C6C6: G4ExcitationHandler::~G4ExcitationHandler() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9487C08: G4PreCompoundModel::~G4PreCompoundModel() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393610: G4HadronicInteractionRegistry::Clean() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393795: G4HadronicInteractionRegistry::~G4HadronicInteractionRegistry() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x38B86333A4: exit (in /lib64/libc-2.5.so)
==12863== by 0x38B861D99A: (below main) (in /lib64/libc-2.5.so)
==12863== Address 0x1748d250 is 0 bytes inside a block of size 16 free'd
==12863== at 0x4A05743: operator delete(void*) (vg_replace_malloc.c:346)
==12863== by 0x912C6C6: G4ExcitationHandler::~G4ExcitationHandler() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9487C08: G4PreCompoundModel::~G4PreCompoundModel() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393610: G4HadronicInteractionRegistry::Clean() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393795: G4HadronicInteractionRegistry::~G4HadronicInteractionRegistry() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x38B86333A4: exit (in /lib64/libc-2.5.so)
==12863== by 0x38B861D99A: (below main) (in /lib64/libc-2.5.so)
==12863==
==12863== Invalid free() / delete / delete[]
==12863== at 0x4A05743: operator delete(void*) (vg_replace_malloc.c:346)
==12863== by 0x912C6C6: G4ExcitationHandler::~G4ExcitationHandler() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9487C08: G4PreCompoundModel::~G4PreCompoundModel() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393610: G4HadronicInteractionRegistry::Clean() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393795: G4HadronicInteractionRegistry::~G4HadronicInteractionRegistry() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x38B86333A4: exit (in /lib64/libc-2.5.so)
==12863== by 0x38B861D99A: (below main) (in /lib64/libc-2.5.so)
==12863== Address 0x1748d250 is 0 bytes inside a block of size 16 free'd
==12863== at 0x4A05743: operator delete(void*) (vg_replace_malloc.c:346)
==12863== by 0x912C6C6: G4ExcitationHandler::~G4ExcitationHandler() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9487C08: G4PreCompoundModel::~G4PreCompoundModel() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393610: G4HadronicInteractionRegistry::Clean() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393795: G4HadronicInteractionRegistry::~G4HadronicInteractionRegistry() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x38B86333A4: exit (in /lib64/libc-2.5.so)
==12863== by 0x38B861D99A: (below main) (in /lib64/libc-2.5.so)
==12863==
==12863== Invalid read of size 8
==12863== at 0x912C6C7: G4ExcitationHandler::~G4ExcitationHandler() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9487C08: G4PreCompoundModel::~G4PreCompoundModel() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393610: G4HadronicInteractionRegistry::Clean() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393795: G4HadronicInteractionRegistry::~G4HadronicInteractionRegistry() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x38B86333A4: exit (in /lib64/libc-2.5.so)
==12863== by 0x38B861D99A: (below main) (in /lib64/libc-2.5.so)
==12863== Address 0x171cf460 is 16 bytes inside a block of size 80 free'd
==12863== at 0x4A05743: operator delete(void*) (vg_replace_malloc.c:346)
==12863== by 0x9487C10: G4PreCompoundModel::~G4PreCompoundModel() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393610: G4HadronicInteractionRegistry::Clean() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393795: G4HadronicInteractionRegistry::~G4HadronicInteractionRegistry() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x38B86333A4: exit (in /lib64/libc-2.5.so)
==12863== by 0x38B861D99A: (below main) (in /lib64/libc-2.5.so)
==12863==
==12863== Invalid read of size 8
==12863== at 0x912C6D0: G4ExcitationHandler::~G4ExcitationHandler() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9487C08: G4PreCompoundModel::~G4PreCompoundModel() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393610: G4HadronicInteractionRegistry::Clean() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393795: G4HadronicInteractionRegistry::~G4HadronicInteractionRegistry() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x38B86333A4: exit (in /lib64/libc-2.5.so)
==12863== by 0x38B861D99A: (below main) (in /lib64/libc-2.5.so)
==12863== Address 0x1624bdb0 is 0 bytes inside a block of size 80 free'd
==12863== at 0x4A05743: operator delete(void*) (vg_replace_malloc.c:346)
==12863== by 0x9487C08: G4PreCompoundModel::~G4PreCompoundModel() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393610: G4HadronicInteractionRegistry::Clean() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393795: G4HadronicInteractionRegistry::~G4HadronicInteractionRegistry() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x38B86333A4: exit (in /lib64/libc-2.5.so)
==12863== by 0x38B861D99A: (below main) (in /lib64/libc-2.5.so)
==12863==
==12863== Invalid write of size 8
==12863== at 0x906BBDB: G4VFermiBreakUp::~G4VFermiBreakUp() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9487C08: G4PreCompoundModel::~G4PreCompoundModel() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393610: G4HadronicInteractionRegistry::Clean() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393795: G4HadronicInteractionRegistry::~G4HadronicInteractionRegistry() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x38B86333A4: exit (in /lib64/libc-2.5.so)
==12863== by 0x38B861D99A: (below main) (in /lib64/libc-2.5.so)
==12863== Address 0x1624bdb0 is 0 bytes inside a block of size 80 free'd
==12863== at 0x4A05743: operator delete(void*) (vg_replace_malloc.c:346)
==12863== by 0x9487C08: G4PreCompoundModel::~G4PreCompoundModel() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393610: G4HadronicInteractionRegistry::Clean() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393795: G4HadronicInteractionRegistry::~G4HadronicInteractionRegistry() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x38B86333A4: exit (in /lib64/libc-2.5.so)
==12863== by 0x38B861D99A: (below main) (in /lib64/libc-2.5.so)
==12863==
==12863== Invalid free() / delete / delete[]
==12863== at 0x4A05743: operator delete(void*) (vg_replace_malloc.c:346)
==12863== by 0x9487C08: G4PreCompoundModel::~G4PreCompoundModel() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393610: G4HadronicInteractionRegistry::Clean() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393795: G4HadronicInteractionRegistry::~G4HadronicInteractionRegistry() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x38B86333A4: exit (in /lib64/libc-2.5.so)
==12863== by 0x38B861D99A: (below main) (in /lib64/libc-2.5.so)
==12863== Address 0x1624bdb0 is 0 bytes inside a block of size 80 free'd
==12863== at 0x4A05743: operator delete(void*) (vg_replace_malloc.c:346)
==12863== by 0x9487C08: G4PreCompoundModel::~G4PreCompoundModel() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393610: G4HadronicInteractionRegistry::Clean() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393795: G4HadronicInteractionRegistry::~G4HadronicInteractionRegistry() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x38B86333A4: exit (in /lib64/libc-2.5.so)
==12863== by 0x38B861D99A: (below main) (in /lib64/libc-2.5.so)
==12863==
==12863== Invalid free() / delete / delete[]
==12863== at 0x4A05743: operator delete(void*) (vg_replace_malloc.c:346)
==12863== by 0x9487C10: G4PreCompoundModel::~G4PreCompoundModel() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393610: G4HadronicInteractionRegistry::Clean() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393795: G4HadronicInteractionRegistry::~G4HadronicInteractionRegistry() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x38B86333A4: exit (in /lib64/libc-2.5.so)
==12863== by 0x38B861D99A: (below main) (in /lib64/libc-2.5.so)
==12863== Address 0x171cf450 is 0 bytes inside a block of size 80 free'd
==12863== at 0x4A05743: operator delete(void*) (vg_replace_malloc.c:346)
==12863== by 0x9487C10: G4PreCompoundModel::~G4PreCompoundModel() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393610: G4HadronicInteractionRegistry::Clean() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x9393795: G4HadronicInteractionRegistry::~G4HadronicInteractionRegistry() (in /panfs/panfs.ihep.ac.cn/home/dyb/dybsw/dyb2/external/local/geant4_96/install/lib64/libG4processes.so)
==12863== by 0x38B86333A4: exit (in /lib64/libc-2.5.so)
==12863== by 0x38B861D99A: (below main) (in /lib64/libc-2.5.so)
==12863==
==12863==
==12863== HEAP SUMMARY:
==12863== in use at exit: 9,654,095 bytes in 132,015 blocks
==12863== total heap usage: 70,293,611 allocs, 70,161,599 frees, 6,410,555,147 bytes allocated
==12863==
==12863== LEAK SUMMARY:
==12863== definitely lost: 98,200 bytes in 224 blocks
==12863== indirectly lost: 151,697 bytes in 1,116 blocks
==12863== possibly lost: 23,156 bytes in 353 blocks
==12863== still reachable: 9,381,042 bytes in 130,322 blocks
==12863== suppressed: 0 bytes in 0 blocks
==12863== Rerun with --leak-check=full to see details of leaked memory
==12863==
==12863== For counts of detected and suppressed errors, rerun with: -v
==12863== Use --track-origins=yes to see where uninitialised values come from
==12863== ERROR SUMMARY: 3125 errors from 31 contexts (suppressed: 4 from 4)
引用:
theCascade = new G4GeneratorPrecompoundInterface;
thePreEquilib = new G4PreCompoundModel(theHandler = new G4ExcitationHandler);
theCascade->SetDeExcitation(thePreEquilib);
thePreEquilib = new G4PreCompoundModel(theHandler = new G4ExcitationHandler);
theCascade = new G4GeneratorPrecompoundInterface(thePreEquilib);
尝试合并一下9.5的新代码。
还是不能正常退出。
问题一定出在改动的部分。