[This is a followup message for the slate bug #323126, filed in Debian ] [Bug Tracking System. See http://bugs.debian.org/323126 for details. ]

Hi,

Here's the backtrace for the bus error problem during slate build:

Starting program: /home/jurij/porting/slate-0.3.4.3/vm big.image

Program received signal SIGBUS, Bus error.
0x0001bda4 in ObjectPointer_dispatchTo_arity_above_ (name=1881579644,
    arguments=0x702a8e50, n=1, resendMethod=0) at ../../../../../vm.c:3180
3180                if (!(map -> dispatchID == currentDispatchID))
(gdb) bt
#0  0x0001bda4 in ObjectPointer_dispatchTo_arity_above_ (name=1881579644,
    arguments=0x702a8e50, n=1, resendMethod=0) at ../../../../../vm.c:3180
#1  0x0001cf68 in PSInterpreter_send_to_through_arity_withOptionals_ (
    i=0x702a8e7c, selector=1881579644, args=0x702a8e50, dispatchers=0x702a8e50,
    n=1, opts=0x0) at ../../../../../vm.c:3398
#2  0x0001f734 in PSInterpreter_sendMessage_withOptionals_ (i=0x702a8e7c, n=1,
    opts=0x0) at ../../../../../vm.c:1117
#3  0x0001e8e0 in PSInterpreter_interpret (i=0x702a8e7c)
    at ../../../../../vm.c:3755
#4  0x00011b58 in slateMain (argc=2, argv=0xef885a24) at ../boot.c:195
#5  0x000146b4 in main (argc=2, argv=0xef885a24) at main.c:5

The reason for bus error is an unaligned access to the dispatchID element of the map structure. It is declared as long long, so it must be aligned on the double-word boundary, but after all the casting it ends up with:

(gdb) print &map->dispatchID
$1 = (long long unsigned int *) 0x702b1564

So it's only word-aligned, and gets a SIGBUS as a result.

Best regards,

Jurij Smakov                                        [EMAIL PROTECTED]
Key: http://www.wooyd.org/pgpkey/                   KeyID: C99E03CC


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to