I post here the stack when the test on Mutex say it's locked :
#0 0x0000000100545ca2 in layprop::PropertyCenter::lockDrawProp(layprop::DrawProperties*&, layprop::PropertyState) at /Users/yaya/Documents/Dev/toped/tpd_DB/viewprop.cpp:428
#1 0x000000010004d5b7 in tui::LayoutCanvas::update_viewport() ()
#2 0x0000000100041bd6 in tui::LayoutCanvas::OnpaintGL(wxPaintEvent&) ()
#3 0x0000000100e78ab1 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
#4 0x0000000100e7cb2a in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
#5 0x0000000100e81142 in wxEvtHandler::TryBeforeAndHere(wxEvent&) ()
#6 0x0000000100e7cbac in wxEvtHandler::ProcessEventLocally(wxEvent&) ()
#7 0x0000000100e7bfce in wxEvtHandler::ProcessEvent(wxEvent&) ()
#8 0x0000000100e7a352 in wxEvtHandler::SafelyProcessEvent(wxEvent&) ()
#9 0x000000010104d8ea in wxWindowBase::HandleWindowEvent(wxEvent&) const ()
#10 0x0000000100eafbf2 in wxWindow::MacDoRedraw(long) ()
#11 0x0000000100f5dec7 in wxWidgetCocoaImpl::drawRect(void*, NSView*, void*) ()
#12 0x0000000100f5ef0d in wxOSX_drawRect(NSView*, objc_selector*, CGRect) ()
#13 0x00007fff89e5fabe in -[NSView _drawRect:clip:] ()
#14 0x00007fff89e8d1eb in -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] ()
#15 0x00007fff89e5d099 in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] ()
#16 0x00007fff89e5e34e in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] ()
#17 0x00007fff89e5e34e in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] ()
#18 0x00007fff89e5c593 in -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] ()
#19 0x00007fff89e579af in -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] ()
#20 0x00007fff89e50429 in -[NSView displayIfNeeded] ()
#21 0x0000000100f020ea in wxStatusBar::DoUpdateStatusText(int) ()
#22 0x0000000100577d53 in console::TopedStatus::OnRenderON() ()
#23 0x0000000100577fde in TpdPost::render_status(bool) ()
#24 0x000000010027a7a4 in DataCenter::openGlRender(CTM const&) ()
#25 0x000000010027b58c in DataCenter::render(CTM const&) ()
#26 0x0000000100041dd6 in tui::LayoutCanvas::OnpaintGL(wxPaintEvent&) ()
#27 0x0000000100e78ab1 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
#28 0x0000000100e7cb2a in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
#29 0x0000000100e81142 in wxEvtHandler::TryBeforeAndHere(wxEvent&) ()
#30 0x0000000100e7cbac in wxEvtHandler::ProcessEventLocally(wxEvent&) ()
#31 0x0000000100e7bfce in wxEvtHandler::ProcessEvent(wxEvent&) ()
#32 0x0000000100e7a352 in wxEvtHandler::SafelyProcessEvent(wxEvent&) ()
#33 0x000000010104d8ea in wxWindowBase::HandleWindowEvent(wxEvent&) const ()
#34 0x0000000100eafbf2 in wxWindow::MacDoRedraw(long) ()
#35 0x0000000100f5dec7 in wxWidgetCocoaImpl::drawRect(void*, NSView*, void*) ()
#36 0x0000000100f5ef0d in wxOSX_drawRect(NSView*, objc_selector*, CGRect) ()
#37 0x00007fff89e5fabe in -[NSView _drawRect:clip:] ()
#38 0x00007fff89e8d1eb in -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] ()
#39 0x00007fff89e5d099 in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] ()
#40 0x00007fff89e5e34e in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] ()
#41 0x00007fff89e5e34e in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] ()
#42 0x00007fff89e5c593 in -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] ()
#43 0x00007fff89e579af in -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] ()
#44 0x00007fff89e50429 in -[NSView displayIfNeeded] ()
#45 0x00007fff89e4fb69 in _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints ()
#46 0x00007fff8b194bd7 in __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ ()
#47 0x00007fff8b194b36 in __CFRunLoopDoObservers ()
#48 0x00007fff8b169ce9 in __CFRunLoopRun ()
#49 0x00007fff8b169676 in CFRunLoopRunSpecific ()
#50 0x00007fff8710031f in RunCurrentEventLoopInMode ()
#51 0x00007fff8710751b in ReceiveNextEventCommon ()
#52 0x00007fff87107456 in BlockUntilNextEventMatchingListInMode ()
#53 0x00007fff89e13f5d in _DPSNextEvent ()
#54 0x00007fff89e13861 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#55 0x00007fff8a0ca39d in -[NSApplication _realDoModalLoop:peek:] ()
#56 0x00007fff8a0c9fd1 in -[NSApplication runModalForWindow:] ()
#57 0x00007fff8a0bd635 in -[NSAlert runModal] ()
#58 0x0000000100f4c120 in wxMessageDialog::ShowModal() ()
#59 0x0000000100e85260 in wxMessageBox(wxString const&, wxString const&, long, wxWindow*, int, int) ()
#60 0x0000000100f63ad1 in wxGUIAppTraitsBase::ShowAssertDialog(wxString const&) ()
#61 0x0000000100d61d81 in ShowAssertDialog(wxString const&, int, wxString const&, wxString const&, wxString const&, wxAppTraits*) ()
#62 0x0000000100d61fbc in wxAppConsoleBase::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t const*, wchar_t const*) ()
#63 0x0000000100d60991 in wxDefaultAssertHandler(wxString const&, int, wxString const&, wxString const&, wxString const&) ()
#64 0x0000000100d60e2f in wxOnAssert(char const*, int, char const*, char const*, wchar_t const*) ()
#65 0x0000000100f268ee in wxGenericListCtrl::GetItem(wxListItem&) const ()
#66 0x0000000100572a45 in wxListCompareFunction(long, long, long) ()
#67 0x0000000100f234ca in list_ctrl_compare_func_1(wxListLineData**, wxListLineData**) ()
#68 0x00007fff8e80bb11 in heapsort ()
#69 0x00007fff8e80b75e in _qsort ()
#70 0x00007fff8e80b75e in _qsort ()
#71 0x00007fff8e80b75e in _qsort ()
#72 0x0000000100f2842f in wxListMainWindow::SortItems(int (*)(long, long, long), long) ()
#73 0x0000000100f28452 in wxGenericListCtrl::SortItems(int (*)(long, long, long), long) ()
#74 0x000000010056d6fe in console::TELLFuncList::OnCommand(wxCommandEvent&) ()
#75 0x0000000100e78ab1 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
#76 0x0000000100e7cb2a in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
#77 0x0000000100e81142 in wxEvtHandler::TryBeforeAndHere(wxEvent&) ()
#78 0x0000000100e7cbac in wxEvtHandler::ProcessEventLocally(wxEvent&) ()
#79 0x0000000100e7bfce in wxEvtHandler::ProcessEvent(wxEvent&) ()
#80 0x0000000100e7b8a9 in wxEvtHandler::ProcessPendingEvents() ()
#81 0x0000000100d62f11 in wxAppConsoleBase::ProcessPendingEvents() ()
#82 0x0000000100e55591 in wxCFEventLoop::CommonModeObserverCallBack(__CFRunLoopObserver*, int) ()
#83 0x00007fff8b194bd7 in __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ ()
#84 0x00007fff8b194b36 in __CFRunLoopDoObservers ()
#85 0x00007fff8b169ce9 in __CFRunLoopRun ()
#86 0x00007fff8b169676 in CFRunLoopRunSpecific ()
#87 0x00007fff8710031f in RunCurrentEventLoopInMode ()
#88 0x00007fff8710751b in ReceiveNextEventCommon ()
#89 0x00007fff87107456 in BlockUntilNextEventMatchingListInMode ()
#90 0x00007fff89e13f5d in _DPSNextEvent ()
#91 0x00007fff89e13861 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#92 0x00007fff89e1019d in -[NSApplication run] ()
#93 0x0000000100f445bc in wxGUIEventLoop::DoRun() ()
#94 0x0000000100e5597f in wxCFEventLoop::Run() ()
#95 0x0000000100d612ab in wxAppConsoleBase::MainLoop() ()
#96 0x0000000100ee7581 in wxApp::OnRun() ()
#97 0x0000000100057b7d in TopedApp::OnRun() ()
#98 0x0000000100dd7c46 in wxEntry(int&, wchar_t**) ()
#99 0x0000000100058414 in main ()
The call is from onPaintGL.
I try to go further
Regards
Yannick
Le mercredi 29 février 2012 11:14:03 UTC+1, s1s0 a écrit :