Re: Xcode 3.1.2 segmentation fault
Re: Xcode 3.1.2 segmentation fault
- Subject: Re: Xcode 3.1.2 segmentation fault
- From: Markus Handell <email@hidden>
- Date: Tue, 05 May 2009 10:33:59 +0200
- Thread-topic: Xcode 3.1.2 segmentation fault
Title: Re: Xcode 3.1.2 segmentation fault
I also have this problem! D**n it.
I’m using cmake 2.6 patch 3 which is used to generate projects for me. The problem is that cmake has a check for working C compiler. This test fails. In short, this test:
- creates an xcode project with some custom script phases
- attempts to build the project with xcodebuild
The problem is that xcodebuild segfaults after successful build (*** BUILD SUCEEDED ***). The backtrace is:
0x96e05688 in objc_msgSend ()
(gdb) bt
#0 0x96e05688 in objc_msgSend ()
#1 0x9349ce4f in NSPopAutoreleasePool ()
#2 0x0000b6ce in ?? ()
#3 0x000023c2 in ?? ()
(gdb)
Seems that some object was both released and autoreleased?
Anyway, I’ve tested this on another machine of equal operating system and Xcode versions in the lab and they succeed. What’s going on?
I also checked the load commands of xcodebuild to see if the loaded libraries differ between my machine and the other lab machines, and indeed, CoreServices and libgcc_s.1 differ, although the operating system version is 10.5.6 and Xcode is 3.1.2 on both machines. Maybe I should also note that I’ve installed the iPhone SDK but have since uninstalled it before attempting to cleanly re-install the Mac-only 3.1.2.
Has anybody else had this problem. Is my only remedy to try to cleanly reinstall Mac OS X?
/Markus
On 2009-05-05 09.55, "Markus Handell" <email@hidden> wrote:
> Hello Xcode-users,
>
> with Xcode 3.1.2 I get a segmentation fault when I compile a standard
> Cocoa app with "xcodebuild -project TestApp.xcodeproj - configuration
> Debug" or "-configuration Release" in Terminal.
>
> Touch /Users/ralph/Projects/Cocoa/Tests/TestApp/build/Debug/ TestApp.app
> cd /Users/ralph/Projects/Cocoa/Tests/TestApp
> /usr/bin/touch -c /Users/ralph/Projects/Cocoa/Tests/TestApp/ build/Debug/TestApp.app
> ** BUILD SUCCEEDED **
> Segmentation fault
>
> Is this a bug? Can anyone reproduce this?
3.1.2 has been out for several months and this is the first report I've heard of this. Please look in the Console to see if there's anything informative there, and file a bug at bugreporter.apple.com with as much information as you can provide.
It looks like your build completes successfully; is the TestApp.app build product usable?
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden