Hello,
I have the following problem. I'm trying to proccess some data in trees using
chains. So, to constuct the program I used MakeClass and wrote some
additional code. All root-files which I processed have the same structure.
Basically most of the files processed good, but some of them rejected on any
event with error like this:
- Break *** segmentation violation
Generating stack trace...
0x408cf2a1 in TUnixSystem::StackTrace(void) at
/scr/cepa01/jeffk/root_cutting/rh71/KCC_4_0-opt-thread-exception/root/unix/src/TUnixSystem.cxx:1358
from
/D0/ups/root/Linux-2-4-2-2-4/v3_05_00c-KCC_4_0--exception--opt--thread/lib/libCore.so
0x408ce610 in TUnixSystem::DispatchSignals(ESignals) at
/scr/cepa01/jeffk/root_cutting/rh71/KCC_4_0-opt-thread-exception/root/unix/src/TUnixSystem.cxx:583
from
/D0/ups/root/Linux-2-4-2-2-4/v3_05_00c-KCC_4_0--exception--opt--thread/lib/libCore.so
0x408cbc3a in <unknown> from
/D0/ups/root/Linux-2-4-2-2-4/v3_05_00c-KCC_4_0--exception--opt--thread/lib/libCore.so
0x408cbcba in <unknown> from
/D0/ups/root/Linux-2-4-2-2-4/v3_05_00c-KCC_4_0--exception--opt--thread/lib/libCore.so
0x40fd04f3 in <unknown> from
/d0usr/products/rtonly/Linux-2-4/v7_1-slava/lib/libpthread.so.0
0x4100b8b8 in <unknown> from
/d0usr/products/rtonly/Linux-2-4/v7_1-slava/lib/libc.so.6
0x0804a008 in <unknown> from ./CalcResponse
0x080495cd in std::ios_base::Init::__ct( (void)) + 0x2ed from ./CalcResponse
0x40ff9336 in __libc_start_main at
/usr/src/build/133577-i386/BUILD/glibc-2.2.4/csu/../sysdeps/generic/libc-start.c:129
from /d0usr/products/rtonly/Linux-2-4/v7_1-slava/lib/libc.so.6
0x080493a1 in
__CPR125__endl__tm__31_cQ2_3std20char_traits__tm__2_c__3stdFRQ2_3std27basic_ostream__tm__7_Z1ZZ2Z_RQ
+ 0x41 from ./CalcResponse
Abort (core dumped)
This problem disappear when I comment one of the branch:
b_EM->GetEntry(jentry);
in my Loop() method.
The compilation of my code always goes successfully.
Is this problem with data in root-files, in compilator (I use root v3-05-00
with KCC_4_0) or problem in my code?
Thanks for any help,
Received on Mon Feb 14 2005 - 19:47:51 MET