← Back to team overview

kaliveda-dev team mailing list archive

[Bug 531440] Re: break segmentation violation with GetLumiereTotale

 

** Changed in: kaliveda/1.8
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of KaliVeda
Development Team, which is subscribed to KaliVeda.
https://bugs.launchpad.net/bugs/531440

Title:
  break segmentation violation with GetLumiereTotale

Status in KaliVeda data analysis framework:
  Fix Released
Status in KaliVeda 1.7 series:
  Fix Released
Status in KaliVeda 1.8 series:
  Fix Released

Bug description:
  Preparing Si-lumière totale matrices for the e494s experiment I get a
  segmentation violation while asking:

  Lum = particle->GetCsI()->GetLumiereTotale();

  It seems specific to (at least) e494s beacause it works for
  INDRA_camp5. It seems also that the pedestals initialization goes
  wrong as I get always zero for all of them when asking:

                  pedR = particle->GetCsI()->GetPedestal("R");  
                  pedL = particle->GetCsI()->GetPedestal("L");
   
  I suspected bad values for R and L (negative ones) while corrected by pedestal values but it seems that it is not the case, because non corrected values are far from the pedestal.

  The pedestal files are written in the same way as for camp5 and located in $KVROOT/KVFiles/INDRA_e494s.
  I don't know if it is a bug or if I'm doing something wrong!!!
  This is the message I got:

    --> Pulser & laser data tree contains 6160 events

  Data: Couronne :    6, Module :   16  
   Sipg =   32.3  - pedSipg =    0.0
   Sigg =  278.6  - pedSigg =    0.0
   R =  162.0  - ped R   0.0
   L =  128.6  - ped L   0.0
  ------------------------------------- 

   *** Break *** segmentation violation
  Attaching to program: /proc/31072/exe, process 31072
  [Thread debugging using libthread_db enabled]
  [New Thread 0x2aeb821ccd00 (LWP 31072)]
  [New Thread 0x429c7940 (LWP 31244)]
  [New Thread 0x41fc6940 (LWP 31241)]
  [New Thread 0x4151b940 (LWP 31240)]
  0x00002aeb7f8b8cbf in waitpid () from /lib64/libc.so.6
  Thread 4 (Thread 0x4151b940 (LWP 31240)):
  #0  0x00002aeb7f8b90b1 in nanosleep () from /lib64/libc.so.6
  #1  0x00002aeb7f8b8ed4 in sleep () from /lib64/libc.so.6
  #2  0x00002aeb7ec2c24f in GarbageCollectorThread (arg=0x28e60f0, 
      thr=<value optimized out>) at XrdClientConnMgr.cc:71
  #3  0x00002aeb7ec593a7 in XrdSysThread_Xeq ()
     from /afs/in2p3.fr/throng/indra/.root-v5.24.00_gcc-4.1.2_x86_64/lib/libXrdPosix.so
  #4  0x00002aeb7f60a617 in start_thread () from /lib64/libpthread.so.0
  #5  0x00002aeb7f8f2c2d in clone () from /lib64/libc.so.6

  Thread 3 (Thread 0x41fc6940 (LWP 31241)):
  #0  0x00002aeb7f8e9e46 in poll () from /lib64/libc.so.6
  #1  0x00002aeb7ec4ea4d in XrdClientSock::RecvRaw (this=0x29c8fe0, 
      buffer=0x29cbe10, length=8, substreamid=<value optimized out>, 
      usedsubstreamid=0x1) at XrdClientSock.cc:129
  #2  0x00002aeb7ec33402 in XrdClientPhyConnection::ReadRaw (this=0x29c82b0, 
      buf=0x29cbe10, len=8, substreamid=-1, usedsubstreamid=0x41fc5d9c)
      at XrdClientPhyConnection.cc:360
  #3  0x00002aeb7ec304a8 in XrdClientMessage::ReadRaw (this=0x29cbdd0, 
      phy=0x29c82b0) at XrdClientMessage.cc:150
  #4  0x00002aeb7ec32b8c in XrdClientPhyConnection::BuildMessage (
      this=0x29c82b0, IgnoreTimeouts=true, Enqueue=true)
      at XrdClientPhyConnection.cc:441
  #5  0x00002aeb7ec331de in SocketReaderThread (arg=0x29c82b0, 
      thr=<value optimized out>) at XrdClientPhyConnection.cc:59
  #6  0x00002aeb7ec593a7 in XrdSysThread_Xeq ()
     from /afs/in2p3.fr/throng/indra/.root-v5.24.00_gcc-4.1.2_x86_64/lib/libXrdPosix.so
  #7  0x00002aeb7f60a617 in start_thread () from /lib64/libpthread.so.0
  #8  0x00002aeb7f8f2c2d in clone () from /lib64/libc.so.6

  Thread 2 (Thread 0x429c7940 (LWP 31244)):
  #0  0x00002aeb7f8e9e46 in poll () from /lib64/libc.so.6
  #1  0x00002aeb7ec4ea4d in XrdClientSock::RecvRaw (this=0x29cba70, 
      buffer=0x4b3fff0, length=8, substreamid=<value optimized out>, 
      usedsubstreamid=0x1) at XrdClientSock.cc:129
  #2  0x00002aeb7ec33402 in XrdClientPhyConnection::ReadRaw (this=0x29cadc0, 
      buf=0x4b3fff0, len=8, substreamid=-1, usedsubstreamid=0x429c6d9c)
      at XrdClientPhyConnection.cc:360
  #3  0x00002aeb7ec304a8 in XrdClientMessage::ReadRaw (this=0x4b3ffb0, 
      phy=0x29cadc0) at XrdClientMessage.cc:150
  #4  0x00002aeb7ec32b8c in XrdClientPhyConnection::BuildMessage (
      this=0x29cadc0, IgnoreTimeouts=true, Enqueue=true)
      at XrdClientPhyConnection.cc:441
  #5  0x00002aeb7ec331de in SocketReaderThread (arg=0x29cadc0, 
      thr=<value optimized out>) at XrdClientPhyConnection.cc:59
  #6  0x00002aeb7ec593a7 in XrdSysThread_Xeq ()
     from /afs/in2p3.fr/throng/indra/.root-v5.24.00_gcc-4.1.2_x86_64/lib/libXrdPosix.so
  #7  0x00002aeb7f60a617 in start_thread () from /lib64/libpthread.so.0
  #8  0x00002aeb7f8f2c2d in clone () from /lib64/libc.so.6

  Thread 1 (Thread 0x2aeb821ccd00 (LWP 31072)):
  #0  0x00002aeb7f8b8cbf in waitpid () from /lib64/libc.so.6
  #1  0x00002aeb7f85b331 in do_system () from /lib64/libc.so.6
  #2  0x00002aeb7f85b687 in system () from /lib64/libc.so.6
  #3  0x00002aeb7a45251c in TUnixSystem::StackTrace ()
     from /afs/in2p3.fr/throng/indra/.root-v5.24.00_gcc-4.1.2_x86_64/lib/libCore.so
  #4  0x00002aeb7a44fa4a in TUnixSystem::DispatchSignals ()
     from /afs/in2p3.fr/throng/indra/.root-v5.24.00_gcc-4.1.2_x86_64/lib/libCore.so
  #5  <signal handler called>
  #6  0x00002aeb7e813704 in KVACQParam::GetCoderData (this=0x0)
      at /afs/in2p3.fr/throng/indra/.kvroot-1.7.4b_gcc-4.1.2_x86_64_root-5.24.00/include/KVACQParam.h:123
  #7  0x00002aeb7e840e29 in KVACQParam::GetData (this=0x0)
      at /afs/in2p3.fr/throng/indra/.kvroot-1.7.4b_gcc-4.1.2_x86_64_root-5.24.00/include/KVACQParam.h:114
  #8  0x00002aeb7e840f44 in KVCsI::GetR (this=0x3877880) at detectors/KVCsI.h:68
  #9  0x00002aeb7e83fd75 in KVCsI::Calculate (this=0x3877880, mode=0, rapide=-1, 
      lente=-1) at detectors/KVCsI.cpp:167
  #10 0x00002aeb7e84052c in KVCsI::GetLumiereTotale (this=0x3877880, rapide=-1, 
      lente=-1) at detectors/KVCsI.cpp:111
  #11 0x00002aeb85626f5e in IdentDirect_SiCsI::Analysis ()
     from /sps/indra/nicolas/Indra_Vamos/SiCsI/./IdentDirect_SiCsI_cpp.so
  #12 0x00002aeb7e81c066 in KVSelector::Process (this=0x2e4fec0, entry=7)
      at analysis/KVSelector.cpp:228
  #13 0x00002aeb84cf5439 in TTreePlayer::Process ()
     from /afs/in2p3.fr/home/throng/indra/.root-v5.24.00_gcc-4.1.2_x86_64/lib/libTreePlayer.so
  #14 0x00002aeb84cf3fab in TTreePlayer::Process ()
     from /afs/in2p3.fr/home/throng/indra/.root-v5.24.00_gcc-4.1.2_x86_64/lib/libTreePlayer.so
  #15 0x00002aeb7e817736 in KVINDRAReconDataAnalyser::SubmitTask (this=0x24b52b0)
      at analysis/KVINDRAReconDataAnalyser.cpp:117
  #16 0x00002aeb8066bce6 in KVDataAnalyser::Run (this=0x24b52b0)
      at analysis/KVDataAnalyser.cpp:256
  #17 0x00002aeb7e84d861 in KVDataAnalysisLauncher::Process (this=0x16b6d20)
      at gui/KVDataAnalysisLauncher.cpp:1447
  #18 0x00002aeb7e8ec63f in G__KVIndraDict_976_0_26 (result7=0x1bb3230, 
      funcname=0x0, libp=0x1bb32d0, hash=0) at KVIndraDict.cpp:22631
  #19 0x00002aeb7ac3ae60 in Cint::G__CallFunc::Execute ()
     from /afs/in2p3.fr/throng/indra/.root-v5.24.00_gcc-4.1.2_x86_64/lib/libCint.so
  #20 0x00002aeb7a43906c in TCint::CallFunc_Exec ()
     from /afs/in2p3.fr/throng/indra/.root-v5.24.00_gcc-4.1.2_x86_64/lib/libCore.so
  #21 0x00002aeb7a3b35e5 in TQConnection::ExecuteMethod ()
     from /afs/in2p3.fr/throng/indra/.root-v5.24.00_gcc-4.1.2_x86_64/lib/libCore.so
  #22 0x00002aeb7a3b7cc6 in TQObject::Emit ()
     from /afs/in2p3.fr/throng/indra/.root-v5.24.00_gcc-4.1.2_x86_64/lib/libCore.so
  #23 0x00002aeb7fd57c8c in TGButton::EmitSignals ()
     from /afs/in2p3.fr/throng/indra/.root-v5.24.00_gcc-4.1.2_x86_64/lib/libGui.so
  #24 0x00002aeb7fd5a696 in TGButton::HandleButton ()
     from /afs/in2p3.fr/throng/indra/.root-v5.24.00_gcc-4.1.2_x86_64/lib/libGui.so
  #25 0x00002aeb7fdaa0a0 in TGFrame::HandleEvent ()
     from /afs/in2p3.fr/throng/indra/.root-v5.24.00_gcc-4.1.2_x86_64/lib/libGui.so
  #26 0x00002aeb7fd6fccb in TGClient::HandleEvent ()
     from /afs/in2p3.fr/throng/indra/.root-v5.24.00_gcc-4.1.2_x86_64/lib/libGui.so
  #27 0x00002aeb7fd6ffd1 in TGClient::ProcessOneEvent ()
     from /afs/in2p3.fr/throng/indra/.root-v5.24.00_gcc-4.1.2_x86_64/lib/libGui.so
  #28 0x00002aeb7fd7004d in TGClient::HandleInput ()
     from /afs/in2p3.fr/throng/indra/.root-v5.24.00_gcc-4.1.2_x86_64/lib/libGui.so
  #29 0x00002aeb7fd7006d in TGInputHandler::Notify ()
     from /afs/in2p3.fr/throng/indra/.root-v5.24.00_gcc-4.1.2_x86_64/lib/libGui.so
  #30 0x00002aeb7a450068 in TUnixSystem::DispatchOneEvent ()
     from /afs/in2p3.fr/throng/indra/.root-v5.24.00_gcc-4.1.2_x86_64/lib/libCore.so
  #31 0x00002aeb7a3d0726 in TSystem::InnerLoop ()
     from /afs/in2p3.fr/throng/indra/.root-v5.24.00_gcc-4.1.2_x86_64/lib/libCore.so
  #32 0x00002aeb7a3d3831 in TSystem::Run ()
     from /afs/in2p3.fr/throng/indra/.root-v5.24.00_gcc-4.1.2_x86_64/lib/libCore.so
  #33 0x00002aeb7a378f5f in TApplication::Run ()
     from /afs/in2p3.fr/throng/indra/.root-v5.24.00_gcc-4.1.2_x86_64/lib/libCore.so
  #34 0x000000000040192e in main (argc=1, argv=0x7fff59389528)
      at KaliVedaGUI.cpp:25
  The program is running.  Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]
  Detaching from program: /proc/31072/exe, process 31072