Also mit dem Kalvträsk Set läufts wie geschmiert, zumindest mit dem kleinen.
Werd mal mit dem großen Hänger dokumentieren. Oder es versuchen.
GO auf OS X 10.6.8
-
-
Nach einem Hänger mit dem Ext.Set:
Thread 1
Zitat(gdb) thread 1
[Switching to thread 1 (Thread 0x1703 of process 12738)]
#0 0x00007fff80559d7a in mach_msg_trap () from /usr/lib/libSystem.B.dylib
(gdb) bt
#0 0x00007fff80559d7a in mach_msg_trap () from /usr/lib/libSystem.B.dylib
#1 0x00007fff8055a3ed in mach_msg () from /usr/lib/libSystem.B.dylib
#2 0x00007fff86064230 in _CGSSynchronizeWindowBackingStore ()
from /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
#3 0x00007fff86049da9 in _CGSLockWindow ()
from /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
#4 0x00007fff8605093f in CGSDeviceLock ()
from /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
#5 0x00007fff80722e7b in err_codes_unix () from /usr/lib/libSystem.B.dylib
#6 0x00007fff807291f9 in __block_descriptor_tmp_2.99 () from /usr/lib/libSystem.B.dylib
#7 0x00007fff80728e61 in module_mutex () from /usr/lib/libSystem.B.dylib
#8 0x00007fff80726f96 in wtmp_file () from /usr/lib/libSystem.B.dylib
#9 0x00007fff86086c0a in CGContextDrawImage ()
from /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
#10 0x00000001008c194a in wxMacDrawCGImage(CGContext*, CGRect const*, CGImage*) () from /usr/local/lib/libwx_osx_cocoau_core-3.0.dylib
#11 0x00000001008c5469 in wxMacCoreGraphicsContext::DrawBitmap(wxGraphicsBitmap const&, double, double, double, double) ()
from /usr/local/lib/libwx_osx_cocoau_core-3.0.dylib
#12 0x00000001008c538c in wxMacCoreGraphicsContext::DrawBitmap(wxBitmap const&, double, double, double, double) ()
from /usr/local/lib/libwx_osx_cocoau_core-3.0.dylib
#13 0x000000010093f53d in wxGCDCImpl::DoStretchBlit(int, int, int, int, wxDC*, int, int, int, int, wxRasterOperationMode, bool, int, int) ()
from /usr/local/lib/libwx_osx_cocoau_core-3.0.dylib
#14 0x000000010093f27d in wxGCDCImpl::DoBlit(int, int, int, int, wxDC*, int, int, wxRasterOperationMode, bool, int, int) ()
from /usr/local/lib/libwx_osx_cocoau_core-3.0.dylib
#15 0x000000010017277d in Blit (xdest=3, ydest=0, width=<optimized out>, height=11, source=0x0, xsrc=3, ysrc=0, rop=wxCOPY, useMask=false, xsrcMask=-1,
ysrcMask=-1, this=<optimized out>) at /usr/local/Cellar/wxmac/3.0.2/include/wx-3.0/wx/dc.h:1248
#16 wxGaugeAudio::SetValue (this=0x10289cab0, what=<error reading variable: Cannot access memory at address 0x0>)
at /Applications/grandourgue/ourorgan-svn-1944-trunk/src/grandorgue/wxGaugeAudio.cpp:79
#17 0x000000010011db82 in GOrgueFrame::OnMeters (this=0x10200ec00, event=...)
at /Applications/grandourgue/ourorgan-svn-1944-trunk/src/grandorgue/GrandOrgueFrame.cpp:497
#18 0x0000000100ef09e6 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
from /usr/local/lib/libwx_baseu-3.0.dylib
#19 0x0000000100ef08f6 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/local/lib/libwx_baseu-3.0.dylib
#20 0x0000000100ef13e3 in wxEvtHandler::TryHereOnly(wxEvent&) () from /usr/local/lib/libwx_baseu-3.0.dylib
#21 0x0000000100ef1308 in wxEvtHandler::ProcessEventLocally(wxEvent&) () from /usr/local/lib/libwx_baseu-3.0.dylib
#22 0x0000000100ef1299 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/local/lib/libwx_baseu-3.0.dylib
#23 0x0000000100ef1153 in wxEvtHandler::ProcessPendingEvents() () from /usr/local/lib/libwx_baseu-3.0.dylib
#24 0x0000000100e3affb in wxAppConsoleBase::ProcessPendingEvents() () from /usr/local/lib/libwx_baseu-3.0.dylib
#25 0x0000000100ed7ca2 in wxCFEventLoop::CommonModeObserverCallBack(__CFRunLoopObserver*, int) () from /usr/local/lib/libwx_baseu-3.0.dylib
#26 0x00007fff8527ab07 in t.2065 () from /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
#27 0x00007fff85256434 in t.2065 () from /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
#28 0x00007fff85255d8f in t.2065 () from /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
#29 0x00007fff848ad7ee in ?? () from /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
#30 0x00007fff848ad5f3 in ?? () from /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
#31 0x00007fff848ad4ac in ?? () from /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
#32 0x00007fff87f92eb2 in _DPSNextEvent () from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
#33 0x00007fff87f92801 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
---Type <return> to continue, or q <return> to quit---
#34 0x00007fff87f5868f in -[NSApplication run] () from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
#35 0x000000010090417e in wxGUIEventLoop::OSXDoRun() () from /usr/local/lib/libwx_osx_cocoau_core-3.0.dylib
#36 0x0000000100ed8185 in wxCFEventLoop::DoRun() () from /usr/local/lib/libwx_baseu-3.0.dylib
#37 0x0000000100e5f1f6 in wxEventLoopBase::Run() () from /usr/local/lib/libwx_baseu-3.0.dylib
#38 0x0000000100e3ab2a in wxAppConsoleBase::MainLoop() () from /usr/local/lib/libwx_baseu-3.0.dylib
#39 0x00000001008bb9ae in wxApp::OnRun() () from /usr/local/lib/libwx_osx_cocoau_core-3.0.dylib
#40 0x000000010001234d in GOrgueApp::OnRun (this=0x7fff5fbfd610) at /Applications/grandourgue/ourorgan-svn-1944-trunk/src/grandorgue/GrandOrgue.cpp:151
#41 0x0000000100e888d1 in wxEntry(int&, wchar_t**) () from /usr/local/lib/libwx_baseu-3.0.dylib
#42 0x00000001000112ba in main (argc=5395, argv=0x3) at /Applications/grandourgue/ourorgan-svn-1944-trunk/src/grandorgue/GrandOrgue.cpp:44Thread 2
Zitat(gdb) thread 2
[Switching to thread 2 (Thread 0x1903 of process 12738)]
#0 0x00007fff80572c0a in kevent () from /usr/lib/libSystem.B.dylib
(gdb) bt
#0 0x00007fff80572c0a in kevent () from /usr/lib/libSystem.B.dylib
#1 0x00007fff80574add in _dispatch_mgr_invoke () from /usr/lib/libSystem.B.dylib
#2 0x00007fff805747b4 in _dispatch_queue_invoke () from /usr/lib/libSystem.B.dylib
#3 0x00007fff805742de in _dispatch_worker_thread2 () from /usr/lib/libSystem.B.dylib
#4 0x00007fff80573c08 in _pthread_wqthread () from /usr/lib/libSystem.B.dylib
#5 0x00007fff80573aa5 in start_wqthread () from /usr/lib/libSystem.B.dylib
#6 0x0000000000000000 in ?? ()Thread 5
Zitat(gdb) thread 5
[Switching to thread 5 (Thread 0x1c03 of process 12738)]
#0 0x00007fff80559d7a in mach_msg_trap () from /usr/lib/libSystem.B.dylib
(gdb) bt
#0 0x00007fff80559d7a in mach_msg_trap () from /usr/lib/libSystem.B.dylib
#1 0x00007fff8055a3ed in mach_msg () from /usr/lib/libSystem.B.dylib
#2 0x00000001010469c1 in XServerMachPort::ReceiveMessage(int&, void*, int&) () from /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI
#3 0x000000010106373d in MIDIProcess::RunMIDIInThread() () from /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI
#4 0x0000000101047ace in XThread::RunHelper(void*) () from /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI
#5 0x0000000101047509 in CAPThread::Entry(CAPThread*) () from /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI
#6 0x00007fff80592fd6 in _pthread_start () from /usr/lib/libSystem.B.dylib
#7 0x00007fff80592e89 in thread_start () from /usr/lib/libSystem.B.dylib
#8 0x0000000000000000 in ?? ()Thread 7
Zitat(gdb) thread 7
[Switching to thread 7 (Thread 0x1d07 of process 12738)]
#0 0x00007fff80559d7a in mach_msg_trap () from /usr/lib/libSystem.B.dylib
(gdb) bt
#0 0x00007fff80559d7a in mach_msg_trap () from /usr/lib/libSystem.B.dylib
#1 0x00007fff8055a3ed in mach_msg () from /usr/lib/libSystem.B.dylib
#2 0x00007fff85256902 in t.2065 () from /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
#3 0x00007fff85255d8f in t.2065 () from /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
#4 0x00007fff83fe5786 in HALRunLoop::OwnThread(void*) () from /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
#5 0x00007fff83fd2755 in CAPThread::Entry(CAPThread*) () from /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
#6 0x00007fff80592fd6 in _pthread_start () from /usr/lib/libSystem.B.dylib
#7 0x00007fff80592e89 in thread_start () from /usr/lib/libSystem.B.dylib
#8 0x0000000000000000 in ?? ()Thread 12
Zitat(gdb) thread 12
[Switching to thread 12 (Thread 0x1a07 of process 12738)]
#0 0x00007fff80594a6a in __semwait_signal () from /usr/lib/libSystem.B.dylib
(gdb) bt
#0 0x00007fff80594a6a in __semwait_signal () from /usr/lib/libSystem.B.dylib
#1 0x00007fff80598881 in _pthread_cond_wait () from /usr/lib/libSystem.B.dylib
#2 0x0000000100ee3161 in wxSemaphoreInternal::Wait() () from /usr/local/lib/libwx_baseu-3.0.dylib
#3 0x0000000100055894 in Wait (this=<optimized out>) at /Applications/grandourgue/ourorgan-svn-1944-trunk/src/grandorgue/GOLock.h:86
#4 0x0000000100ee3943 in wxThread::CallEntry() () from /usr/local/lib/libwx_baseu-3.0.dylib
#5 0x0000000100ee378b in wxThreadInternal::PthreadStart(wxThread*) () from /usr/local/lib/libwx_baseu-3.0.dylib
#6 0x00007fff80592fd6 in _pthread_start () from /usr/lib/libSystem.B.dylib
#7 0x00007fff80592e89 in thread_start () from /usr/lib/libSystem.B.dylib
#8 0x0000000000000000 in ?? ()Thread 13
Zitat(gdb) thread 13
[Switching to thread 13 (Thread 0x1b07 of process 12738)]
#0 0x00007fff80594a6a in __semwait_signal () from /usr/lib/libSystem.B.dylib
(gdb) bt
#0 0x00007fff80594a6a in __semwait_signal () from /usr/lib/libSystem.B.dylib
#1 0x00007fff805948f9 in nanosleep () from /usr/lib/libSystem.B.dylib
#2 0x00007fff80594863 in usleep () from /usr/lib/libSystem.B.dylib
#3 0x00000001000a2422 in GOrgueMemoryPool::Entry (this=0x1018dd840)
at /Applications/grandourgue/ourorgan-svn-1944-trunk/src/grandorgue/GOrgueMemoryPool.cpp:494
#4 0x0000000100ee3943 in wxThread::CallEntry() () from /usr/local/lib/libwx_baseu-3.0.dylib
#5 0x0000000100ee378b in wxThreadInternal::PthreadStart(wxThread*) () from /usr/local/lib/libwx_baseu-3.0.dylib
#6 0x00007fff80592fd6 in _pthread_start () from /usr/lib/libSystem.B.dylib
#7 0x00007fff80592e89 in thread_start () from /usr/lib/libSystem.B.dylib
#8 0x0000000000000000 in ?? ()Thread 14
Zitat(gdb) thread 14
[Switching to thread 14 (Thread 0x2203 of process 12738)]
#0 0x00007fff80594a6a in __semwait_signal () from /usr/lib/libSystem.B.dylib
(gdb) bt
#0 0x00007fff80594a6a in __semwait_signal () from /usr/lib/libSystem.B.dylib
#1 0x00007fff80598881 in _pthread_cond_wait () from /usr/lib/libSystem.B.dylib
#2 0x0000000100ee3161 in wxSemaphoreInternal::Wait() () from /usr/local/lib/libwx_baseu-3.0.dylib
#3 0x0000000100055894 in Wait (this=<optimized out>) at /Applications/grandourgue/ourorgan-svn-1944-trunk/src/grandorgue/GOLock.h:86
#4 DoWait (this=<optimized out>) at /Applications/grandourgue/ourorgan-svn-1944-trunk/src/grandorgue/GOLock.h:311
#5 Wait (this=<optimized out>) at /Applications/grandourgue/ourorgan-svn-1944-trunk/src/grandorgue/GOLock.h:363
#6 GOSoundThread::Entry (this=0x1142c0ee0) at /Applications/grandourgue/ourorgan-svn-1944-trunk/src/grandorgue/GOSoundThread.cpp:54
#7 0x0000000100ee3943 in wxThread::CallEntry() () from /usr/local/lib/libwx_baseu-3.0.dylib
#8 0x0000000100ee378b in wxThreadInternal::PthreadStart(wxThread*) () from /usr/local/lib/libwx_baseu-3.0.dylib
#9 0x00007fff80592fd6 in _pthread_start () from /usr/lib/libSystem.B.dylib
#10 0x00007fff80592e89 in thread_start () from /usr/lib/libSystem.B.dylib
#11 0x0000000000000000 in ?? ()Thread 15
Zitat(gdb) thread 15
[Switching to thread 15 (Thread 0x2303 of process 12738)]
#0 0x00007fff80559dda in semaphore_timedwait_signal_trap () from /usr/lib/libSystem.B.dylib
(gdb) bt
#0 0x00007fff80559dda in semaphore_timedwait_signal_trap () from /usr/lib/libSystem.B.dylib
#1 0x00007fff80598772 in _pthread_cond_wait () from /usr/lib/libSystem.B.dylib
#2 0x00007fff83fd268c in CAGuard::WaitFor(unsigned long long) () from /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
#3 0x00007fff83fd4c1b in CAGuard::WaitUntil(unsigned long long) () from /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
#4 0x00007fff83fd2d85 in HP_IOThread::WorkLoop() () from /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
#5 0x00007fff83fd2827 in HP_IOThread::ThreadEntry(HP_IOThread*) () from /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
#6 0x00007fff83fd2755 in CAPThread::Entry(CAPThread*) () from /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
#7 0x00007fff80592fd6 in _pthread_start () from /usr/lib/libSystem.B.dylib
#8 0x00007fff80592e89 in thread_start () from /usr/lib/libSystem.B.dylib
#9 0x0000000000000000 in ?? () -
Der Fehler deutet auf keinen Hänger in GO hin. Thread 2 bis 15 sind unauffällig.
Thread 1 lässt das OS X gerade eine Grafik auf den Bildschirm zeichnen:Zitat
#0 0x00007fff80559d7a in mach_msg_trap () from /usr/lib/libSystem.B.dylib
#1 0x00007fff8055a3ed in mach_msg () from /usr/lib/libSystem.B.dylib
#2 0x00007fff86064230 in _CGSSynchronizeWindowBackingStore () from /System/Library/Frameworks/ApplicationServices.framework/Ver sions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGra phics
#3 0x00007fff86049da9 in _CGSLockWindow () from /System/Library/Frameworks/ApplicationServices.framework/Ver sions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGra phics
#4 0x00007fff8605093f in CGSDeviceLock () from /System/Library/Frameworks/ApplicationServices.framework/Ver sions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGra phics
#5 0x00007fff80722e7b in err_codes_unix () from /usr/lib/libSystem.B.dylib
#6 0x00007fff807291f9 in __block_descriptor_tmp_2.99 () from /usr/lib/libSystem.B.dylib
#7 0x00007fff80728e61 in module_mutex () from /usr/lib/libSystem.B.dylib
#8 0x00007fff80726f96 in wtmp_file () from /usr/lib/libSystem.B.dylib
#9 0x00007fff86086c0a in CGContextDrawImage () from /System/Library/Frameworks/ApplicationServices.framework/Ver sions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGra phics
So das Userinterface von GO hängt (keine Reaktion auf Maus/Tastatur), würde ich von einen Problem in OS X ausgehen. Es wirkt auf mich wie ein Hänger bei der Synchronisierung der Bildschirmausgabe, der auch in anderen Programmen auftreten könnte.Google findet ähnliche Hänger, zB:
https://code.google.com/p/chromium/issues/detail?id=230908
http://www.scsc.no/blog/2007/09-1…rver-hangs.htmlIrgendetwas ausfälliges beim WindowServer Prozess?
Für OS X 10.6.8 gibt es wahrscheinlich keine Updates mehr. Grafiktreiber aktuell?
-
-
Also seit heute hängt das kalvtrask-Set sofort, bei 3, 4 Tönen bleibt GO hängen.
-
Wenn OS X hängt, kann ich wenig machen - das Auftreten des Fehlers sollte auch nichts mit den Sampleset zu tun haben.
* Schau, das alle Updates (OS X + Grafiktreiber) eingespielt sind.
* Die Änderung beim Vergleich vom meter_count [inkl. make danach - siehe letzter Beitrag von mir], reduziert die Nutzung der Funktion und daher die Auftretenswahrscheinlichkeit.
* Klassifiziere mehere Hänger im GDB [wie zu letzt]:
Wenn du in "thread 1" einen Hänger ohne _CGSSynchronizeWindowBackingStore () im bt Output hast, hast du etwas neues zum Posten.
Wenn _CGSSynchronizeWindowBackingStore () im bt Output auftritt, wieder mittels "thread 1" zu diesen Thread wechseln. Dann "finish" eingeben.
Wenn nichts weiter passiert, sind die Grafik-Routinen stecken geblieben. Es bleibt nur eine Reduktion der Grafikausgabe, damit der Hänger weniger wahrscheinlich auftritt.
Falls der gdb Prompt wieder kommt, 10 Mal wiederholt "bt" und dann "finish" machen. Wenn irgendeines der finish hängen bleibt, siehe oben. Wenn das letzte "finish" wieder zum GO Prompt führt, hängt OS X nicht komplett. -