Andreev The obvious First place to look is at BrZdcSlewCalModule.cxx:329 i.e. line 329 and see if something is suspicious there. I do not have code at hand - so pelase investigate. Flemming ------------------------------------------------------ Flemming Videbaek Physics Department Brookhaven National Laboratory tlf: 631-344-4106 fax 631-344-1334 e-mail: videbaek@bnl.gov ----- Original Message ----- From: "Andrey Makeev" <makeev_a@rcf2.rhic.bnl.gov> To: <brahms-dev-l@bnl.gov> Sent: Friday, August 30, 2002 6:03 PM Subject: Re: What is the Bus error? > Hi Femming and Kris, > > the GDB output gives: > > (gdb) where > #0 0x4156cae1 in __kill () from /lib/i686/libc.so.6 > #1 0x4149e76b in raise (sig=6) at signals.c:65 > #2 0x4156e062 in abort () at ../sysdeps/generic/abort.c:88 > #3 0x402d0690 in TUnixSystem::StackTrace () from > /afs/rhic/opt/brahms/new/lib/libCore.so.3.03 > #4 0x402cf6e8 in TUnixSystem::DispatchSignals () from > /afs/rhic/opt/brahms/new/lib/libCore.so.3.03 > #5 0x402ce757 in SigHandler () from > /afs/rhic/opt/brahms/new/lib/libCore.so.3.03 > #6 0x402d173d in sighandler () from > /afs/rhic/opt/brahms/new/lib/libCore.so.3.03 > #7 0x4149ea85 in pthread_sighandler (signo=7, ctx= > {gs = 7, __gsh = 0, fs = 0, __fsh = 0, es = 43, __esh = 0, ds = 43, > __dsh = 0, edi = 12, esi = 1082649376, ebp = 3221217752, esp = 3221217560, > ebx = 1082790996, edx = 1087380192, ecx = 0, eax = 147731608, trapno = 14, > err = 4, eip = 1082490880, cs = 35, __csh = 0, eflags = 66178, > esp_at_signal = 3221217560, ss = 43, __ssh = 0, fpstate = 0xbfffde98, > oldmask = 2147483648, cr2 = 1082490880}) at signals.c:97 > #8 <signal handler called> > #9 0x40858000 in BrZdcSlewCalModule::Finish (this=0x8ae33b0) at > BrZdcSlewCalModule.cxx:329 > #10 0x4005b33d in BrModuleContainer::Finish (this=0x8ac9a10) at > BrModuleContainer.cxx:437 > #11 0x4005b33d in BrModuleContainer::Finish (this=0x8a867a8) at > BrModuleContainer.cxx:437 > #12 0x40095aba in BrMainModule::Main (this=0x8a867a8) at > BrMainModule.cxx:292 > #13 0x08049385 in main (argc=2, argv=0xbfffe394) at bratmain.cxx:193 > #14 0x4155a627 in __libc_start_main (main=0x8049010 <main>, argc=14, > ubp_av=0xbfffe394, > init=0x8048d20 <_init>, fini=0x8049590 <_fini>, rtld_fini=0x4000dcc4 > <_dl_fini>, stack_end=0xbfffe38c) > at ../sysdeps/generic/libc-start.c:129 > (gdb) > > Looks like trouble is at > > BrZdcSlewCalModule::Finish (this=0x8ae33b0) at BrZdcSlewCalModule.cxx:329 > > But here is a copy from that module (with line numbers): > > 326: fCalibration->SetComment ("Slewpar1", "Generated by > BrZdcSlewCalModule: fit with a pol3 function"); > > 327: fCalibration->SetComment ("Slewpar2", "Generated by > BrZdcSlewCalModule: fit with a pol3 function"); > > 328: fCalibration->SetComment ("Slewpar3", "Generated by > BrZdcSlewCalModule: fit with a pol3 function"); > > 329: fCalibration->SetComment ("Slewpar4", "Generated by > BrZdcSlewCalModule: fit with a pol3 function"); > > 330: fCalibration->SetComment ("Slewpar5", "Generated by > BrZdcSlewCalModule: fit with a pol3 function"); > > and it doesn't give any clues why BE shows up, so m.b. Kris > is right, but I couldn't figure out at the moment any array > overflows in the code... It worked perfectly not long time > ago, and I haven't changed nothing in there. > > Andrei. >
This archive was generated by hypermail 2b30 : Fri Aug 30 2002 - 20:19:07 EDT