sindhya / iphone-dev

Automatically exported from code.google.com/p/iphone-dev
0 stars 0 forks source link

Compiling Apollo Causes Segfault #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Compiling it causes issues.

Apollo .1 svn Revision: 102

ApolloIMApp.m: In function '-[ApolloIMApp
applicationIsReadyToSuspend]':ApolloIMApp.m:107: internal compiler error:
Segmentation faultPlease submit a full bug report,with preprocessed source
if appropriate.See <URL:http://developer.apple.com/bugreporter> for
instructions.make: *** [ApolloIMApp.o] Error 1

Original issue reported on code.google.com by mikelike...@gmail.com on 11 Sep 2007 at 7:28

GoogleCodeExporter commented 9 years ago

Original comment by nightwat...@gmail.com on 11 Sep 2007 at 8:32

GoogleCodeExporter commented 9 years ago

Original comment by nightwat...@gmail.com on 11 Sep 2007 at 9:51

GoogleCodeExporter commented 9 years ago

Original comment by nightwat...@gmail.com on 11 Sep 2007 at 10:11

GoogleCodeExporter commented 9 years ago
Running delta against this to see what's wrong.

Original comment by nightwat...@gmail.com on 11 Sep 2007 at 10:12

GoogleCodeExporter commented 9 years ago
The following reproduces the bug:

-----

#import <Foundation/Foundation.h>

@interface FooApp : NSObject

@end

@implementation FooApp

- (void)foo
{
    NSLog(@"foo");
    NSLog(@"bar"); 
}

@end

-----

Forwarded. In the meantime, if LLVM-GCC 4.2 looks to be this unstable from the 
outset, we're screwed. We 
need to downgrade to LLVM-GCC 4.0 for now and go with that for the time being.

Original comment by nightwat...@gmail.com on 12 Sep 2007 at 1:11

GoogleCodeExporter commented 9 years ago
You can produce the bug without even calling NSLog.

just NSString *foo = @"Foo"; etc will do it.

Original comment by mikelike...@gmail.com on 12 Sep 2007 at 1:13

GoogleCodeExporter commented 9 years ago
Should be fixed, in that we dropped back to LLVM-GCC 4.0 until 4.2 is more 
stable.

Original comment by nightwat...@gmail.com on 12 Sep 2007 at 4:54