[MacPorts] #40390: codeblocks: fix compatibility with wxWidgets 2.9/3.0

MacPorts noreply at macports.org
Sun Sep 29 12:04:36 PDT 2013


#40390: codeblocks: fix compatibility with wxWidgets 2.9/3.0
-------------------------+---------------------
  Reporter:  mojca@…     |      Owner:  mojca@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  codeblocks  |
-------------------------+---------------------

Comment (by mojca@…):

 In the meantime I tried to compile Code::Blocks without any plugin. While
 starting it the following Debug Alert is shown:
 {{{
 ../src/osx/carbon/region.cpp(1017): assert "m_refData" failed in
 DoOffset(): invalid wxRegion

 Call stack:
 [00] wxRegionBase::Offset(int, int)
 [01] wxWidgetCocoaImpl::drawRect(void*, NSView*, void*)
 [02] wxOSX_drawRect(NSView*, objc_selector*, CGRect)
 [03] -[NSView _drawRect:clip:]
 [04] -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
 [05] -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
 [06] -[NSView
 _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
 [07] -[NSNextStepFrame
 _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
 [08] -[NSView
 _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]
 [09] -[NSView displayIfNeeded]
 [10] -[NSNextStepFrame displayIfNeeded]
 [11] -[NSWindow
 _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:]
 [12] -[NSWindow
 _doOrderWindow:relativeTo:findKey:forCounter:force:isModal:]
 [13] -[NSWindow orderWindow:relativeTo:]
 [14] -[NSWindow makeKeyAndOrderFront:]
 [15] wxNonOwnedWindowCocoaImpl::Show(bool)
 [16] wxNonOwnedWindow::Show(bool)
 [17] cbSplashScreen::cbSplashScreen(wxBitmap&, long, wxWindow*, int, long)
 [18] CodeBlocksApp::OnInit()
 [19] wxApp::CallOnInit()
 [20] wxEntry(int&, wchar_t**)
 Do you want to stop the program?
 You can also choose [Cancel] to suppress further warnings.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/40390#comment:13>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list