Re: [NSInputContext currentInputContext] crash
Re: [NSInputContext currentInputContext] crash
- Subject: Re: [NSInputContext currentInputContext] crash
- From: Aki Inoue <email@hidden>
- Date: Tue, 14 Mar 2006 21:16:37 -0800
This happens when [[NSApp keyWindow] firstResponder] returns a
deallocated object. Since NSWindow does not retain the first
responder, it is possible it's deallocated prematurely if something's
over-releasing it.
We also have received some reports on this issue but never been able
to reproduce it reliably (it depends on the app, too).
Aki
Hi all, a couple of our users are having an intermittent crash with
the following trace - does anyone know what may be causing this (and
a fix)?
Exception: EXC_BREAKPOINT (0x0006)
Code[0]: 0x00000001
Code[1]: 0x909c8cc0
Thread 0 Crashed:
0 libobjc.A.dylib 0x909c8cc0 _objc_trap + 0
1 libobjc.A.dylib 0x909c8c34 _objc_error + 76
2 libobjc.A.dylib 0x909c8bc4 __objc_error + 64
3 com.apple.AppKit 0x9366d134 +[NSInputContext
currentInputContext] + 140
4 com.apple.AppKit 0x9366cf10 +[NSInputContext
updateInputContexts] + 52
5 com.apple.AppKit 0x9366cd3c -[NSApplication
updateWindows] + 120
6 com.apple.AppKit 0x9366cc68
_handleWindowsNeedUpdateNote + 72
7 com.apple.CoreFoundation 0x9075ccd8
__CFRunLoopDoObservers + 352
8 com.apple.CoreFoundation 0x9075cf78 __CFRunLoopRun + 420
9 com.apple.CoreFoundation 0x9075ca18 CFRunLoopRunSpecific
+ 268
10 com.apple.HIToolbox 0x9318f1e0
RunCurrentEventLoopInMode + 264
11 com.apple.HIToolbox 0x9318e7ec
ReceiveNextEventCommon + 244
12 com.apple.HIToolbox 0x9318e6e0
BlockUntilNextEventMatchingListInMode + 96
13 com.apple.AppKit 0x9366c104 _DPSNextEvent + 384
14 com.apple.AppKit 0x9366bdc8 -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
15 com.apple.AppKit 0x9366830c -[NSApplication run]
+ 472
16 com.apple.AppKit 0x93758e68 NSApplicationMain + 452
17 com.novamind.app.NovaMind 0x0000264c _start + 340 (crt.c:
272)
18 com.novamind.app.NovaMind 0x000024f4 start + 60
I did see the same question on the list in 2004, but no answers.
Thanks
Gideon King
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden