Re: [BLAST_ANAWARE] crunching fails

From: Michael Kohl (kohlm@MIT.EDU)
Date: Thu May 27 2004 - 11:47:57 EDT


Chi,

here's the screen output of the seg fault:

$ lrn 6001

TOpt : reading rc file :
        /scratch/bud24/kohlm/cvs_v3/Blast_Params//blastrc
TBLGeometry : reading geometry file :
        /scratch/bud24/kohlm/cvs_v3/Blast_Params//blast.geom
TBLMagField : reading Magfield from file :
        /scratch/bud24/kohlm/cvs_v3/Blast_Params//bgrid2.blast
fNrun = -1 run_no(fNrun) = 1689 strcmp = 1
TOpt::ElectronicsMapFile() : invalid run number, fall back to
"electronics.map"
TBLRaw : Electronics map is for real data :
        /scratch/bud24/kohlm/cvs_v3/Blast_Params//electronics.map
TBLWc1WireCal : Read Calibration File :
        /scratch/bud24/kohlm/cvs_v3/Blast_Params//Wire.Cal
TBLWc1Time2Distance : t2d_GarField_6th_Order :
        /scratch/bud24/kohlm/cvs_v3/Blast_Params//WC_pos_vs_t_parameters_2
TBLDetCalib : Calibration file :
        /scratch/bud24/kohlm/cvs_v3/Blast_Params//blast.sc_cal

lrn : Counting multiples of 100 events.

==============================================

TOpt::ElectronicMapFile() : query database for electronics map file name
mysqlclient::get_account() : connecting to mysql database
        user=blast
        host=blast05.lns.mit.edu
TBLRaw : Electronics map is for real data :
        
/home/daq/blast/pro2004/elog/archive/Electronics//Electronics~012.map
TBLDetCalib : Reading MYSQL Data Base For Calibration

TCodaRead : Opening data file: /net/data/4/Daq/data//pro2003-6001.dat
Prestart at time: 27-Mar-2004 23:49:06
Go at time: 27-Mar-2004 23:49:21
TBLEpicsRecon : Run # 6001 ABS D spinflipper on 301
WARNING : scaler target undefined (refilling? check visual_scaler)750
WARNING : epics target undefined (ignore if not appearing
continuously)1670 1 0
WARNING : scaler target undefined (refilling? check visual_scaler)1977
WARNING : epics target undefined (ignore if not appearing
continuously)2285 1 0

End of run on event 244265 at time: 28-Mar-2004 00:35:00
Total run time: 2739 (secs.)

TCodaRead : Opening data file: /net/data/4/Daq/data//pro2003-6001.dat
Prestart at time: 27-Mar-2004 23:49:06

TCodaRead : Opening data file: /net/data/4/Daq/data//pro2003-6001.dat
        3
 *** Break *** segmentation violation
 Generating stack trace...
 0x405e193f in TUnixSystem::StackTrace(void) at
/net/data/1/Analysis/commis/root/root_v3.05.04/unix/src/TUnixSystem.cxx:1381
from /usr/local/root/lib/libCore.so
 0x405e00dc in TUnixSystem::DispatchSignals(ESignals) at
/net/data/1/Analysis/commis/root/root_v3.05.04/unix/src/TUnixSystem.cxx:583
from /usr/local/root/lib/libCore.so
 0x405df199 in <unknown> from /usr/local/root/lib/libCore.so
 0x405e37a3 in <unknown> from /usr/local/root/lib/libCore.so
 0x417b1307 in <unknown> from /lib/libpthread.so.0
 0x41c47ef8 in <unknown> from /lib/libc.so.6
 0x40158634 in TBLNewt::fit(float, float) + 0x260 from ./libBlast.so
 0x40157da3 in TBLNewt::Fit(int, float, float) + 0x97 from ./libBlast.so
 0x401710e0 in TBLRecon::PreFit(TBLTrack &, float, float, int) + 0x20 from
./libBlast.so
 0x4016b4db in TBLRecon::Less(TBLTrack &, TBLTrack &, float, float, int) +
0xe7 from ./libBlast.so
 0x4016b9fd in TBLRecon::SelectTrack(index_set<TBLTrack *, trk_cmp> &,
float, float, float, int, bool) + 0x19d from ./libBlast.so
 0x4016b7f9 in TBLRecon::SelectTrack(void) + 0x45 from ./libBlast.so
 0x4016041f in TBLRecon::ImportWcTracks(void) + 0x787 from ./libBlast.so
 0x0804c3bc in main + 0x123c from lrn
 0x41c371c4 in __libc_start_main + 0x90 from /lib/libc.so.6
 0x0804b0a1 in TBLRecon::FitDump(void) const + 0x49 from lrn
Aborted

On Thu, 27 May 2004, Chi Zhang wrote:

>
> Hi, last two days, we had various report of CVS top version lrn
> seg-faults. I v been looking into this.
>
> Chris reported seg-faults related to DSTHeader not initialized. I have not
> been able to reproduce this in either my account or blast account
> (cvs_v3/BlastLib2_dev.)
>
> Michael and Vitaliy reported seg-faults but did not include and detail. It
> would be helpful to send a copy of the screen dump at seg-fault.
>
> I have been able to create a seg-fault in TBLNewDer::fit. However, I am
> having a little trouble tracing it.
>
> This seg-fault does not happen when compiled with -g flag. So there goes
> the chance to debug it in GDB. I inserted check points. But just to
> disgust my stomach, it someties happens in TBLNewDer::fit and sometime
> in TBLFitTrack::Sim.
>
> For the moment, try compile BlastLib with -O2 flag:
> configure ...... --enable-debug
> make clean
> make
> to see if seg-faults still. I will try to fix this problem as soon as
> possible.
>
> Chi
>
> On Wed, 26 May 2004, vitaliy ziskin wrote:
>
> > Latest version of reconstruction seg faults upon a start of crunching.
> > I ran reconstruction with track fitting turned off and it seems to work
> > fine. So, it seems that tracking has a problem. Could someone look at
> > it. We need the latest version of a recon to properly handle neutron
> > timing information.
> >
> > Cheers, Vitaliy
> >
> >
>

-- 

+-------------------------------------+--------------------------+ | Office: | Home: | |-------------------------------------|--------------------------| | Dr. Michael Kohl | Michael Kohl | | Laboratory for Nuclear Science | 5 Ibbetson Street | | MIT-Bates Linear Accelerator Center | Somerville, MA 02143 | | Middleton, MA 01949 | U.S.A. | | U.S.A. | | | - - - - - - - - - - - - | - - - - - - - - -| | Email: kohlm@mit.edu | K.Michael.Kohl@gmx.de | | Work: +1-617-253-9207 | Home: +1-617-629-3147 | | Fax: +1-617-253-9599 | Mobile: +1-978-580-4190 | | http://blast.lns.mit.edu | | +-------------------------------------+--------------------------+



This archive was generated by hypermail 2.1.2 : Mon Feb 24 2014 - 14:07:31 EST