[Python-apps-team] Bug#677421: More info
Andrey Rahmatullin
wrar at wrar.name
Tue Jun 19 20:33:42 UTC 2012
#0 0x00007fffd7f9e9bd in wxEvtHandler::ProcessEvent (this=0x5686c60, event=...) at ../src/common/event.cpp:1301
#1 0x00007fffd7f9ea1f in wxEvtHandler::ProcessEvent (this=0x75c4a10, event=...) at ../src/common/event.cpp:1308
#2 0x00007fffd8a5e07c in wxScrollHelperEvtHandler::ProcessEvent (this=0x75c4a10, event=...) at ../src/generic/scrlwing.cpp:208
#3 0x00007fffd7f9ea1f in wxEvtHandler::ProcessEvent (this=0x5bf5a80, event=...) at ../src/common/event.cpp:1308
#4 0x00007fffd7f9ea1f in wxEvtHandler::ProcessEvent (this=0x772f4b0, event=...) at ../src/common/event.cpp:1308
#5 0x00007fffd8915c58 in wxWindow::GTKProcessEvent (this=0x5686c60, event=...) at ../src/gtk/window.cpp:1435
#6 0x00007fffd8916203 in gtk_window_button_press_callback (widget=0x6603340, gdk_event=0x63f7080, win=0x5686c60) at ../src/gtk/window.cpp:1634
#7 0x00007fffd7953538 in _gtk_marshal_BOOLEAN__BOXED (closure=0x567c3c0, return_value=0x7fffffffb720, n_param_values=<optimized out>, param_values=0x7fffffffb7d0, invocation_hint=<optimized out>, marshal_data=<optimized out>)
at /tmp/buildd/gtk+2.0-2.24.10/gtk/gtkmarshalers.c:86
#8 0x00007fffe44bf724 in g_closure_invoke (closure=0x567c3c0, return_value=0x7fffffffb720, n_param_values=2, param_values=0x7fffffffb7d0, invocation_hint=0x7fffffffb770) at /tmp/buildd/glib2.0-2.32.3/./gobject/gclosure.c:777
#9 0x00007fffe44d07b0 in signal_emit_unlocked_R (node=node at entry=0x1b733c0, detail=detail at entry=0, instance=instance at entry=0x6603340, emission_return=emission_return at entry=0x7fffffffb8a0, instance_and_params=instance_and_params at entry=
0x7fffffffb7d0) at /tmp/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3547
#10 0x00007fffe44d834b in g_signal_emit_valist (instance=0x6603340, signal_id=<optimized out>, detail=0, var_args=var_args at entry=0x7fffffffba28) at /tmp/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3306
#11 0x00007fffe44d88c2 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>) at /tmp/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3352
#12 0x00007fffd7a6c451 in gtk_widget_event_internal (widget=0x6603340, event=0x63f7080) at /tmp/buildd/gtk+2.0-2.24.10/gtk/gtkwidget.c:4984
#13 0x00007fffd79516c3 in IA__gtk_propagate_event (widget=0x6603340, event=0x63f7080) at /tmp/buildd/gtk+2.0-2.24.10/gtk/gtkmain.c:2489
#14 0x00007fffd7951a23 in IA__gtk_main_do_event (event=0x63f7080) at /tmp/buildd/gtk+2.0-2.24.10/gtk/gtkmain.c:1684
#15 0x00007fffd75bd1ec in gdk_event_dispatch (source=<optimized out>, source at entry=0x1cacbf0, callback=<optimized out>, user_data=<optimized out>) at /tmp/buildd/gtk+2.0-2.24.10/gdk/x11/gdkevents-x11.c:2377
#16 0x00007fffe4748205 in g_main_dispatch (context=0x2389610) at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:2539
#17 g_main_context_dispatch (context=context at entry=0x2389610) at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3075
#18 0x00007fffe4748538 in g_main_context_iterate (context=0x2389610, block=block at entry=1, dispatch=dispatch at entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>)
at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3146
#19 0x00007fffe4748932 in g_main_loop_run (loop=0x3a097a0) at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3340
(gdb) list
1296 // Handle per-instance dynamic event tables first
1297 if ( m_dynamicEvents && SearchDynamicEventTable(event) )
1298 return true;
1299
1300 // Then static per-class event tables
1301 if ( GetEventHashTable().HandleEvent(event, this) )
1302 return true;
1303 }
1304
1305 // Try going down the event handler chain
(gdb) p GetEventHashTable()
Cannot access memory at address 0x3000000000050
(gdb) p this->'_vptr.wxObject'
$5 = (int (**)(void)) 0x3000000000000
(gdb) fr 5
#5 0x00007fffd8915c58 in wxWindow::GTKProcessEvent (this=0x5686c60, event=...) at ../src/gtk/window.cpp:1435
1435 return GetEventHandler()->ProcessEvent(event);
(gdb) list
1430 // ----------------------------------------------------------------------------
1431
1432 bool wxWindowGTK::GTKProcessEvent(wxEvent& event) const
1433 {
1434 // nothing special at this level
1435 return GetEventHandler()->ProcessEvent(event);
1436 }
1437
1438 int wxWindowGTK::GTKCallbackCommonPrologue(GdkEventAny *event) const
1439 {
(gdb) p GetEventHandler()
$6 = (wxEvtHandler *) 0x0
(gdb) p this->m_eventHandler
$14 = (wxEvtHandler *) 0x0
Though as 'this' in deeper methods is not NULL I must assume that m_eventHandler
was cleared after calling the method. I do not know WX and python-wx and I
don't see anything interesting in gdb so I cannot help with this.
Also, to get this output I was forced to rebuild python-vtk, python-traits and
mayavi2 with crude hacks so I must wish the maintainer good luck with fixing
this bug.
--
WBR, wRAR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20120620/8ec59951/attachment-0001.pgp>
More information about the Python-apps-team
mailing list