|
From: | Fred Kiefer |
Subject: | Re: Illegal instruction when running plmerge or a built app |
Date: | Tue, 20 Mar 2012 08:25:41 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120215 Thunderbird/10.0.2 |
On 20.03.2012 00:18, David Chisnall wrote:
On 19 Mar 2012, at 21:38, Alister Hood wrote:OK, thanks, that seems more promising - no illegal instruction running plmerge when building things. But it still crashes when I try to run any app. After also rebuilding gnustep-gui with debugging enabled, here's what I get: Program received signal SIGILL, Illegal instruction. 0xb7cfc9c3 in -[NSMenuView sizeToFit] () from /opt/GNUstep/lib/libgnustep-gui.so.0.23 (gdb) bt #0 0xb7cfc9c3 in -[NSMenuView sizeToFit] () from /opt/GNUstep/lib/libgnustep-gui.so.0.23No debugging symbols, so I can't be certain, but I would expect this to happen if you are sending a message that returns a struct (e.g. NSRect, NSPoint, or NSSize) to a nil receiver and you compiled with a recent GCC or a very old clang.
The method in question is rather long, so I cannot rule this possibility out for sure, but at a first glimpse I could not spy such a method call. What seems strange to me is that the back trace shows debug symbols further down, even for the gui library. This looks like code from two separate instances of gui gets loaded. Could you please make sure that you recompiled back and all themes and what ever else you load into your application?
Fred
[Prev in Thread] | Current Thread | [Next in Thread] |