crash adjusting slider when spinbutton has focus (GTK bug?)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Critical
|
Buliabyak-users |
Bug Description
Sometimes when I adjust both the blur spin button
(using my mouse's scrollwheel) and the slider (by
simply clicking and dragging), I get a crash. It
doesn't always happen but it seems that when performing
the following steps, it will eventually crash:
- Open attached file
- Select the blurred spiral
- Open the Fill and Stroke dialog
- Adjust blur by scrolling mousewheel on the spin button
- Click inside the spin button (on the actual value)
once using the left mouse button
- Move the blur slider
- If you repeat the above 2 steps, eventually it wll
crash for me.
It seems the current zoom and the blur value influence
the probability of this crash occuring. Using a zoom of
49% and a blur value of around 10 seems to be a good
setting (for the crash to occur)
I get the following on the console:
(inkscape:16006): Gtk-CRITICAL **: gtk_style_detach:
assertion `style-
(inkscape:16006): Gtk-WARNING **: GtkEntry - did not
receive focus-out-event. If you
connect a handler to this signal, it must return
FALSE so the entry gets the event as well
Gtk-ERROR **: file gtkentry.c: line 5266 (blink_cb):
assertion failed: (GTK_WIDGET_
aborting...
Program received signal SIGTRAP, Trace/breakpoint trap.
And the backtrace:
#0 0xb73fb2fd in IA__g_logv (log_domain=<value
optimized out>, log_level=
format=0xb7424c70 "file %s: line %d (%s): assertion
failed: (%s)",
args1=
gmessages.c:493
#1 0xb73fb38a in IA__g_log (log_domain=
"Gtk", log_level=
"file %s: line %d (%s): assertion failed: (%s)") at
gmessages.c:517
#2 0xb73fb402 in IA__g_assert_
(log_domain=
"gtkentry.c", line=5266, pretty_
"blink_cb",
expression=
(entry)") at gmessages.c:552
#3 0xb76bc44f in blink_cb (data=0xa52b0d0) at
gtkentry.c:5266
#4 0xb73f39f9 in g_timeout_dispatch (source=0xb2c04c8,
callback=0x9c13c58, user_data=
#5 0xb73f3576 in IA__g_main_
(context=0x857b130) at gmain.c:2045
#6 0xb73f5f82 in g_main_
(context=0x857b130, block=0, dispatch=1,
self=0x85d71a0) at gmain.c:2677
#7 0xb73f6376 in IA__g_main_
(context=0x857b130, may_block=0) at gmain.c:2736
#8 0xb7743c24 in IA__gtk_
(blocking=0) at gtkmain.c:1097
#9 0xb7d9a0de in Gtk::Main:
/usr/lib/
#10 0xb7d99fca in Gtk::Main:
/usr/lib/
#11 0x08294935 in sp_canvas_
(canvas=0x85fb148, rect=<value optimized out>,
x_aborted_
display/
#12 0x08294cc0 in sp_canvas_
(canvas=0x85fb148, xx0=-197, yy0=-608, xx1=544, yy1=96)
at display/
#13 0x08294526 in do_update (canvas=0x85fb148) at
display/
#14 0x08111892 in sp_document_
(doc=0x8670fa0, key=0x8475e9d "fillstroke:blur",
event_type=151, event_descripti
at /usr/include/
#15 0x081e7cef in sp_fillstroke_
(a=0x9ef6f80, dlg=0x8ac0738) at
dialogs/
#16 0xb747b4f8 in IA__g_cclosure_
(closure=0xb05d108, return_value=0x0, n_param_values=1,
param_values=
marshal_
#17 0xb746d492 in IA__g_closure_
(closure=0xb05d108, return_value=0x0, n_param_values=1,
param_values=
gclosure.c:490
#18 0xb747f3e6 in signal_
(node=0x867f188, detail=0, instance=0x9ef6f80,
emission_
gsignal.c:2440
#19 0xb7480469 in IA__g_signal_
(instance=
var_args=<value optimized out>) at gsignal.c:2199
#20 0xb7480720 in IA__g_signal_emit
(instance=
gsignal.c:2243
#21 0xb765396e in IA__gtk_
(adjustment=
#22 0xb7653c13 in IA__gtk_
(adjustment=
gtkadjustment.c:346
#23 0xb77bcbc8 in IA__gtk_
(spin_button=
#24 0xb77be579 in gtk_spin_
(widget=0xa52b0d0, event=0x8ad66e8) at gtkspinbutton.c:946
#25 0xb7749f6d in _gtk_marshal_
(closure=0x858fca0, return_
n_param_values=2, param_values=
invocation_
marshal_
#26 0xb746b869 in g_type_
(closure=0x858fca0, return_
n_param_values=2, param_values=
invocation_
at gclosure.c:567
#27 0xb746d492 in IA__g_closure_
(closure=0x858fca0, return_
n_param_values=2, param_values=
invocation_
#28 0xb747f5dd in signal_
(node=0x8601b00, detail=0, instance=0xa52b0d0,
emission_
instance_
#29 0xb74804d9 in IA__g_signal_
(instance=
var_args=<value optimized out>) at gsignal.c:2209
#30 0xb7480720 in IA__g_signal_emit
(instance=
gsignal.c:2243
#31 0xb7876846 in gtk_widget_
(widget=0xa52b0d0, event=0x8ad66e8) at gtkwidget.c:3911
#32 0xb787be2a in IA__gtk_
(widget=0xa52b0d0, event=0x8ad66e8) at gtkwidget.c:3717
#33 0xb7885951 in do_focus_change (widget=0xa52b0d0,
in=0) at gtkwindow.c:4783
#34 0xb7886344 in gtk_window_
(window=0x8ac0738, focus=0xa11c8b0) at gtkwindow.c:4985
#35 0xb747b65c in IA__g_cclosure_
(closure=0x8603c18, return_value=0x0, n_param_values=2,
param_values=
marshal_
#36 0xb746b869 in g_type_
(closure=0x8603c18, return_value=0x0, n_param_values=2,
param_values=
marshal_data=0x1a0)
at gclosure.c:567
#37 0xb746d492 in IA__g_closure_
(closure=0x8603c18, return_value=0x0, n_param_values=2,
param_values=
gclosure.c:490
#38 0xb747f5dd in signal_
(node=0x8680340, detail=0, instance=0x8ac0738,
emission_
gsignal.c:2478
#39 0xb7480469 in IA__g_signal_
(instance=
var_args=<value optimized out>) at gsignal.c:2199
#40 0xb7480720 in IA__g_signal_emit
(instance=
gsignal.c:2243
#41 0xb788d5bd in _gtk_window_
(window=0x8ac0738, focus=0xa11c8b0) at gtkwindow.c:1274
#42 0xb78840d7 in gtk_widget_
(focus_
#43 0xb747b4f8 in IA__g_cclosure_
(closure=0x8590228, return_value=0x0, n_param_values=1,
param_values=
marshal_
#44 0xb746b869 in g_type_
(closure=0x8590228, return_value=0x0, n_param_values=1,
param_values=
marshal_data=0xa4)
at gclosure.c:567
#45 0xb746d492 in IA__g_closure_
(closure=0x8590228, return_value=0x0, n_param_values=1,
param_values=
gclosure.c:490
#46 0xb747f5dd in signal_
(node=0x8590440, detail=0, instance=0xa11c8b0,
emission_
gsignal.c:2478
#47 0xb7480469 in IA__g_signal_
(instance=
var_args=<value optimized out>) at gsignal.c:2199
#48 0xb7480720 in IA__g_signal_emit
(instance=
gsignal.c:2243
#49 0xb787b3ca in IA__gtk_
(widget=0xa11c8b0) at gtkwidget.c:4216
---Type <return> to continue, or q <return> to quit---
#50 0xb778f780 in gtk_range_
(widget=0xa11c8b0, event=0x9bbd680) at gtkrange.c:1568
#51 0xb7749f6d in _gtk_marshal_
(closure=0x85904c8, return_
n_param_values=2, param_values=
invocation_
marshal_
#52 0xb746b869 in g_type_
(closure=0x85904c8, return_
n_param_values=2, param_values=
invocation_
at gclosure.c:567
#53 0xb746d492 in IA__g_closure_
(closure=0x85904c8, return_
n_param_values=2, param_values=
invocation_
#54 0xb747f5dd in signal_
(node=0x8600aa8, detail=0, instance=0xa11c8b0,
emission_
instance_
#55 0xb74804d9 in IA__g_signal_
(instance=
var_args=<value optimized out>) at gsignal.c:2209
#56 0xb7480720 in IA__g_signal_emit
(instance=
gsignal.c:2243
#57 0xb7876846 in gtk_widget_
(widget=0xa11c8b0, event=0x9bbd680) at gtkwidget.c:3911
#58 0xb787be2a in IA__gtk_
(widget=0xa11c8b0, event=0x9bbd680) at gtkwidget.c:3717
#59 0xb7742715 in IA__gtk_
(widget=0xa11c8b0, event=0x9bbd680) at gtkmain.c:2188
#60 0xb77439f6 in IA__gtk_
(event=0x9bbd680) at gtkmain.c:1407
#61 0xb75b6612 in gdk_event_dispatch (source=0x857b0e8,
callback=0, user_data=0x0) at gdkevents-
#62 0xb73f3576 in IA__g_main_
(context=0x857b130) at gmain.c:2045
#63 0xb73f5f82 in g_main_
(context=0x857b130, block=1, dispatch=1,
self=0x85d71a0) at gmain.c:2677
#64 0xb73f629c in IA__g_main_loop_run (loop=0x89cc308)
at gmain.c:2881
#65 0xb7743e16 in IA__gtk_main () at gtkmain.c:1001
#66 0xb7d9a147 in Gtk::Main::run_impl () from
/usr/lib/
#67 0xb7d99f32 in Gtk::Main::run () from
/usr/lib/
#68 0x08076f48 in sp_main_gui (argc=2, argv=0xbfb5ee04)
at main.cpp:654
#69 0x0816b8d3 in
Inkscape:
(this=0xbfb5ed44) at application/
#70 0x0807744b in main (argc=2, argv=0xbfb5ee04) at
main.cpp:489
I forgot to mention that this is with the SVN version of
Inkscape of about two hours old (2006-10-19 23:00 CEST)