Issue 1076 in qsb-mac: Intermittent hang in middle of search in 2.0.0.3767

4 views
Skip to first unread message

qsb...@googlecode.com

unread,
Aug 11, 2010, 7:45:16 AM8/11/10
to qsb-mac...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect OpSys-All Priority-Medium

New issue 1076 by dalewis: Intermittent hang in middle of search in
2.0.0.3767
http://code.google.com/p/qsb-mac/issues/detail?id=1076

What steps will reproduce the problem?
1. Hotkey to launch QSB box
2. Begin typing a search term (like s-a-f-a for safari)
3. Beachball

What is the expected output? What do you see instead?
Typing should complete.

What version of the product are you using? On what operating system?
2.0.0.3767

Please provide any additional information below.
This is intermittent, but noticeable -- maybe 1 out of 10 or 20 times. It
has always been after 3 or 4 letters have been typed and the application
I'm pursuing is resolved, i just haven't hit return yet. I have pasted a
sample below.

If you would like to log an enhancement or feature request instead of a
defect/bug, please use the "Enhancement report from user" template instead
by changing the value of the template popup.

Please see the following link for tips on effective bug reporting:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

Sampling process 59357 for 3 seconds with 1 millisecond of run time between
samples
Sampling completed, processing symbols...
Analysis of sampling Quick Search Box (pid 59357) every 1 millisecond
Call graph:
2531 Thread_1255055 DispatchQueue_1: com.apple.main-thread (serial)
2531 start
2531 main
2531 NSApplicationMain
2531 -[NSApplication run]
2531 -[QSBApplication sendEvent:]
2531 -[NSApplication sendEvent:]
2531 -[NSWindow sendEvent:]
2531 -[QSBTextField keyDown:]
2531 -[NSTextView keyDown:]
2531 -[NSView interpretKeyEvents:]
2531 -[NSTextInputContext handleEvent:]
2531 TSMProcessRawKeyEvent
2531 TSMKeyEvent
2531 SendUnicodeTextAEToUnicodeDoc
2531 SendTSMEvent
2531 SendEventToEventTarget
2531
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*,
HandlerCallRec*)
2531
DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*)
2531 _NSTSMEventHandler
2531 -[NSTextInputContext
handleTSMEvent:]
2531 -[NSTextView
insertText:replacementRange:]
2531 -[QSBTextField
didChangeText]
2531
-[NSTextView(NSSharing) didChangeText]
2531
-[NSNotificationCenter postNotificationName:object:userInfo:]
2531
_CFXNotificationPostNotification
2531
__CFXNotificationPost
2531
_nsnote_callback
2531
-[QSBSearchWindowController textDidChange:]
2531
-[QSBSearchController setTokenizedQueryString:pivotObjects:]
2531
-[QSBSearchController stopQuery]
2531
-[QSBSearchController cancelAndReleaseQueryController]
2531
-[HGSQueryController cancel]
2531
-[SLFilesOperation cancel]

2531 MDQueryStop

2531 cleanupPokerPortLocked

2531 mach_msg

2531
mach_msg_trap
2531 Thread_1255059 DispatchQueue_2: com.apple.libdispatch-manager
(serial)
2531 start_wqthread
2531 _pthread_wqthread
2531 _dispatch_worker_thread2
2531 _dispatch_queue_invoke
2531 _dispatch_mgr_invoke
2530 kevent
1 _dispatch_mgr_thread2
1 _dispatch_queue_serial_drain_till_empty
1 _dispatch_queue_drain
2531 Thread_1255061
2531 thread_start
2531 _pthread_start
2531 google_breakpad::ExceptionHandler::WaitForMessage(void*)
2531 mach_msg
2531 mach_msg_trap
2531 Thread_1255081
2531 thread_start
2531 _pthread_start
2531 __NSThread__main__
2531 -[HGSSuggestSource suggestionFetchingThread:]
2531 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
2531 CFRunLoopRunSpecific
2531 __CFRunLoopRun
2531 __CFRunLoopDoSources0
2531 MultiplexerSource::perform()
2531 URLConnectionClient::processEvents()
2531
URLConnectionClient::ClientConnectionEventQueue::processAllEventsAndConsumePayload(XConnectionEventInfo<XClientEvent,
XClientEventParams>*, long)
2531
URLConnectionClient::_clientDidFinishLoading(URLConnectionClient::ClientConnectionEventQueue*)
2531 _NSURLConnectionDidFinishLoading
2531 0x100391747
2531 -[HGSSuggestSource
httpFetcher:finishedWithData:]
2531 -[HGSSuggestSource
suggestionsRequestCompleted:forOperation:]
2531
-[NSObject(NSThreadPerformAdditions)
performSelectorOnMainThread:withObject:waitUntilDone:]
2531
-[NSObject(NSThreadPerformAdditions)
performSelector:onThread:withObject:waitUntilDone:modes:]
2531 -[NSCondition wait]
2531 _pthread_cond_wait
2531 __semwait_signal
2531 Thread_1255082
2531 thread_start
2531 _pthread_start
2531 __NSThread__main__
2531 -[HGSSuggestSource suggestionFetchingThread:]
2531 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
2531 CFRunLoopRunSpecific
2531 __CFRunLoopRun
2531 mach_msg
2531 mach_msg_trap
2531 Thread_1255084
2531 thread_start
2531 _pthread_start
2531 __CFSocketManager
2531 select$DARWIN_EXTSN
2531 Thread_1255085
2531 thread_start
2531 _pthread_start
2531 __NSThread__main__
2531 -[MountSearchSource mountSearchSourceTracker:]
2531 CFRunLoopRun
2531 CFRunLoopRunSpecific
2531 __CFRunLoopRun
2531 mach_msg
2531 mach_msg_trap
2531 Thread_1255091
2531 thread_start
2531 _pthread_start
2531 __NSThread__main__
2531 +[NSURLConnection(NSURLConnectionReallyInternal)
_resourceLoadLoop:]
2531 CFRunLoopRunSpecific
2531 __CFRunLoopRun
2531 mach_msg
2531 mach_msg_trap
2531 Thread_1593834 DispatchQueue_6: com.apple.root.default-priority
(serial)
2531 start_wqthread
2531 _pthread_wqthread
2531 _dispatch_worker_thread2
2531 _dispatch_call_block_and_release
2531 ____startOperations_block_invoke_2
2531 -[__NSOperationInternal start]
2531 -[NSInvocationOperation main]
2531 -[NSInvocation invoke]
2531 __invoking___
2531 -[HGSSearchOperation queryOperation:]
2531 -[SLFilesOperation main]
2531 MDQueryExecute
2531 _MDQueryExecute
2531 CFRunLoopRunSpecific
2531 __CFRunLoopRun
2531 __CFMachPortPerform
2531 pokerPortCallBack
2531 pthread_mutex_lock
2531 semaphore_wait_signal_trap
2531 Thread_1593863 DispatchQueue_73: Query work queue (serial)
2531 start_wqthread
2531 _pthread_wqthread
2531 _dispatch_worker_thread2
2531 _dispatch_queue_invoke
2531 _dispatch_queue_drain
2531 _dispatch_queue_invoke
2531 _dispatch_source_invoke
2531 mach_msg_server_once
2531 MDSClientCallbacks_server
2531 _XQueryResultsCallback
2531 doQueryResultsCallback
2531 _MDQueryCallback
2531 tryProcessUpdates
2531 processUpdatesLocked
2531 _pushNotification
2531 _pthread_cond_wait
2531 __semwait_signal
2139 Thread_1593940
2139 start_wqthread
2139 _pthread_wqthread
2139 __workq_kernreturn
392 Thread_1593960
392 start_wqthread
392 _pthread_wqthread
392 __workq_kernreturn

Total number in stack (recursive counted multiple, when >=5):
6 _pthread_start
6 thread_start
5 CFRunLoopRunSpecific
5 __CFRunLoopRun
5 _pthread_wqthread
5 mach_msg
5 mach_msg_trap
5 start_wqthread

Sort by top of stack, same collapsed (when >= 5):
mach_msg_trap 12655
__semwait_signal 5062
__workq_kernreturn 2531
select$DARWIN_EXTSN 2531
semaphore_wait_signal_trap 2531
kevent 2530
Sample analysis of process 59357 written to file /dev/stdout


qsb...@googlecode.com

unread,
Aug 30, 2010, 7:32:12 AM8/30/10
to qsb-mac...@googlegroups.com

Comment #1 on issue 1076 by dalewis: Intermittent hang in middle of search
in 2.0.0.3767
http://code.google.com/p/qsb-mac/issues/detail?id=1076

This issue appears to be resolved in the latest build, 2.0.0.3789. Thanks!

qsb...@googlecode.com

unread,
Sep 13, 2011, 1:28:26 PM9/13/11
to qsb-mac...@googlegroups.com

Comment #2 on issue 1076 by chuck.b...@gmail.com: Intermittent hang in

This has started happening quite frequently lately, in particular after the
second character typed. QSB will usually hang with the SBBoD and very
little CPU/RAM usage, though occasionally it will hang while spiking the
CPU usage to 120-150%. In both cases it requires a force quit.

Process sample attached.

System information:
15" MBP 2.66 GHz Core 2 Duo, 8GB 1067 RAM, Mac OS X 10.6.8 (version 1, the
pre-supplemental update version)

Let me know if there is any other information that might help!

Cheers,
-Chuck

Attachments:
Sample of Quick Search Box.txt 5.9 KB

Reply all
Reply to author
Forward
0 new messages