Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: crash on window closing




On Apr 30, 2006, at 7:03 AM, Koen van der Drift wrote:

Hi,

My app crashes when closing the main window. The debug window shows the following info:

#0	0xfffeff20 in objc_msgSend_rtp
#1	0x925175a8 in -[NSClipView setNextKeyView:]
#2	0x925189e4 in -[NSScrollView setNextKeyView:]
#3	0x9259aaf0 in -[NSView _recursiveBreakKeyViewLoop]
#4	0x902bf960 in CFArrayApplyFunction
#5	0x9259ab84 in -[NSView _recursiveBreakKeyViewLoop]
#6	0x902bf960 in CFArrayApplyFunction
#7	0x9259ab84 in -[NSView _recursiveBreakKeyViewLoop]
#8	0x92599e70 in -[NSWindow dealloc]
#9	0x90adb968 in NSPopAutoreleasePool
#10	0x924fb354 in -[NSApplication run]
#11	0x925ebe68 in NSApplicationMain
#12	0x00002adc in main at main.m:13


As far as I can see this is not directly related to my app, and I am not sure how to approach this to find what's going on.


Any suggestions where to start looking?

Looks like you're releasing the window too many times.

-jcr


John C. Randolph <email@hidden> (408) 914-0013 Roaming Cocoa Engineer, Available for your projects at great Expense and Inconvenience.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >crash on window closing (From: Koen van der Drift <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.