Broken Save Window
Broken Save Window
- Subject: Broken Save Window
- From: Dominic Feira <email@hidden>
- Date: Thu, 30 Sep 2004 17:19:26 -0400
Hello. (Sorry this is so long)
I am putting up a save window with the following code:
NSSavePanel* savePanel = [NSSavePanel savePanel];
[savePanel setRequiredFileType: [mRecordingFilePath pathExtension]];
[savePanel setCanSelectHiddenExtension: TRUE];
[savePanel setExtensionHidden: FALSE];
if([savePanel runModal] == NSOKButton)...
Every once in a while the window locks up on me hard...locking up the entire program.
Here is a dump of where:
#0 0x90016f48 in semaphore_wait_signal_trap ()
#1 0x9000e790 in _pthread_cond_wait ()
#2 0x92dc9d24 in -[NSViewHierarchyLock lockForWriting] ()
#3 0x92dd2b74 in -[NSView renewGState] ()
#4 0x92dca578 in -[NSView _invalidateGStatesForTree] ()
#5 0x92de6210 in -[NSView _invalidateFocus] ()
#6 0x92e2f994 in -[NSClipView setDocumentView:] ()
#7 0x92eaf3bc in -[NSBrowser reloadColumn:] ()
#8 0x92efd66c in -[NSNavBrowserDelegate reloadChildrenForNode:] ()
#9 0x92f600c8 in -[NSNavDataSource _handleChildrenChanged:] ()
#10 0x909f7184 in _nsnote_callback ()
#11 0x901aa5c8 in __CFXNotificationPost ()
#12 0x901aefd8 in _CFXNotificationPostNotification ()
#13 0x909f4fd0 in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
#14 0x92f6001c in +[NSNavFBEContainerNode _postNotification:parent:child:fbeProperty:] ()
#15 0x92f5fc90 in +[NSNavFBEContainerNode _processNotifications:] ()
#16 0x90a1a790 in __NSFireMainThreadPerform ()
#17 0x901e461c in __CFRunLoopPerformPerform ()
#18 0x90193cb0 in __CFRunLoopDoSources0 ()
#19 0x90191568 in __CFRunLoopRun ()
#20 0x90195e94 in CFRunLoopRunSpecific ()
#21 0x927d5f88 in RunCurrentEventLoopInMode ()
#22 0x927dc6f0 in ReceiveNextEventCommon ()
#23 0x927fe6c8 in BlockUntilNextEventMatchingListInMode ()
#24 0x92dd227c in _DPSNextEvent ()
#25 0x92de8c24 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#26 0x92dfcf8c in -[NSApplication run] ()
#27 0x92eb948c in NSApplicationMain ()
You can see a picture of the problem at:
http://mahajir.ambrosiasw.com/~dominic/brokensavewindow.jpg
If anybody has any ideas as to what is causing this or suggestions on a solution I'd appreciate it.
Dominic Feira / Code Monkey / Ambrosia Software, Inc.
_______________________________________________
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