Controls sample crash - 2.9.3 OS X Carbon

18 views
Skip to first unread message

Dion Whittaker

unread,
Jan 12, 2012, 12:24:55 AM1/12/12
to wx-u...@googlegroups.com
Hello,

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

Vadim Zeitlin

unread,
Jan 12, 2012, 9:23:59 AM1/12/12
to wx-u...@googlegroups.com
On Thu, 12 Jan 2012 13:24:55 +0800 Dion Whittaker <dwhit...@cnsvs.com> wrote:

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 Whittaker

unread,
Jan 13, 2012, 3:02:18 AM1/13/12
to wx-u...@googlegroups.com
On 12/01/12 10:23 PM, Vadim Zeitlin wrote:
> On Thu, 12 Jan 2012 13:24:55 +0800 Dion Whittaker<dwhit...@cnsvs.com> wrote:
>
> 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
>
Thanks, that's what I get for not having an opportunity to test the
release candidate.
I'll download the trunk and try again.

Dion

Reply all
Reply to author
Forward
0 new messages