[Halld-offline] hdview2 crash

Beni Zihlmann zihlmann at jlab.org
Thu Oct 22 17:10:15 EDT 2009


Hi All,
compiling the latest version and using hdview2_d gives me the following 
error
when running in debug mode. Crash at line 504 in DGeometry.cc:
any idea why?

Program received signal SIGSEGV, Segmentation fault.
0x083d924d in DGeometry::GetFDCZ (this=0xb4a60f20, z_wires=@0xbfb7a84c) 
at DGeometry.cc:504
504             double zfdc = ForwardDC[2] + forwardDC[2];
(gdb) list
499                     _DBG_<<"Unable to retrieve ForwardDC 
positions."<<endl;
500                     return good;
501             }
502
503             // Offset due to global FDC envelopes
504             double zfdc = ForwardDC[2] + forwardDC[2];
505
506             // Loop over packages
507             for(int package=1; package<=4; package++){
508                     double z_package = forwardDC_package[package-1][2];
(gdb) bt
#0  0x083d924d in DGeometry::GetFDCZ (this=0xb4a60f20, 
z_wires=@0xbfb7a84c) at DGeometry.cc:504
#1  0x083d960d in DGeometry::GetFDCWires (this=0xb4a60f20, 
fdcwires=@0x8656bb0) at DGeometry.cc:393
#2  0x0821e464 in hdv_mainframe (this=0xb4a5dd80, p=0x9b6e108, w=1000, 
h=600) at hdv_mainframe.cc:88
#3  0x081e346f in MyProcessor::init (this=0x9bf12b8) at MyProcessor.cc:97
#4  0x081bc93d in main (narg=1, argv=0xbfb7b4a4) at hdview2.cc:55


cheers,
Beni




More information about the Halld-offline mailing list