Re: Crash in terminate: on Mavericks
Re: Crash in terminate: on Mavericks
- Subject: Re: Crash in terminate: on Mavericks
- From: James Walker <email@hidden>
- Date: Mon, 21 Jan 2019 13:21:03 -0800
On 1/21/19 11:38 AM, Georg Seifert wrote:
Your symbol settings are wrong. Make sure you use a target that has any.
DEBUG_INFORMATION_FORMAT = dwarf
COPY_PHASE_STRIP = NO
STRIP_INSTALLED_PRODUCT = NO
>
> Then you should at least see where it happens.
>
I have:
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
COPY_PHASE_STRIP = NO
STRIP_INSTALLED_PRODUCT = YES
DEPLOYMENT_POSTPROCESSING = NO
Is there something wrong with using dSYM? I'm building on a different
machine (with a different OS) that where I'm testing, and the nice thing
about dSYM is that I can easily copy it over to the test machine along
with the app.
As for stripping, DEPLOYMENT_POSTPROCESSING = NO should make
STRIP_INSTALLED_PRODUCT = YES do nothing.
Georg
Am 21.01.2019 um 18:39 schrieb James Walker <email@hidden>:
On 1/18/19 6:30 PM, Ken Thomases wrote:
You haven't included the nature of the crash, like an access violation or
uncaught exception. That would be in the lines just above the excerpt you
sent. Also, if you're able to reproduce this yourself, try running your app
under the Zombies instrument template.
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000010c3013e6
I used LLDB, and said
env NSZombieEnabled=YES
before starting the process. That didn't make any apparent difference. But
thanks for the suggestion.
On Jan 18, 2019, at 6:48 PM, James Walker <email@hidden> wrote:
When my app runs in Mavericks (10.9.5), it crashes on quit, but in High Sierra
it's fine. The backtrace doesn't show any of my code, so I'm not sure how to
proceed. I don't suppose this means anything to anyone?
Application Specific Information:
Performing @selector(terminate:) from sender NSMenuItem 0x6180002a0780
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 ??? 0x000000010c3013e6 0 + 4499444710
1 com.apple.Foundation 0x00007fff952019d3 -[NSRecursiveLock
lock] + 11
2 com.apple.AppKit 0x00007fff93355ed1 -[NSApplication
_copyWindows] + 68
3 com.apple.AppKit 0x00007fff93355e79 -[NSApplication
windows] + 17
4 com.apple.AppKit 0x00007fff93589e0f
-[NSPersistentUIManager
flushAllChangesOptionallyWaitingUntilDone:updatingSnapshots:] + 384
5 com.apple.AppKit 0x00007fff93589c58
-[NSPersistentUIManager flushPersistentStateAndClose:waitingUntilDone:] + 181
6 com.apple.AppKit 0x00007fff935d7347 -[NSApplication
terminate:] + 1671
7 ??? 0x0000000102e436a0 0 + 4343477920
8 com.apple.AppKit 0x00007fff93582260 -[NSApplication
sendAction:to:from:] + 327
9 ??? 0x000000010319fdf3 0 + 4347002355
10 com.apple.AppKit 0x00007fff9359d1c8 -[NSMenuItem
_corePerformAction] + 394
11 com.apple.AppKit 0x00007fff9359cf04 -[NSCarbonMenuImpl
performActionWithHighlightingForItemAtIndex:] + 117
12 com.apple.AppKit 0x00007fff9359c07c -[NSMenu
performKeyEquivalent:] + 289
13 com.apple.AppKit 0x00007fff935988e1 -[NSApplication
_handleKeyEquivalent:] + 822
14 com.apple.AppKit 0x00007fff93507acc -[NSApplication
sendEvent:] + 3293
15 ??? 0x00000001031a01d4 0 + 4347003348
16 com.apple.AppKit 0x00007fff933579f9 -[NSApplication run]
+ 646
17 com.apple.AppKit 0x00007fff93342783 NSApplicationMain +
940
18 ??? 0x00000001034e3f10 0 + 4350426896
19 ??? 0x0000000102e3e034 0 + 4343455796
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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