[Top][All Lists]

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

Segmentation fault on OSX for intel

From: joekewoud_
Subject: Segmentation fault on OSX for intel
Date: Wed, 04 Jan 2006 16:12:03 +0100
User-agent: Microsoft-Entourage/


When I start *any* gnustep program. Including most from the Tools directory
I get a segmentation fault

banana:/var/log joekewoud$ openapp Affiche.app
Segmentation fault
banana:/var/log joekewoud$

I compiled from source using the startup package. Startup Version 0.14.0
That contains GUI 0.10.2, back 0.10.2, base 1.11.2 and make 1.11.2

I work on MacosX for INTEL 10.4.3 8f1099 on the intel apple developer
platform. (Which is has a Pentium D as a CPU)

I use GCC4.02 FSF

The libraries I need are compiled using Darwinports (www.darwinports.org)

When using gdb i get:

(gdb) run
Starting program: /usr/GNUstep/Local/Applications/Affiche.app/Affiche
Reading symbols for shared libraries ..+.......+...............+ done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x746f7270
0x90a418b0 in objc_msgSend ()
(gdb) bt
#0  0x90a418b0 in objc_msgSend ()

This is the crashlog:

banana:/var/log joekewoud$ cat
Host Name:      banana
Date/Time:      2006-01-03 21:57:37.367 +0100
OS Version:     10.4.3 (Build 8F1099)
Report Version: 4

Command: Affiche
Path:    /usr/GNUstep/Local/Applications/Affiche.app/Affiche
Parent:  bash [237]

Version: ??? (???)

PID:    311
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x746f7270

Thread 0 Crashed:
0   libobjc.A.dylib     0x90a418b0 objc_msgSend + 16
1   dyld                0x8fe0e2d6
ImageLoaderMachO::doNotification(dyld_image_mode, unsigned, dyld_image_info
const*) + 70
2   dyld                0x8fe03409
dyld::notifyAdding(std::vector<ImageLoader*, std::allocator<ImageLoader*>
>&) + 201
3   dyld                0x8fe0c4bd
ImageLoader::runInitializers(ImageLoader::LinkContext const&) + 75
4   dyld                0x8fe02cfa dyld::initializeMainExecutable() + 112
5   Affiche             0x0000214d _call_mod_init_funcs + 36 (crt.c:305)
6   Affiche             0x00002079 _start + 79 (crt.c:240)
7   Affiche             0x00002029 start + 41

Thread 0 crashed with i386 Thread State:
eax: 0x746f7250    ebx: 0x90a404e8 ecx:0x90a4f33c edx: 0x00095470
edi: 0x00000000    esi: 0x00095470 ebp:0xbfffee58 esp: 0xbfffec98
 ss: 0x0000002f    efl: 0x00010282 eip:0x90a418b0  cs: 0x00000027
 ds: 0x0000002f     es: 0x0000002f  fs:0x00000000  gs: 0x00000037

Binary Images Description:
    0x1000 -    0x17fff Affiche
   0x81000 -    0x92fff libobjc-gnu.1.dylib
   0xdd000 -    0xe2fff libungif.4.dylib
   0xf2000 -    0xf4fff libdl.1.dylib   /opt/local/lib/libdl.1.dylib
  0x25c000 -   0x26dfff libz.1.dylib    /opt/local/lib/libz.1.dylib
  0x757000 -   0x777fff libaudiofile.0.dylib
 0x1008000 -  0x1215fff libgnustep-gui.dylib.0.10
 0x1817000 -  0x1a8cfff libgnustep-base.dylib.1.11
 0x1f6e000 -  0x2004fff libaspell.15.dylib
 0x28c4000 -  0x28fcfff libpng.3.dylib  /opt/local/lib/libpng.3.dylib
 0x2904000 -  0x294cfff libtiff.3.dylib
 0x29d4000 -  0x29effff libjpeg.62.dylib
 0x29f6000 -  0x29fefff libgcc_s.1.0.dylib
 0x2a25000 -  0x2a4dfff libgmp.3.dylib  /usr/local/lib/libgmp.3.dylib
 0x2aeb000 -  0x2b14fff libxslt.1.dylib
 0x2b97000 -  0x2c80fff libxml2.2.dylib
 0x2eb2000 -  0x2f87fff libiconv.2.dylib
 0x2fc6000 -  0x2fcefff libintl.3.dylib
0x8fe00000 - 0x8fe4bfff dyld 44.9       /usr/lib/dyld
0x90000000 - 0x90175fff libSystem.B.dylib       /usr/lib/libSystem.B.dylib
0x901ca000 - 0x901ccfff libmathCommon.A.dylib
0x907f0000 - 0x908b9fff com.apple.CoreFoundation 6.4.4 (368.22)
0x908fa000 - 0x909eefff libicucore.A.dylib      /usr/lib/libicucore.A.dylib
0x90a3f000 - 0x90abffff libobjc.A.dylib         /usr/lib/libobjc.A.dylib
0x90ae8000 - 0x90b4cfff libstdc++.6.dylib       /usr/lib/libstdc++.6.dylib
0x90bbb000 - 0x90bc2fff libgcc_s.1.dylib        /usr/lib/libgcc_s.1.dylib
0x90c4e000 - 0x90c60fff libauto.dylib   /usr/lib/libauto.dylib
0x9333c000 - 0x9333cfff libmx.A.dylib   /usr/lib/libmx.A.dylib
0x9a41e000 - 0x9a42dfff libICE.6.dylib  /usr/X11R6/lib/libICE.6.dylib
0x9a432000 - 0x9a437fff libSM.6.dylib   /usr/X11R6/lib/libSM.6.dylib
0x9bbfe000 - 0x9bcbefff libX11.6.dylib  /usr/X11R6/lib/libX11.6.dylib

banana:/var/log joekewoud$

I would like to write real portable applications. I feel GNUSTEP is the way.

Please help!


reply via email to

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