|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] GNU Smalltalk crashes when calling xcb_create_window via cCall |
Date: | Tue, 29 Sep 2009 02:26:02 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Lightning/1.0pre Thunderbird/3.0b3 |
On 09/28/2009 10:38 PM, Dmitry Matveev wrote:
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb7bb38d0 (LWP 27965)] 0xb7e4a34b in _gst_dictionary_add (dictionaryOOP=0x40353818, associationOOP=0x403587e8) at dict.c:1861 1861 SET_ASSOCIATION_VALUE (associationOOP, value);
This is expected, SIGSEGV is trapped by GNU Smalltalk for garbage collection. At the beginning of every gdb session you should type
handle SIGSEGV noprintIf you do this, you should get a SIGABRT for the crash, which is the actual important backtrace.
It could be a libffi bug, or a gst bug (gst uses libffi), or anything else. But it is interesting no matter where it lies! :-) Please send the right backtrace, maybe we can track this down.
BTW, it is possible that you see more (or simply different) problems than Gwen because different ABIs may specify different ways to return structures by value. In particular it looks like you're on 32-bit while Gwen, AFAIK, works on a 64-bit machine.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |