Problem in notification
Problem in notification
- Subject: Problem in notification
- From: Tom Doan <email@hidden>
- Date: Tue, 10 Jun 2014 17:42:41 -0500
- Priority: normal
I have a user of one of my software programs who has been having all kinds of
problems which I can't seem to reproduce, and have no idea how to even debug them.
I include below a traceback that he sent me. This is something that occurs almost right
away: launch the program, do File-New, and it is in the process of running a modal
dialog which includes an NSScrollView. I have an observer on viewContentFrameDidChange
and it's while processing that that it fails.
So far as I can tell, it shouldn't be where it is. If I run it and set a breakpoint on the observer,
it gets called in a completely different situation---the one that I intended. I have no idea what
it's trying to do here. (What's an NSScrollerImp?) and no idea how to trap it to figure out
what the problem is. Any help anyone can offer would be appreciated.
Tom Doan
Estima
Process: WinTDOSX [359]
Path: /Applications/WinTD 4.20/WinTDOSX.app/Contents/MacOS/WinTDOSX
Identifier: com.estima.WinTD
Version: 4.20 (4.20)
Code Type: X86-64 (Native)
Parent Process: launchd [154]
Responsible: WinTDOSX [359]
User ID: 501
Date/Time: 2014-06-10 15:34:56.670 -0400
OS Version: Mac OS X 10.9.2 (13C1021)
Report Version: 11
Anonymous UUID: 15F9A42A-3E8C-7B04-D878-7429EA0F52CF
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Regions Near 0:
-->
__TEXT 0000000100000000-00000001002d3000 [ 2892K] r-x/rwx SM=COW /Applications/WinTD
4.20/WinTDOSX.app/Contents/MacOS/WinTDOSX
Application Specific Information:
Performing @selector(respond:) from sender NSMenuItem 0x6180000af7e0
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.estima.WinTD 0x00000001000feadb -[ENSScrollView viewContentFrameDidChange:] + 76
1 com.apple.CoreFoundation 0x00007fff8cd2fe0c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ +
12
2 com.apple.CoreFoundation 0x00007fff8cc238dd _CFXNotificationPost + 2893
3 com.apple.AppKit 0x00007fff874d8193 -[NSView _postFrameChangeNotification] + 434
4 com.apple.AppKit 0x00007fff874e1852 -[NSView setFrameSize:] + 1586
5 com.apple.AppKit 0x00007fff8750a212 -[NSClipView setFrameSize:] + 380
6 com.apple.AppKit 0x00007fff874e11d9 -[NSView setFrame:] + 294
7 com.apple.AppKit 0x00007fff8750d178 -[NSScrollView _setContentViewFrame:] + 669
8 com.apple.AppKit 0x00007fff8750cacd -[NSScrollView _applyContentAreaLayout:] + 131
9 com.apple.AppKit 0x00007fff8750b0a4 -[NSScrollView tile] + 1943
10 com.apple.AppKit 0x00007fff87dc0f3e +[NSScrollerImpPair _updateAllScrollerImpPairsForNewRecommendedScrollerStyle:]
+ 401
11 com.apple.CoreFoundation 0x00007fff8cd2fe0c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__
+ 12
12 com.apple.CoreFoundation 0x00007fff8cc238dd _CFXNotificationPost + 2893
13 com.apple.Foundation 0x00007fff944d97ba -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
14 libdispatch.dylib 0x00007fff917cc1d7 _dispatch_call_block_and_release + 12
15 libdispatch.dylib 0x00007fff917c92ad _dispatch_client_callout + 8
16 libdispatch.dylib 0x00007fff917d0f03 _dispatch_main_queue_callback_4CF + 333
17 com.apple.CoreFoundation 0x00007fff8ccc85a9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
18 com.apple.CoreFoundation 0x00007fff8cc837c4 __CFRunLoopRun + 1636
19 com.apple.CoreFoundation 0x00007fff8cc82f25 CFRunLoopRunSpecific + 309
20 com.apple.HIToolbox 0x00007fff8d025a0d RunCurrentEventLoopInMode + 226
21 com.apple.HIToolbox 0x00007fff8d0257b7 ReceiveNextEventCommon + 479
22 com.apple.HIToolbox 0x00007fff8d0255bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
23 com.apple.AppKit 0x00007fff874aa3de _DPSNextEvent + 1434
24 com.apple.AppKit 0x00007fff874a9a2b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
25 com.apple.AppKit 0x00007fff87808e2e -[NSApplication _realDoModalLoop:peek:] + 642
26 com.apple.AppKit 0x00007fff8780754e -[NSApplication runModalForWindow:] + 117
27 com.estima.WinTD 0x00000001000f6758 EDialog::Process() + 88
28 com.estima.WinTD 0x000000010007c7e0 Tournament::DoNew() + 80
29 com.estima.WinTD 0x000000010007676d PairingsAppl::DoMenuCommand(long) + 235
30 com.estima.WinTD 0x00000001001692b9 -[MenuHandler respond:] + 87
31 com.apple.AppKit 0x00007fff876c8340 -[NSApplication sendAction:to:from:] + 327
32 com.apple.AppKit 0x00007fff876e32a8 -[NSMenuItem _corePerformAction] + 394
33 com.apple.AppKit 0x00007fff876e2fe4 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 117
34 com.apple.AppKit 0x00007fff8773248d -[NSMenu _internalPerformActionForItemAtIndex:] + 35
35 com.apple.AppKit 0x00007fff87732309 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 104
36 com.apple.AppKit 0x00007fff876d90d6 NSSLMMenuEventHandler + 716
37 com.apple.HIToolbox 0x00007fff8cfff1d4 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*)
+ 892
38 com.apple.HIToolbox 0x00007fff8cffe787 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*,
HandlerCallRec*) + 385
39 com.apple.HIToolbox 0x00007fff8d012880 SendEventToEventTarget + 40
40 com.apple.HIToolbox 0x00007fff8d048640 SendHICommandEvent(unsigned int, HICommand const*, unsigned int, unsigned
int, unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) + 420
41 com.apple.HIToolbox 0x00007fff8d07b238 SendMenuCommandWithContextAndModifiers + 59
42 com.apple.HIToolbox 0x00007fff8d07b1e0 SendMenuItemSelectedEvent + 178
43 com.apple.HIToolbox 0x00007fff8d07b0bf FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*) + 94
44 com.apple.HIToolbox 0x00007fff8d083095 MenuSelectCore(MenuData*, Point, double, unsigned int, OpaqueMenuRef**,
unsigned short*) + 718
45 com.apple.HIToolbox 0x00007fff8d082cc1 _HandleMenuSelection2 + 446
46 com.apple.AppKit 0x00007fff8764b73c _NSHandleCarbonMenuEvent + 284
47 com.apple.AppKit 0x00007fff874aa6be _DPSNextEvent + 2170
48 com.apple.AppKit 0x00007fff874a9a2b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
49 com.apple.AppKit 0x00007fff8749db2c -[NSApplication run] + 553
50 com.estima.WinTD 0x00000001000f4a22 EApplication::EventLoop() + 46
51 com.estima.WinTD 0x000000010007625c main + 1057
52 com.estima.WinTD 0x00000001000013c4 start + 52
_______________________________________________
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