[wx 2.8.7, GTK 2, gcc 4.1.2] assertion failures in AUI
Matthias Buelow
mkb at incubus.de
Wed Feb 13 05:27:09 PST 2008
Hi folks,
with wxGTK 2.8.7 on Debian 4.0/x86_x64, I always get failed assertions
when undocking or re-docking an AUI pane from/to a window, and when
trying to rearrange the tab panes in an AUI notebook. AFAIR, this didn't
happen in the version I used before (I think it was 2.8.6). The
following is from the auidemo that comes with wxWidgets:
[Debug] 02:20:57 PM: ./src/gtk/frame.cpp(330): assert "(m_wxwindow !=
NULL)" failed in GtkOnSize(): invalid frame
Here's the backtrace:
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 47194108852864 (LWP 8475)]
0x00002aec3b4f22ac in raise () from /lib/libpthread.so.0
(gdb) bt
#0 0x00002aec3b4f22ac in raise () from /lib/libpthread.so.0
#1 0x0000000000436fbc in wxTrap () at ./src/common/appbase.cpp:672
#2 0x00000000004c69ee in wxGUIAppTraits::ShowAssertDialog
(this=0x9bc430, msg=@0x7fff71b8bb90)
at ./src/gtk/utilsgtk.cpp:392
#3 0x000000000043715c in ShowAssertDialog (szFile=0x6e4400, nLine=330,
szFunc=0xc6e2d8, szCond=0x6e4470,
szMsg=0x6e4378, traits=0x9bc430) at ./src/common/appbase.cpp:839
#4 0x00000000004373f4 in wxAppConsole::OnAssertFailure (this=0x97af20,
file=0x6e4400, line=330,
func=0xc6e2d8, cond=0x6e4470, msg=0x6e4378) at
./src/common/appbase.cpp:443
#5 0x00000000004a5a3c in wxApp::OnAssertFailure (this=0x97af20,
file=0x6e4400, line=330, func=0xc6e2d8,
cond=0x6e4470, msg=0x6e4378) at ./src/gtk/app.cpp:552
#6 0x000000000043726c in wxOnAssert (szFile=0x6e4400, nLine=330,
szFunc=0x6e494c "GtkOnSize",
szCond=0x6e4470, szMsg=0x6e4378) at ./src/common/appbase.cpp:712
#7 0x00000000004dade6 in wxFrame::GtkOnSize (this=0xdb7600) at
./src/gtk/frame.cpp:330
#8 0x00000000004c3fd8 in wxTopLevelWindowGTK::Show (this=0xdb7600,
show=true) at ./src/gtk/toplevel.cpp:921
#9 0x00000000005bff8c in wxAuiManager::ShowHint (this=0xcabc40,
rect=@0x7fff71b8c0c0)
at ./src/aui/framemanager.cpp:3169
#10 0x00000000005cbfda in wxAuiManager::DrawHintRect (this=0xcabc40,
pane_window=0xdb4a00,
pt=@0x7fff71b8c160, offset=@0x7fff71b8c150) at
./src/aui/framemanager.cpp:3396
#11 0x00000000005e437e in wxAuiNotebook::OnTabDragMotion (this=0xcaba00,
evt=@0x7fff71b8c4e0)
at ./src/aui/auibook.cpp:3925
#12 0x0000000000436e28 in wxAppConsole::HandleEvent (this=0x97af20,
handler=0xcaba00, func=
{__pfn = 0x5e3ec6
<wxAuiNotebook::OnTabDragMotion(wxCommandEvent&)>, __delta = 0},
event=@0x7fff71b8c4e0) at ./src/common/appbase.cpp:320
#13 0x00000000004929fe in wxEvtHandler::ProcessEventIfMatches
(entry=@0x94a988, handler=0xcaba00,
event=@0x7fff71b8c4e0) at ./src/common/event.cpp:1225
#14 0x0000000000496a29 in wxEventHashTable::HandleEvent (this=0x94a880,
event=@0x7fff71b8c4e0, self=0xcaba00)
at ./src/common/event.cpp:898
#15 0x0000000000496b6b in wxEvtHandler::ProcessEvent (this=0xcaba00,
event=@0x7fff71b8c4e0)
at ./src/common/event.cpp:1287
#16 0x0000000000496ba7 in wxEvtHandler::ProcessEvent (this=0xcabc40,
event=@0x7fff71b8c4e0)
at ./src/common/event.cpp:1294
#17 0x0000000000545c86 in wxWindowBase::TryParent (this=0xdc06a0,
event=@0x7fff71b8c4e0)
at ./src/common/wincmn.cpp:2612
#18 0x0000000000496bcc in wxEvtHandler::ProcessEvent (this=0xdc06a0,
event=@0x7fff71b8c4e0)
at ./src/common/event.cpp:1300
#19 0x00000000005d84f6 in wxAuiTabCtrl::OnMotion (this=0xdc06a0,
evt=@0x7fff71b8c850)
at ./src/aui/auibook.cpp:2582
#20 0x0000000000436e28 in wxAppConsole::HandleEvent (this=0x97af20,
handler=0xdc06a0, func=
{__pfn = 0x5d8222 <wxAuiTabCtrl::OnMotion(wxMouseEvent&)>, __delta
= 0}, event=@0x7fff71b8c850)
at ./src/common/appbase.cpp:320
#21 0x00000000004929fe in wxEvtHandler::ProcessEventIfMatches
(entry=@0x94a750, handler=0xdc06a0,
event=@0x7fff71b8c850) at ./src/common/event.cpp:1225
#22 0x0000000000496a29 in wxEventHashTable::HandleEvent (this=0x94a580,
event=@0x7fff71b8c850, self=0xdc06a0)
at ./src/common/event.cpp:898
#23 0x0000000000496b6b in wxEvtHandler::ProcessEvent (this=0xdc06a0,
event=@0x7fff71b8c850)
at ./src/common/event.cpp:1287
#24 0x00000000004c9368 in wxWindow::GTKProcessEvent (this=0xdc06a0,
event=@0x7fff71b8c850)
at ./src/gtk/window.cpp:1399
#25 0x00000000004d026a in gtk_window_motion_notify_callback
(widget=0xc84340, gdk_event=0xbcff30,
win=0xdc06a0) at ./src/gtk/window.cpp:1752
#26 0x00002aec3962164d in _gtk_marshal_BOOLEAN__BOXED () from
/usr/lib/libgtk-x11-2.0.so.0
#27 0x00002aec3a8aa479 in g_closure_invoke () from
/usr/lib/libgobject-2.0.so.0
#28 0x00002aec3a8b9ae1 in g_signal_chain_from_overridden () from
/usr/lib/libgobject-2.0.so.0
#29 0x00002aec3a8bab5e in g_signal_emit_valist () from
/usr/lib/libgobject-2.0.so.0
#30 0x00002aec3a8baf73 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#31 0x00002aec396f7e4e in gtk_widget_get_default_style () from
/usr/lib/libgtk-x11-2.0.so.0
#32 0x00002aec3961b2ae in gtk_propagate_event () from
/usr/lib/libgtk-x11-2.0.so.0
#33 0x00002aec3961c357 in gtk_main_do_event () from
/usr/lib/libgtk-x11-2.0.so.0
#34 0x00002aec3996452c in _gdk_events_init () from
/usr/lib/libgdk-x11-2.0.so.0
#35 0x00002aec3ac14913 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#36 0x00002aec3ac1775d in g_main_context_check () from
/usr/lib/libglib-2.0.so.0
#37 0x00002aec3ac17a46 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#38 0x00002aec3961c6b2 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#39 0x00000000006261ee in wxEventLoop::Run (this=0xde3a10) at
./src/gtk/evtloop.cpp:76
#40 0x00000000004f2a5a in wxAppBase::MainLoop (this=0x97af20) at
./src/common/appcmn.cpp:312
#41 0x00000000004f24ad in wxAppBase::OnRun (this=0x97af20) at
./src/common/appcmn.cpp:367
#42 0x0000000000464717 in wxEntry (argc=@0x93f670, argv=0x9548e0) at
./src/common/init.cpp:456
#43 0x00000000004647e2 in wxEntry (argc=@0x7fff71b8d28c,
argv=0x7fff71b8d368) at ./src/common/init.cpp:468
#44 0x000000000042e770 in main (argc=1, argv=0x7fff71b8d368) at
./auidemo.cpp:50
My apologies if the bug is already known. If this isn't the correct list
to send bug reports to, please let me know where I should send this.
TIA. mkb.
More information about the wx-users
mailing list