Tried wx 2.9.1:
- compiles without thunky-error
- new and interesting crash:
Assertion failed: ../wxWidgets-2.9.1/include/wx/strvararg.h:wxArgNormalizer:449: Assertion '(argtype & (wxFormatStringSpecifier<T>::value)) == argtype' failed. format specifier doesn't match argument type
Backtrace follows:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff50eb100 in wcslen () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0 0x00007ffff50eb100 in wcslen () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff5ed1a59 in operator+ (pwz=0x0, str=...)
at ../wxWidgets-2.9.1/src/common/string.cpp:700
#2 0x000000000079f617 in operator+ (buf=..., string=...)
at /home/martin/amule/wx291/wxWidgets-2.9.1/include/wx/string.h:4022
#3 0x000000000079ec20 in get_backtrace (n=3)
at ../../../../trunk/src/libs/common/MuleDebug.cpp:405
#4 0x000000000079f4c4 in print_backtrace (n=3)
at ../../../../trunk/src/libs/common/MuleDebug.cpp:476
#5 0x0000000000460a84 in CamuleApp::OnAssertFailure (this=0xe19400,
file=0xe97b80 L"../wxWidgets-2.9.1/include/wx/strvararg.h", line=449,
func=0xe98460 L"wxArgNormalizer",
cond=0xe98b80 L"(argtype & (wxFormatStringSpecifier<T>::value)) == argtype", msg=0xe98630 L"format specifier doesn't match argument type")
at ../../trunk/src/amule.cpp:1091
#6 0x00007ffff5e3cb1b in wxDefaultAssertHandler (file=..., line=449,
func=..., cond=..., msg=...)
at ../wxWidgets-2.9.1/src/common/appbase.cpp:1053
#7 0x00007ffff5e3d277 in wxOnAssert (
file=0x7ffff624d318 "../wxWidgets-2.9.1/include/wx/strvararg.h", line=449,
func=0x7ffff624d430 "wxArgNormalizer",
---Type <return> to continue, or q <return> to quit---
cond=0x7ffff624d2d8 "(argtype & (wxFormatStringSpecifier<T>::value)) == argtype", msg=0x7ffff624d2a8 "format specifier doesn't match argument type")
at ../wxWidgets-2.9.1/src/common/appbase.cpp:1129
#8 0x00007ffff623f3a0 in wxArgNormalizer<unsigned int>::wxArgNormalizer (
this=0x7fffffffd1e0, value=1, fmt=0x7fffffffd270, index=4)
at ../wxWidgets-2.9.1/include/wx/strvararg.h:449
#9 0x00007ffff623f2e6 in wxArgNormalizerUtf8<unsigned int>::wxArgNormalizerUtf8 (this=0x7fffffffd1e0, value=1, fmt=0x7fffffffd270, index=4)
at ../wxWidgets-2.9.1/include/wx/strvararg.h:481
#10 0x00007ffff623f0da in wxString::Format<unsigned int, unsigned int, unsigned int, unsigned int> (f1=..., a1=127, a2=0, a3=1, a4=1)
at ../wxWidgets-2.9.1/include/wx/string.h:2325
#11 0x00007ffff623e457 in wxIPV4address::IPAddress (this=0x7fffffffd300)
at ../wxWidgets-2.9.1/src/common/sckaddr.cpp:882
#12 0x00000000007799a8 in StringHosttoUint32 (Host=...)
at ../../trunk/src/NetworkFunctions.cpp:83
#13 0x000000000045b732 in CamuleApp::OnInit (this=0xe19400)
at ../../trunk/src/amule.cpp:380
#14 0x0000000000656250 in CamuleGuiApp::OnInit (this=0xe19400)
at ../../trunk/src/amule-gui.cpp:275
#15 0x0000000000467039 in wxAppConsoleBase::CallOnInit (this=0xe19400)
---Type <return> to continue, or q <return> to quit---
at /home/martin/amule/wx291/wxWidgets-2.9.1/include/wx/app.h:92
#16 0x00007ffff5ea7541 in wxEntry (argc=@0x7ffff6214150, argv=0xddc880)
at ../wxWidgets-2.9.1/src/common/init.cpp:456
#17 0x00007ffff5ea7632 in wxEntry (argc=@0x7fffffffe20c, argv=0x7fffffffe2f8)
at ../wxWidgets-2.9.1/src/common/init.cpp:484
#18 0x0000000000655553 in main (argc=1, argv=0x7fffffffe2f8)
at ../../trunk/src/amule-gui.cpp:93
(gdb) bt full
#0 0x00007ffff50eb100 in wcslen () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1 0x00007ffff5ed1a59 in operator+ (pwz=0x0, str=...)
at ../wxWidgets-2.9.1/src/common/string.cpp:700
s = {static npos = 18446744073709551615, static ms_cache = warning: static field's value depends on the current frame - bad debug info?
/build/buildd/gdb-7.2/gdb/findvar.c:427: internal-error: read_var_value: Assertion `frame' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) n
/build/buildd/gdb-7.2/gdb/findvar.c:427: internal-error: read_var_value: Assertion `frame' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) n
<error reading variable>
__FUNCTION__ = "operator+"
s = {static npos = 18446744073709551615, static ms_cache = warning: static field's value depends on the current frame - bad debug info?
I had wx 2.9.1 running before. Maybe it was a 32 bit Linux? Can't tell.