help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Add shortcuts to the visualgst/debugger


From: Holger Hans Peter Freyther
Subject: Re: [Help-smalltalk] Add shortcuts to the visualgst/debugger
Date: Mon, 30 Sep 2013 05:52:03 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Sun, Sep 29, 2013 at 02:37:25PM +0200, Holger Hans Peter Freyther wrote:
> On Mon, Sep 16, 2013 at 04:06:04PM +0200, Gwenaël Casaccio wrote:
> > 
> > I know but that's another story :-)
> 
> Do you think we can have a workaround? 

I tried to debug some of the Parser Problems with the current debugger
but I hit something that might look like a glib binding problem.

Debug this statement:
 STInST.RBParser parseExpression: '#(##(1/2) 1)'

Once in  STInST.RBParser class>>parseExpression:onError: use the
'F7'/Step method. VisualGST will freeze. I launched VisualGST by
hand from a running 'gst' process to see how much survived, then
I attached with gdb and tried to print the process list. It was
surprisingly empty (there should have been call-outs)


Active process: <Proc 0x4048fdd8 prio: 1 next 0x40428800 context 0x4048ffb8>
  Priority 1: First 0x4048fdd8 last 0x4048fdd8 
    <Proc 0x4048fdd8 prio: 1 context 0x4048ffb8> 

And in gdb I have this:

Program received signal SIGINT, Interrupt.
0xb779f424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb779f424 in __kernel_vsyscall ()
#1  0xb759983b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xa69ed778 in main_loop_poll (ms=-1) at gst-glib.c:192
#3  main_loop_poll (ms=-1) at gst-glib.c:156
#4  0xb7749812 in poll_events (blockingOOP=0x40428808) at events.c:259
#5  0xb7749916 in _gst_idle (blocking=(unknown: 1078102024)) at events.c:300
#6  0xb7745d64 in VMpr_Processor_pause (id=0, numArgs=1) at prims.def:2987
#7  0xb773998d in execute_primitive_operation (numArgs=<optimized out>, 
primitive=135)
    at interp.c:2732
#8  _gst_send_message_internal (sendSelector=0x404793a0, sendArgs=1, 
receiver=0x40428820, 
    method_class=0x40429460) at interp-bc.inl:276
#9  0xb773fc3c in _gst_interpret (processOOP=0x408052e8) at vm.def:645
#10 0xb7746a09 in _gst_nvmsg_send (receiver=0x40810208, 
sendSelector=0x405d2100, 
    args=0xbf9e43d0, sendArgs=0) at interp.c:2312
#11 0xb76e7fe5 in gst_nvmsg_send (receiver=0x40810208, selector=0x405d2100, 
    address@hidden, address@hidden) at gstpub.c:199
#12 0xa69e711d in invoke_smalltalk_closure (closure=0x9f46750, 
return_value=0x0, 
    n_param_values=0, param_values=0xbf9e4590, invocation_hint=0xbf9e453c, 
marshal_data=0x0)
    at gst-gobject.c:440
#13 0xa65fcc56 in g_closure_invoke () from 
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#14 0xa660eed7 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#15 0xa66170db in g_signal_emit_valist () from 
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#16 0xa66172b3 in g_signal_emit () from 
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#17 0xa5904e70 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#18 0xa65fcc56 in g_closure_invoke () from 
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#19 0xa660eed7 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#20 0xa6616d73 in g_signal_emit_valist () from 
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#21 0xa66172b3 in g_signal_emit () from 
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#22 0xa56ee166 in gtk_accel_group_activate () from 
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#23 0xa56ef539 in gtk_accel_groups_activate ()
   from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#24 0xa59204f6 in gtk_window_activate_key () from 
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#25 0xa592057e in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#26 0xa57ce722 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#27 0xa65fbacd in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#28 0xa65fcc56 in g_closure_invoke () from 
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#29 0xa660eb36 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#30 0xa6616d73 in g_signal_emit_valist () from 
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#31 0xa66172b3 in g_signal_emit () from 
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#32 0xa59065ab in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#33 0xa57cc8ec in gtk_propagate_event () from 
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#34 0xa57ccbb0 in gtk_main_do_event () from 
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#35 0xa5c579b8 in ?? () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
#36 0xa6536333 in g_main_context_dispatch () from 
/lib/i386-linux-gnu/libglib-2.0.so.0
#37 0xa69ed22a in main_loop_dispatch () at gst-glib.c:151
#38 0xb774989b in _gst_dispatch_events () at events.c:285
#39 0xb7746f65 in VMpr_Processor_dispatchEvents (id=0, numArgs=0) at 
prims.def:2961

Smells a bit like the list of processes gets corrupted here. :}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]