help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Bus error while building GST 3.2 on SPARC Linux


From: Bruno Haible
Subject: Re: [Help-smalltalk] Bus error while building GST 3.2 on SPARC Linux
Date: Tue, 27 Jul 2010 23:27:53 +0200
User-agent: KMail/1.9.9

Gabriel Cuvillier wrote:
> _gst_mem_alloc (h=0x38fd8, sz=184) at alloc.c:222
> 222           blk->vSmall.free = mem->next;
> 
> (gdb) x mem
> 0x46141ede:     Cannot access memory at address 0x46141ede

This value of 'mem' is unaligned, explaining the SIGBUS.

If it had been aligned, a SIGSEGV would have been generated, and
libsigsegv's handler would have been triggered. But since even after
filling in a memory page an unaligned address remains an unaligned address,
it would have been pointless to invoke libsigsegv's handler. So, there
is no need to change libsigsegv.

Bruno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]