-- SebastianKupny - 07 Dec 2011

1. What happens

Program is crashing during analysis

  • For empty loop after proceed around 290 files

  • For Krakow subevent analysis after proceed around 120 files

2. Where

Asyeos Fiarroot environment, revision: 13711

Tested on machine from lxlenny64 pool (lxi039)

3. Output

$$$$$$$$$$$$$$$$$$$$$$$$$$$$
293 /lustre/fopi/asyeos/MAY11/au400_1418.lmd
This is File Header:
lenght 16360
evt 0
label RFIO:X86G-1
run
time 12-May-11 08:37:35
curr i 0
file /asyeos/may11/au400_1418.lmd
############################# i=0
############################# i=5000
############################# i=10000
############################# i=15000
############################# i=20000
############################# i=25000
Exception : std::bad_alloc
Error: G__getvariable: expression UnpackBasic3.C:146:
Error: Can not access pointer to function 0x0 from interpreter(1) FILE:/u/skupny/asyeosroot/macros/./UnpackBasic3.C LINE:146
Internal error: malloc in G__getitem(),sbuf UnpackBasic3.C:146:
Error: Illegal pointer operation (tovalue) UnpackBasic3.C:146:
terminate called after throwing an instance of 'St9bad_alloc'
what(): std::bad_alloc
skupny@lxi039:~/asyeosroot/macros$

Line 146 in macro
UnpackBasic.C
:

myMbs -> GetSubEvent ( j, sebuflenght, setype, sesubtype, sesubcrate );

4. How to generate error

  1. Create Asyeos fairroot project instance
  2. Download macro
    UnpackBasic_forDebugging.C
    and save it in Macro directory. Macro
    UnpackBasic_forDebugging.C
    is with no unpacking procedures.
  3. Launch macro
    UnpackBasic_forDebugging.C
    to analyze more than 300 files, defined in runlist.dat (e.g runList_forDebugging_1124.dat).

5. Additional info

Reported in Asyeos collaboration EVO meeteng on 30. NOV 2011
Topic attachments
I Attachment Action Size Date Who Comment
UnpackBasic_forDebugging.CC UnpackBasic_forDebugging.C manage 7.8 K 2011-12-07 - 16:25 SebastianKupny Macro used for code debugging
runList_forDebugging_1124.datdat runList_forDebugging_1124.dat manage 45.4 K 2011-12-07 - 16:25 SebastianKupny Run list for debugging
Topic revision: r3 - 2011-12-07, SebastianKupny
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)