[wxMac only?] Exception sample not working

H H at h.com
Fri Jan 18 23:26:25 PST 2008


Currently I have tested 2.8 branch latest version but I also tested it 
sporadically since 2.7:

Compiling wx with the configuration

./configure --with-mac --enable-debug --enable-unicode 
--disable-universal --disable-monolithic --enable-gui --disable-shared 
--enable-exceptions --without-odbc --with-opengl

entering make and going to the sample folder except and also entering 
make results in a sample that:

 - catches thrown strings -> OK
 - crashes badly when ints and objects are thrown.

Here is the dump:

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  0

Thread 0 Crashed:
0   libSystem.B.dylib               0x93a25ca8 __kill + 12
1   libSystem.B.dylib               0x93aca7b4 abort + 84
2   libstdc++.6.dylib               0x947dee24 
__gnu_cxx::__verbose_terminate_handler() + 400
3   libstdc++.6.dylib               0x947dc940 __gxx_personality_v0 + 
1240
4   libstdc++.6.dylib               0x947dc9a4 std::terminate() + 68
5   libstdc++.6.dylib               0x947dcbe4 __cxa_throw + 124
6   org.wxwindows.samples.except    0x00003e68 
MyDialog::OnThrowObject(wxCommandEvent&) + 164 (except.cpp:486)

Does it only crash on Macs or is this a general GCC problem or a bug in 
wxWidgets? BTW: I am using GCC 4.0.1.

Hartwig






More information about the wx-users mailing list