Re: [perl #42987] [BUG] parrot coredump during make smoke on HPUX 11.23 (Itanium)

[email protected] (Rich Rauenzahn)
Newsgroups perl.perl6.internals,perl.perl6.internals
Message-ID <[email protected]>
chromatic wrote:
> On Wednesday 03 December 2008 09:34:19 Rich Rauenzahn wrote:
>
>> This originally was the result of trying to setup a smoke test platform
>> for Parrot on HPUX-- so I gave it another try today... unfortunately it
>> still coredumps, but I don't think smoke reports those.
>
> Is it possible to get a backtrace?  (I fear it's a 64-bit problem, but I don't 
> know if HP-UX on Itanium has different alignment requirements either.)
>
> -- c


I'm compiling for 32bit, and it looks like it is perl crashing, although 
I assume it is loading some parrot plugin that has been compiled?

[email protected] $ make
Compiling with:
xx.c
cc -I./include -AC99 +O2 -g +Z -I. -o xx.o -c xx.c
/rjr/perl/bin/perl tools/build/nativecall.pl src/call_list.txt
/rjr/perl/bin/perl tools/build/c2str.pl src/nci.c > src/nci.str
/rjr/perl/bin/perl tools/build/pmc2c.pl --vtable
make: *** [vtable.dump] Segmentation fault (core dumped)
make: *** Deleting file `vtable.dump'
[email protected] $ ll core
-rw-------   1 smoketst   smoketst   7341120 Dec  4 11:01 core
[email protected] $ /rjr/perl/bin/perl tools/build/pmc2c.pl 
--vtable
Memory fault(coredump)

[email protected] $ gdb /rjr/perl/bin/perl 
core                        
HP gdb 5.8 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.8 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for 
warranty/support.
..
Core was generated by `perl'.
Program terminated with signal 11, Segmentation fault.
SEGV_MAPERR - Address not mapped to object
b#0  Perl_av_undef () at av.c:489
489         if (SvTIED_mg((SV*)av, PERL_MAGIC_tied))
(gdb) bt
#0  Perl_av_undef () at av.c:489
#1  0x60000000c97409e0:0 in clean_retrieve_context () at Storable.xs:1494
#2  0x60000000c9740b00:0 in clean_context () at Storable.xs:1550
#3  0x60000000c9747860:0 in do_store () at Storable.xs:3716
#4  0x60000000c9747d70:0 in pstore () at Storable.xs:3812
#5  0x60000000c974be30:0 in XS_Storable_pstore () at Storable.xs:6345
#6  0x417c8a0:0 in Perl_pp_entersub () at pp_hot.c:2874
#7  0x4163180:0 in Perl_runops_standard () at run.c:38
#8  0x4073530:0 in S_run_body () at perl.c:2366
#9  0x4072a00:0 in perl_run () at perl.c:2287
#10 0x40612c0:0 in main () at perlmain.c:99
(gdb)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.