• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
My App crash on 10.7.5, but works on 10.8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

My App crash on 10.7.5, but works on 10.8


  • Subject: My App crash on 10.7.5, but works on 10.8
  • From: Peng Gu <email@hidden>
  • Date: Fri, 19 Apr 2013 08:21:23 -0400

I have an app, which made it to the App Store just a few days ago. But I
received a few crash reports from some users.

*The information is as following:*

Exception Type:  EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000

Application Specific Information:
objc[3449]: garbage collection is OFF
objc[3449]: cannot form weak reference to instance (0x10e761920) of class
LSMainWindowController

*In the LSMainWindowController, I have the following declaration:*
@property(unsafe_unretained, nonatomic) IBOutlet LSTextView *textView;
#if __has_feature(objc_arc_weak)
@property(weak, nonatomic) LSAppDelegate *appDelegate;
#else
@property(unsafe_unretained, nonatomic) LSAppDelegate *appDelegate;
#endif

*In the applicationDidFinishLaunching method in AppDelegate:*
if (!_mainWindowController) {
    _mainWindowController = [[LSMainWindowController alloc]
initWithWindowNibName:@"LSMainWindow"];
}
[_mainWindowController showWindow:self];


Any thoughts? Really need to fix this as soon as possible.

-
Peng
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: My App crash on 10.7.5, but works on 10.8
      • From: Uli Kusterer <email@hidden>
  • Prev by Date: Showing a drawer on a sheet
  • Next by Date: Re: Showing a drawer on a sheet
  • Previous by thread: Re: Showing a drawer on a sheet
  • Next by thread: Re: My App crash on 10.7.5, but works on 10.8
  • Index(es):
    • Date
    • Thread