While updating my application from 2.9.2 to 2.9.3 I encountered an crash
that I was able to duplicate with the controls sample.
Here is the stack trace:
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 ...arbonu_core-2.9.3.0.0.dylib 0x00151639 wxRegion::GetWXHRGN()
const + 9
1 ...arbonu_core-2.9.3.0.0.dylib 0x001d0346
wxMacWindowClipper::wxMacWindowClipper(wxWindow const*) + 182
2 ...arbonu_core-2.9.3.0.0.dylib 0x001d1ec3
wxMacMLTEControl::SetSelection(long, long) + 35
3 ...arbonu_core-2.9.3.0.0.dylib 0x00109abc
wxTextEntry::SetInsertionPoint(long) + 28
4 ...arbonu_core-2.9.3.0.0.dylib 0x00109ade
wxTextEntry::SetInsertionPointEnd() + 30
5 ...arbonu_core-2.9.3.0.0.dylib 0x00322ada
wxTextEntryBase::AppendText(wxString const&) + 26
6 ...arbonu_core-2.9.3.0.0.dylib 0x0031a273
wxTextCtrlBase::operator<<(wxString const&) + 35
7 org.wxwindows.samples.controls 0x00006f31
MyPanel::OnPageChanging(wxBookCtrlEvent&) + 609
8 libwx_baseu-2.9.3.0.0.dylib 0x007da2a8
wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&,
wxEvent&) const + 104
...
My application encountered the same error when I called InitDialog()
before a dialog containing a wxTextEntry control was shown, and also
when loading a wxPanel containing a wxDirPickerCtrl into a
wxPropertySheetDialog - once again it was the wxTextEntry component that
caused the issues.
It issue seems to be that the wxTextEntry control isn't yet displayed
but is still trying to be updated.
The configure options used were:
../configure CC=gcc-4.0 CXX=g++-4.0 LD=g++-4.0
--with-macosx-version-min=10.4
--with-macosx-sdk=/Developer/SDKs/MacOSX10.4u.sdk --with-osx_carbon
--enable-stl --enable-std_iostreams --enable-std_string --with-zlib=builtin
Sorry I wasn't able to check for this earlier.
Regards
Dion
DW> While updating my application from 2.9.2 to 2.9.3 I encountered an crash
DW> that I was able to duplicate with the controls sample.
I think this was fixed in r70064 (after 2.9.3, unfortunately).
Sorry about this bug,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
Dion