Segmentation Fault when using h2root on .paw files

Hello,

I have been trying to use h2root on the new 64-bit machine at Indiana U to convert .paw files into .root files. The machine has 4 quad-core Xenon 2.93 GHz CPUs.

We are running Linux version 2.6.18-128.1.1.el5xen with Red Hat 4.1.2-42.

Previously, under an earlier version of ROOT 5.22.00a, it would crash immediately. After reading this thread, I updated to ROOT 5.23.04; now the crash comes later in running

[quote]Creating branch:beampz, block:NUGPINFO, fullname:beampz/F, nsub=0, itype=1, isize=4, ielem=1

*** Break *** segmentation violation
Using host libthread_db library “/lib64/libthread_db.so.1”.
Attaching to program: /proc/31350/exe, process 31350
[Thread debugging using libthread_db enabled]
[New Thread 47984261063040 (LWP 31350)]
0x0000003fa6297f85 in waitpid () from /lib64/libc.so.6
#1 0x0000003fa623bf33 in do_system () from /lib64/libc.so.6
#2 0x00002ba42fc8d65b in TUnixSystem::Exec (this=0x122be2b0,
#3 0x00002ba42fc8ca44 in TUnixSystem::StackTrace (this=0x122be2b0)
at core/unix/src/TUnixSystem.cxx:2132
#4 0x00002ba42fc8f99b in TUnixSystem::DispatchSignals (this=0x122be2b0,
sig=kSigSegmentationViolation) at core/unix/src/TUnixSystem.cxx:1099
#5 0x00002ba42fc8fabf in SigHandler (sig=kSigSegmentationViolation)
at core/unix/src/TUnixSystem.cxx:350
#6 0x00002ba42fc86111 in sighandler (sig=11)
at core/unix/src/TUnixSystem.cxx:3368
#7
#8 0x00002ba4339052b2 in hgnt2_ (var1=0x2ba4339402a0, ivoff=0x2ba43394034c,
nvar1=@0x2ba43394034c, idnevt=@0x7fff7b0f8638, ierror=@0x7fff7b0f863c,
var1=1) at misc/minicern/src/hbook.f:1419
#9 0x00002ba433903dca in hgnt1
(idd=@0x7fff7b0f5cdc, blkna1=@0x2ba4339402a0,
var=0x2ba4339402a0, ioffst=0x2ba43394034c, nvar=@0x2ba43394034c,
idnevt=@0x7fff7b0f8638, ierror=@0x7fff7b0f863c, _blkna1=1, var=1)
at misc/minicern/src/hbook.f:1164
#10 0x00002ba433903996 in hgnt
(idn=@0x7fff7b0f5cdc, idnevt=@0x7fff7b0f8638,
ierror=@0x7fff7b0f863c) at misc/minicern/src/hbook.f:1072
#11 0x0000000000402f41 in convert_cwn (id=10) at main/src/h2root.cxx:812
#12 0x0000000000404696 in convert_directory (dir=0x4053a4 “//example”)
at main/src/h2root.cxx:377
#13 0x0000000000404d5f in main (argc=2, argv=0x7fff7b0f9148)
at main/src/h2root.cxx:329
[/quote]

“beampz” is the final variable in the .paw file. h2root works fine for these .paw files on our 32-bit machine.

I saw and read a previous threat on a similar issue, but the recommended solution (upgrading to a sufficiently recent version of ROOT) has not worked for me.

Thank you,

Luke Corwin
Indiana University

Could you post you hbook file?

Rene

I have placed it in my webspace here:

mypage.iu.edu/~lacorwin/MINOS/me-tgt32_1.paw

Thank you,

Luke

Sorry for this late answer.
Using the version of ROOT 5.25/05 your file can be converted correctly.

Rene