[perl #38314] [BUG] Assertion on HP-UX at r11242

Will Coleda via RT parrotbug-followup at parrotcode.org
Tue Dec 2 21:50:42 UTC 2008


On Mon Jan 23 06:25:25 2006, nick.glencross at gmail.com wrote:
> I've just had a look at why the HP-UX smoke stopped after 17 Jan.
> 
> We are currently getting the following assertion:
> 
> gcc -o miniparrot -L/usr/local/lib   compilers/imcc/main.o \
>  blib/lib/libparrot.a  -lnm -ldld -lm -lcrypt -lsec -lpthread -lBSD
> src/null_config.o
> Invoking Parrot to generate runtime/parrot/include/config.fpmc --cross
> your fingers
> ./miniparrot config_lib.pasm > runtime/parrot/include/config.fpmc
> Assertion failed: (PTR2UINTVAL(mmd_table[i].func_ptr) & 3) == 0, file
> src/mmd.c, line 2169
> /bin/sh: 26639 Abort(coredump)
> make: *** [runtime/parrot/include/config.fpmc] Error 134
> 
> This assertion was added at r11242, and looks quite reasonable to me.
> A quick investigation shows that the pointer isn't aligned to 4 bytes
> (the addresses all end in '2' or 'a'), and printing the actual
> function pointer from the PMC init code makes it look like pointers
> need not be aligned(!).
> 
> Nick

This report is against a very old version of parrot; the MMD system in 
particular has gone through quite a few changes in the ~3 years since 
then.

If you still have access to an HP-UX system, please retest against a 
recent parrot and open a new ticket via https://trac.parrot.org/parrot/ if you find any new issues.

Closing ticket.

-- 
Will "Coke" Coleda


More information about the parrot-dev mailing list