GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Segfault in PndMvdStripClusterBuilder
Re: Segfault in PndMvdStripClusterBuilder [message #10044 is a reply to message #10035] Mon, 25 January 2010 23:05 Go to previous messageGo to previous message
Elwin Dijck
Messages: 16
Registered: June 2009
Location: Groningen, The Netherland...
occasional visitor
From: *mxp.dsl.internl.net
I don't know whether the errors are related, but I took a look at the segfault in runMvdReco.C. The crash occurs in PndMvdStripClusterBuilder::AddDigi(), where just some data is put into some nested std::maps. The stack trace showed that the memory of the map was somehow corrupted and the reason for this is that a PndMvdStripClusterBuilder object is used after it is deleted. Some extra debug output:

0xbfa10f0->AddDigi called for detName: "1_1/40_0/66_1/65_1/63_1/62_5/54_3/52_4/49_1/48_1/"
0xbfa10f0->AddDigi called for detName: "1_1/40_0/66_1/65_1/63_1/62_5/54_3/52_4/49_1/48_1/"
0xbfa10f0->AddDigi called for detName: "1_1/40_0/66_1/65_1/63_1/62_5/54_3/52_4/49_1/48_1/"
0xbfa10f0->AddDigi called for detName: "1_1/40_0/66_1/65_1/64_1/62_15/54_3/52_4/49_1/48_1/"
0xbfa10f0->AddDigi called for detName: "1_1/40_0/66_1/65_1/64_1/62_15/54_3/52_4/49_1/48_1/"
0xbfa10f0->AddDigi called for detName: "1_1/40_0/66_1/65_1/64_1/62_21/61_1/60_1/57_1/"
0xbfa10f0->DESTRUCTOR CALLED!
0xbfa10f0->AddDigi called for detName: "1_1/40_0/66_1/65_1/63_1/62_6/61_1/60_1/57_1/56_1/"

 *** Break *** segmentation violation
 Generating stack trace... etc.


I don't know why this happens exactly, but it looks like a bug in PndMvdStripClusterTask::Exec() from where AddDigi() is called.

Regards,
Elwin Dijck

[Updated on: Mon, 25 January 2010 23:06]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: libLheTrack.so: undefined symbol: _ZTV17PndMvdGeoHandling
Next Topic: update stable branch...
Goto Forum:
  


Current Time: Tue Dec 03 12:36:26 CET 2024

Total time taken to generate the page: 0.00796 seconds