Hi there,
I've been doing a more er less daily build of inkscape, and the last few days have been crashing when I try to open an existing SVG file (through the file open dialog). The last stable working version for me was r19967 (Fedora 9 x86_64, KDE4.1.1, using 'updates-testing' repo).
Here's the output I get at the console:
------- ** ERROR:(display/nr-filter-units.cpp:44):void NR::FilterUnits::set_resolution(double, double): assertion failed: (x_res > 0)
Emergency save activated! Emergency save completed. Inkscape will close now. If you can reproduce this crash, please file a bug at www.inkscape.org with a detailed description of the steps leading to the crash, so we can fix it. -------
And I hope I did this right, here's the gdb backtrace I got when following the instructions from http://www.inkscape.org/report_bugs.php?lang=en
------- (gdb) bt #0 0x0000003064632215 in raise () from /lib64/libc.so.6 #1 0x0000003064633d83 in abort () from /lib64/libc.so.6 #2 0x00000031a525ced7 in g_assertion_message () from /lib64/libglib-2.0.so.0 #3 0x00000031a525d372 in g_assertion_message_expr () from /lib64/libglib-2.0.so.0 #4 0x0000000000784944 in NR::FilterUnits::set_resolution () #5 0x000000000077036c in NR::Filter::render () #6 0x000000000074670b in nr_arena_item_invoke_render () #7 0x00000000007481ad in nr_arena_group_render () #8 0x000000000074663d in nr_arena_item_invoke_render () #9 0x00000000007481ad in nr_arena_group_render () #10 0x000000000074663d in nr_arena_item_invoke_render () #11 0x00000000007481ad in nr_arena_group_render () #12 0x000000000074663d in nr_arena_item_invoke_render () #13 0x00000000007481ad in nr_arena_group_render () #14 0x000000000074663d in nr_arena_item_invoke_render () #15 0x00000000007481ad in nr_arena_group_render () #16 0x000000000074663d in nr_arena_item_invoke_render () #17 0x0000000000751ddb in sp_canvas_arena_render () #18 0x000000000076b095 in sp_canvas_group_render () #19 0x000000000076b095 in sp_canvas_group_render () #20 0x000000000076d6b1 in sp_canvas_paint_rect_internal () #21 0x000000000076d8f6 in sp_canvas_paint_rect () #22 0x000000000076dd69 in do_update () #23 0x000000000076ddf2 in idle_handler () #24 0x00000031a523742b in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #25 0x00000031a523ac0d in ?? () from /lib64/libglib-2.0.so.0 #26 0x00000031a523b13d in g_main_loop_run () from /lib64/libglib-2.0.so.0 #27 0x00000031a82e7027 in gtk_dialog_run () from /usr/lib64/libgtk-x11-2.0.so.0 #28 0x00000000005e54a4 in Inkscape::UI::Dialog::FileOpenDialogImplGtk::show () #29 0x0000000000453a95 in sp_file_open_dialog () #30 0x0000000000789ccb in sp_action_perform () #31 0x00000031a560b6cd in g_closure_invoke () from /lib64/libgobject-2.0.so.0 #32 0x00000031a561f6b1 in ?? () from /lib64/libgobject-2.0.so.0 #33 0x00000031a5620b8c in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0 #34 0x00000031a56210d3 in g_signal_emit () from /lib64/libgobject-2.0.so.0 #35 0x00000031a826b85b in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 #36 0x00000031a826b90c in gtk_action_activate () from /usr/lib64/libgtk-x11-2.0.so.0 #37 0x00000031a560b6cd in g_closure_invoke () from /lib64/libgobject-2.0.so.0 #38 0x00000031a561f6b1 in ?? () from /lib64/libgobject-2.0.so.0 #39 0x00000031a5620b8c in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0 #40 0x00000031a5620f1d in g_signal_emit_by_name () from /lib64/libgobject-2.0.so.0 #41 0x00000031a848e0b2 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 #42 0x00000031a560b6cd in g_closure_invoke () from /lib64/libgobject-2.0.so.0 #43 0x00000031a561f6b1 in ?? () from /lib64/libgobject-2.0.so.0 #44 0x00000031a5620b8c in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0 #45 0x00000031a56210d3 in g_signal_emit () from /lib64/libgobject-2.0.so.0 #46 0x00000031a8285e13 in gtk_button_clicked () from /usr/lib64/libgtk-x11-2.0.so.0 #47 0x00000031a828722b in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 #48 0x00000031a560b6cd in g_closure_invoke () from /lib64/libgobject-2.0.so.0 #49 0x00000031a561efc6 in ?? () from /lib64/libgobject-2.0.so.0 #50 0x00000031a5620b8c in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0 #51 0x00000031a56210d3 in g_signal_emit () from /lib64/libgobject-2.0.so.0 #52 0x00000031a8285d7c in gtk_button_released () from /usr/lib64/libgtk-x11-2.0.so.0 #53 0x00000031a8286fb2 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 #54 0x00000031a8387452 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 #55 0x00000031a560b6cd in g_closure_invoke () from /lib64/libgobject-2.0.so.0 #56 0x00000031a561f382 in ?? () from /lib64/libgobject-2.0.so.0 #57 0x00000031a5620a0f in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0 #58 0x00000031a56210d3 in g_signal_emit () from /lib64/libgobject-2.0.so.0 #59 0x00000031a84f48be in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 #60 0x00000031a84f4406 in gtk_widget_event () from /usr/lib64/libgtk-x11-2.0.so.0 #61 0x00000031a83859ee in gtk_propagate_event () from /usr/lib64/libgtk-x11-2.0.so.0 #62 0x00000031a8384625 in gtk_main_do_event () from /usr/lib64/libgtk-x11-2.0.so.0 #63 0x00000031a6e57c29 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0 #64 0x00000031a523742b in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #65 0x00000031a523ac0d in ?? () from /lib64/libglib-2.0.so.0 #66 0x00000031a523b13d in g_main_loop_run () from /lib64/libglib-2.0.so.0 #67 0x00000031a8383db0 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0 #68 0x00000000004498b9 in sp_main_gui () #69 0x0000000000449d1d in main () -------
Please let me know if I did the backtrace wrong, I did see some message fly by about missing debuginfo of some packages. Also, I'll see if I can bisect down to which build this behaviour started happening.
Thanks.
--Mike