Blur filter crashes inkscape on file preview and group

Bug #282708 reported by mahfiaz
4
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Undecided
Unassigned

Bug Description

When opening attached file from open dialog and preview is turned on, inkscape (rev-19989) crashes with following error. Just turn preview off and open the file. Select the one object and try to group it. The same crash again.

ERROR:display/nr-filter-units.cpp:44:void NR::FilterUnits::set_resolution(double, double): assertion failed: (x_res > 0)

The backtrace of preview crash:

gdb /opt/inkscape-19989/bin/inkscape
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) run
Starting program: /opt/inkscape-19989/bin/inkscape
[Thread debugging using libthread_db enabled]
[New Thread 0xb60c8700 (LWP 25601)]

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(inkscape:25601): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
[New Thread 0xb5465b90 (LWP 25616)]
[New Thread 0xb4c64b90 (LWP 25617)]
[Thread 0xb4c64b90 (LWP 25617) exited]
**
ERROR:display/nr-filter-units.cpp:44:void NR::FilterUnits::set_resolution(double, double): assertion failed: (x_res > 0)

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb60c8700 (LWP 25601)]
0xb7f93430 in __kernel_vsyscall ()
(gdb)
(gdb) bt
#0 0xb7f93430 in __kernel_vsyscall ()
#1 0xb662c880 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb662e248 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7212ba3 in g_assertion_message () from /usr/lib/libglib-2.0.so.0
#4 0xb72130cd in g_assertion_message_expr () from /usr/lib/libglib-2.0.so.0
#5 0x083d95a2 in NR::FilterUnits::set_resolution (this=0x6, x_res=0, y_res=0)
    at display/nr-filter-units.cpp:44
#6 0x083c5314 in NR::Filter::render (this=0xc1f4200, item=0xcc0fd00,
    pb=0xbff90b34) at display/nr-filter.cpp:166
#7 0x0839a1ee in nr_arena_item_invoke_render (ct=0xdf61a00, item=0xcc0fd00,
    area=0xbff90d4c, pb=0xbff910a0, flags=1) at display/nr-arena-item.cpp:446
#8 0x0839bebd in nr_arena_group_render (ct=0xdf61a00, item=0xcc0fe00,
    area=0xbff90d4c, pb=0xbff910a0, flags=1) at display/nr-arena-group.cpp:230
#9 0x0839a0dc in nr_arena_item_invoke_render (ct=0xdf61a00, item=0xcc0fe00,
    area=0xbff90f0c, pb=0xbff910a0, flags=<value optimized out>)
    at display/nr-arena-item.cpp:566
#10 0x0839bebd in nr_arena_group_render (ct=0xdf61a00, item=0xd871000,
    area=0xbff90f0c, pb=0xbff910a0, flags=1) at display/nr-arena-group.cpp:230
---Type <return> to continue, or q <return> to quit---
#11 0x0839a0dc in nr_arena_item_invoke_render (ct=0xdf61a00, item=0xd871000,
    area=0xbff910cc, pb=0xbff910a0, flags=<value optimized out>)
    at display/nr-arena-item.cpp:566
#12 0x0839bebd in nr_arena_group_render (ct=0xdf61a00, item=0xd871100,
    area=0xbff910cc, pb=0xbff910a0, flags=1) at display/nr-arena-group.cpp:230
#13 0x0839a0dc in nr_arena_item_invoke_render (ct=0xdf61a00, item=0xd871100,
    area=0xbff9114c, pb=0xbff91120, flags=<value optimized out>)
    at display/nr-arena-item.cpp:566
#14 0x083a5fa1 in sp_canvas_arena_render (item=0xae68340, buf=0xbff91228)
    at display/canvas-arena.cpp:219
#15 0x083bfca2 in sp_canvas_group_render (item=0xd1072d0, buf=0xbff91228)
    at display/sp-canvas.cpp:866
#16 0x083bfca2 in sp_canvas_group_render (item=0xd107240, buf=0xbff91228)
    at display/sp-canvas.cpp:866
#17 0x083c1eb4 in sp_canvas_paint_rect_internal (setup=<value optimized out>,
    this_rect={x0 = 0, y0 = 0, x1 = 80, y1 = 458})
    at display/sp-canvas.cpp:1633
#18 0x083c1817 in sp_canvas_paint_rect_internal (setup=0xbff91474, this_rect=
---Type <return> to continue, or q <return> to quit---
      {x0 = 0, y0 = 0, x1 = 160, y1 = 458}) at display/sp-canvas.cpp:1845
#19 0x083c20c6 in sp_canvas_paint_rect (canvas=0xb8cfeb8, xx0=0, yy0=0,
    xx1=160, yy1=458) at display/sp-canvas.cpp:1910
#20 0x083c24c3 in do_update (canvas=0xb8cfeb8) at display/sp-canvas.cpp:2062
#21 0x083c254e in idle_handler (data=0xb8cfeb8) at display/sp-canvas.cpp:2118
#22 0xb71e97c1 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0xb71eb6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0xb71eeda3 in ?? () from /usr/lib/libglib-2.0.so.0
#25 0xb71ef2c2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#26 0xb76341f5 in gtk_dialog_run () from /usr/lib/libgtk-x11-2.0.so.0
#27 0xb7dcb5d6 in Gtk::Dialog::run () from /usr/lib/libgtkmm-2.4.so.1
#28 0x0822772f in Inkscape::UI::Dialog::FileOpenDialogImplGtk::show (
    this=0xd8465a8) at ui/dialog/filedialogimpl-gtkmm.cpp:766
#29 0x08091ee6 in sp_file_open_dialog (parentWindow=@0xb948428) at file.cpp:443
#30 0x083dee9d in sp_action_perform (action=0xaa85ee0, data=0x0)
    at helper/action.cpp:181
#31 0xb72963d4 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#32 0xb7288c4b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#33 0xb729f095 in ?? () from /usr/lib/libgobject-2.0.so.0
#34 0xb72a07ac in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#35 0xb72a0c26 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#36 0xb75e99f5 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#37 0xb75ea9d4 in gtk_action_activate () from /usr/lib/libgtk-x11-2.0.so.0
#38 0xb72963d4 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#39 0xb7288c4b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#40 0xb729f095 in ?? () from /usr/lib/libgobject-2.0.so.0
#41 0xb72a07ac in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#42 0xb72a0acd in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#43 0xb7784e87 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#44 0xb72963d4 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#45 0xb7288c4b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#46 0xb729f095 in ?? () from /usr/lib/libgobject-2.0.so.0
#47 0xb72a07ac in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#48 0xb72a0c26 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#49 0xb7602eca in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#50 0xb7603f78 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#51 0xb72963d4 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#52 0xb72873c9 in ?? () from /usr/lib/libgobject-2.0.so.0
#53 0xb7288c4b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#54 0xb729e8ee in ?? () from /usr/lib/libgobject-2.0.so.0
#55 0xb72a07ac in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#56 0xb72a0c26 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#57 0xb7602f6a in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#58 0xb7602fa3 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#59 0xb76b6ef6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#60 0xb72873c9 in ?? () from /usr/lib/libgobject-2.0.so.0
#61 0xb7288c4b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#62 0xb729ed3d in ?? () from /usr/lib/libgobject-2.0.so.0
#63 0xb72a062b in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#64 0xb72a0c26 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#65 0xb77cc0ee in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#66 0xb76afa0c in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#67 0xb76b0db7 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#68 0xb754750a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#69 0xb71eb6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#70 0xb71eeda3 in ?? () from /usr/lib/libglib-2.0.so.0
#71 0xb71ef2c2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#72 0xb76b1269 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#73 0xb7df54c7 in Gtk::Main::run_impl () from /usr/lib/libgtkmm-2.4.so.1
#74 0xb7df52c2 in Gtk::Main::run () from /usr/lib/libgtkmm-2.4.so.1
#75 0x080874c9 in sp_main_gui (argc=1, argv=0xbff92d64) at main.cpp:850
#76 0x081fe87a in Inkscape::NSApplication::Application::run (this=0xbff92ca4)
    at application/application.cpp:114
#77 0x08087915 in main (argc=1, argv=0xbff92d64) at main.cpp:660
(gdb)
(gdb) quit
The program is running. Exit anyway? (y or n) y

Revision history for this message
mahfiaz (mahfiaz) wrote :
Revision history for this message
Alvin Penner (apenner) wrote :

- running Win32 Inkscape19989-081013.7z
- I do not get a crash on the preview window, but when I select the object and try to group it I get a crash with the following message :

C:\Python25\APP>inkcl.py
return code: 3
ERROR:src/display/nr-filter-units.cpp:44:void NR::FilterUnits::set_resolution(double, double): assertion failed: (x_res > 0)

Emergency save activated!

Failed to do emergency save for documents:
  bugtest crash.svg

Changed in inkscape:
status: New → Confirmed
Revision history for this message
Renate (yollywau) wrote :

when I open inkscape in console, there also comes the error-message, Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated - whatever that means. The same error-message comes with gthumb. And in synfigstudio the same error-message comes. Synfigstudio crashes afterwards. Inkscape and gthumb, I can work with. My Laptop Acer Aspire 5101
2.6.27-7-generic.

Revision history for this message
mahfiaz (mahfiaz) wrote :

Renate, this message is a simple warning, which comes up because GtkSpinButton possible settings have changed, as the warning itself states. At least on inkscape this causes no crash, and on synfigstudio the cause of crash is likely to be something else. You can simply ignore this warning.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.