Perl 64 bit solaris - Strange Errors

  • Thread starter josephshibu.francis
  • Start date
J

josephshibu.francis

Gurus,

The attempt to build a 64 bit perl ( 5.8.7 and 5.8.8 ) on solaris 9 (
and also sol 8 ) is getting failed during the compilation process.
The miniperl got generated successfully, however it core dumps while
trying to use the IO::Handle.

while debugging,

./miniperl -Ilib -W -d -e ' use IO::Handle' ;

also dumps the core.

Here is the truss output on this.


open("lib/IO/Handle.pm", O_RDONLY) = 5
ioctl(5, TCGETA, 0xFFFFFFFF7FFFC58C) Err#25 ENOTTY
lseek(5, 0, SEEK_CUR) = 0
brk(0x10028E6C0) = 0
brk(0x1002926C0) = 0
read(5, " p a c k a g e I O : :".., 4096) = 4096
read(5, " r o r\n\n R e t u r n s".., 4096) = 4096
read(5, " m t h a t c l a s s".., 4096) = 4096
brk(0x1002926C0) = 0
brk(0x1002966C0) = 0
getcontext(0xFFFFFFFF7FFFC2A0)
getcontext(0xFFFFFFFF7FFFBF40)
getcontext(0xFFFFFFFF7FFFC2A0)
getcontext(0xFFFFFFFF7FFFBF40)
stat("lib/strict.pmc", 0xFFFFFFFF7FFFBE50) Err#2 ENOENT
open("lib/strict.pm", O_RDONLY) = 6
ioctl(6, TCGETA, 0xFFFFFFFF7FFFB8EC) Err#25 ENOTTY
lseek(6, 0, SEEK_CUR) = 0
brk(0x1002966C0) = 0
brk(0x10029A6C0) = 0
read(6, " p a c k a g e s t r i".., 4096) = 3292
brk(0x10029A6C0) = 0
brk(0x10029E6C0) = 0
brk(0x10029E6C0) = 0
brk(0x1002A26C0) = 0
lseek(6, 598, SEEK_SET) = 598
lseek(6, 0, SEEK_CUR) = 598
close(6) = 0
getcontext(0xFFFFFFFF7FFFC2A0)
getcontext(0xFFFFFFFF7FFFBF40)
stat("lib/Carp.pmc", 0xFFFFFFFF7FFFBE50) Err#2 ENOENT
open("lib/Carp.pm", O_RDONLY) = 6
ioctl(6, TCGETA, 0xFFFFFFFF7FFFB8EC) Err#25 ENOTTY
lseek(6, 0, SEEK_CUR) = 0
read(6, " p a c k a g e C a r p".., 4096) = 4096
read(6, " a n n o t g e t %".., 4096) = 4096
brk(0x1002A26C0) = 0
brk(0x1002A66C0) = 0
brk(0x1002A66C0) = 0
brk(0x1002AA6C0) = 0
read(6, " n e e d t o ( f o r".., 4096) = 648
brk(0x1002AA6C0) = 0
brk(0x1002AE6C0) = 0
brk(0x1002AE6C0) = 0
brk(0x1002B26C0) = 0
read(6, 0x10029F710, 4096) = 0
close(6) = 0
stat("lib/Exporter.pmc", 0xFFFFFFFF7FFFBE50) Err#2 ENOENT
open("lib/Exporter.pm", O_RDONLY) = 6
ioctl(6, TCGETA, 0xFFFFFFFF7FFFB8EC) Err#25 ENOTTY
lseek(6, 0, SEEK_CUR) = 0
read(6, " p a c k a g e E x p o".., 4096) = 4096
brk(0x1002B26C0) = 0
brk(0x1002B66C0) = 0
brk(0x1002B66C0) = 0
brk(0x1002BA6C0) = 0
brk(0x1002BA6C0) = 0
brk(0x1002BE6C0) = 0
brk(0x1002BE6C0) = 0
brk(0x1002C26C0) = 0
brk(0x1002C26C0) = 0
brk(0x1002C66C0) = 0
brk(0x1002C66C0) = 0
brk(0x1002CA6C0) = 0
lseek(6, 2217, SEEK_SET) = 2217
lseek(6, 0, SEEK_CUR) = 2217
close(6) = 0
getcontext(0xFFFFFFFF7FFFC2A0)
getcontext(0xFFFFFFFF7FFFBF40)
stat("lib/Symbol.pmc", 0xFFFFFFFF7FFFBE50) Err#2 ENOENT
open("lib/Symbol.pm", O_RDONLY) = 6
ioctl(6, TCGETA, 0xFFFFFFFF7FFFB8EC) Err#25 ENOTTY
lseek(6, 0, SEEK_CUR) = 0
read(6, " p a c k a g e S y m b".., 4096) = 4096
brk(0x1002CA6C0) = 0
brk(0x1002CE6C0) = 0
getcontext(0xFFFFFFFF7FFFB6B0)
getcontext(0xFFFFFFFF7FFFB350)
brk(0x1002CE6C0) = 0
brk(0x1002D26C0) = 0
Incurred fault #5, FLTACCESS %pc = 0x10007ABE4
siginfo: SIGBUS BUS_ADRALN addr=0x1002D0704
Received signal #10, SIGBUS [default]
siginfo: SIGBUS BUS_ADRALN addr=0x1002D0704
*** process killed ***


Any help is appreciated.
 
I

Ilya Zakharevich

[A complimentary Cc of this posting was sent to

while debugging,

./miniperl -Ilib -W -d -e ' use IO::Handle' ;

also dumps the core.

You need to debug C, not Perl. Use gdb/dbx.
brk(0x1002D26C0) = 0
Incurred fault #5, FLTACCESS %pc = 0x10007ABE4
siginfo: SIGBUS BUS_ADRALN addr=0x1002D0704
Received signal #10, SIGBUS [default]
siginfo: SIGBUS BUS_ADRALN addr=0x1002D0704
*** process killed ***

E2LITTLEINFO. perl -v is the minimum. Do you use MYMALLOC with wrong
alignment flags?

Hope this helps,
Ilya
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top