Perl 64 bit solaris - Strange Errors

Discussion in 'Perl Misc' started by josephshibu.francis@gmail.com, Sep 29, 2006.

  1. Guest

    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.
     
    , Sep 29, 2006
    #1
    1. Advertising

  2. [A complimentary Cc of this posting was sent to

    <>], who wrote in article <>:
    > 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
     
    Ilya Zakharevich, Sep 29, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. krigare
    Replies:
    0
    Views:
    850
    krigare
    Dec 27, 2003
  2. Mark Goldin

    Errors, errors, errors

    Mark Goldin, Jan 17, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    1,008
    Mark Goldin
    Jan 17, 2004
  3. Replies:
    3
    Views:
    1,830
    Timothy Bendfelt
    Jan 19, 2007
  4. Replies:
    9
    Views:
    1,032
    Juha Nieminen
    Aug 22, 2007
  5. Jeff.M
    Replies:
    6
    Views:
    199
    Lasse Reichstein Nielsen
    May 4, 2009
Loading...

Share This Page