help-gnustep
[Top][All Lists]
Advanced

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

A segfault in deserializeFromInfo().


From: Jefferson Harlough
Subject: A segfault in deserializeFromInfo().
Date: Thu, 01 Aug 2002 15:03:55 +0000

Hello. I'm fairly new to GNUstep, and I've run into a slight problem while trying to get it working on my system.

I'm using GNUstep Base 1.4.0, GNUstep GUI 0.7.9, GNUstep Make 1.4.0 and GNUstep Back 0.7.9. This is on a Pentium4 system running Mandrake 8.2 (Linux linux 2.4.18 #13 Mon Jul 15 23:22:24 EDT 2002 i686 unknown). I'm using GCC 3.1.1 as the compiler, with "-O3 -march=pentium4 -mcpu=pentium4 -mmmx -m3dnow -msse -msse2" added by me via $CFLAGS.

I followed some instructions I found on the site as to how to compile and configure GNUstep. GNUstep ./configured'ed and compiled fine. The several gnustep-base-1.4.0/Testing programs that I tried seemed to run without problems (or at least not segfaults).

I proceeded to compile (without problem) the examples in the GNUstep Examples 0.9.7 package. However, when I went to run them, I was getting segfaults.

Here is the backtrace from GDB when the NSPanelTest is run:

(gdb) run
Starting program: /home/jh/gnustep/gnustep-examples-0.9.7/gui/Classes/NSPanelTest/NSPanelTest.app/ix86/linux-gnu/gnu-gnu-gnu/NSPanelTest
bt
[New Thread 1024 (LWP 23208)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 23208)]
0x403fe4e3 in deserializeFromInfo ()
from /opt/GNUstep/System/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-base.so.1
(gdb) bt
#0  0x403fe4e3 in deserializeFromInfo ()
from /opt/GNUstep/System/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-base.so.1 #1 0x403ffac7 in _c_NSDeserializer__deserializePropertyListFromData_mutableContainers_ () from /opt/GNUstep/System/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-base.so.1
#2  0x401fdbd1 in _i_GSServicesManager__loadServices ()
from /opt/GNUstep/System/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-gui.so.0
#3  0x401fce57 in _c_GSServicesManager__newWithApplication_ ()
from /opt/GNUstep/System/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-gui.so.0
#4  0x400b07a4 in _i_NSApplication__init ()
from /opt/GNUstep/System/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-gui.so.0
#5  0x0804baca in _i_NSPanelTest__init ()
#6  0x0804db14 in main ()
#7  0x406cf280 in __libc_start_main () from /lib/libc.so.6
(gdb)


I could recompile with the "-g3" option if that'll help improve the backtrace information.

In any case, the backtraces from the Calculator program were also pretty much the same. The segfaults seemed to be in deserializeFromInfo().

Are there any known problems, perhaps when using GCC 3.1.1 with the options I mentioned above, that would result in such a problem? Could I have forgotten to or perhaps misconfigured something while building and installing GNUstep that could lead to this error? Any known workarounds?

 Thanks,
   J. Harlough

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com




reply via email to

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