segfault at redraw(?) after a certain amount of time

Bug #409901 reported by eidam655
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Undecided
Unassigned

Bug Description

following happens both on linux and windows operating systems. on linux it happened while trying to edit a pattern by moving it, on windows similar crash (unfortunately without a backtrace but IMHO 99% the same reason) while dragging an object downwards with Ctrl.

i am using Inkscape 0.46 on both systems.

i managed to get a backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb4a45760 (LWP 3272)]
0x084d5e85 in sp_paint_selector_get_pattern ()
(gdb) bt
#0 0x084d5e85 in sp_paint_selector_get_pattern ()
#1 0x08411763 in ?? ()
#2 0xb7254238 in g_cclosure_marshal_VOID () from /usr/lib/libgobject-2.0.so.0
#3 0xb7246d42 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#4 0xb725afe8 in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0
#5 0xb725c35d in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#6 0xb77ea31e in gtk_signal_emit () from /usr/lib/libgtk-x11-2.0.so.0
#7 0x084d6d1a in sp_paint_selector_set_mode ()
#8 0xb725459c in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#9 0xb7246d42 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#10 0xb725afe8 in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0
#11 0xb725c35d in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#12 0xb725c7d6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#13 0xb77348fa in gtk_toggle_button_toggled () from /usr/lib/libgtk-x11-2.0.so.0
#14 0xb7734942 in gtk_toggle_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#15 0xb725459c in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#16 0xb72453c9 in g_type_class_meta_marshal () from /usr/lib/libgobject-2.0.so.0
#17 0xb7246d42 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#18 0xb725a8f5 in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0
#19 0xb725c35d in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#20 0xb725c7d6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#21 0xb75b3e5a in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#22 0xb7734648 in gtk_toggle_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#23 0xb725459c in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#24 0xb72453c9 in g_type_class_meta_marshal () from /usr/lib/libgobject-2.0.so.0
#25 0xb7246d42 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#26 0xb725a8f5 in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0
#27 0xb725c35d in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#28 0xb725c7d6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#29 0xb75b3efa in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#30 0xb75b3f33 in gtk_button_button_release () from /usr/lib/libgtk-x11-2.0.so.0
#31 0xb766c454 in _gtk_marshal_BOOLEAN__BOXED () from /usr/lib/libgtk-x11-2.0.so.0
#32 0xb72453c9 in g_type_class_meta_marshal () from /usr/lib/libgobject-2.0.so.0
#33 0xb7246d42 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#34 0xb725acdb in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0
#35 0xb725c1e8 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#36 0xb725c7d6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#37 0xb7784576 in gtk_widget_event_internal () from /usr/lib/libgtk-x11-2.0.so.0
#38 0xb7664f50 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#39 0xb76661c9 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#40 0xb74f73aa in gdk_event_dispatch () from /usr/lib/libgdk-x11-2.0.so.0
#41 0xb71afd98 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#42 0xb71b33e0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#43 0xb71b384f in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#44 0xb7666729 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#45 0xb7dd1aa7 in Gtk::Main::run_impl () from /usr/lib/libgtkmm-2.4.so.1
#46 0xb7dd18a2 in Gtk::Main::run () from /usr/lib/libgtkmm-2.4.so.1
#47 0x0821bc3e in sp_main_gui ()
#48 0x08357712 in Inkscape::NSApplication::Application::run ()
#49 0x0821c022 in main ()
(gdb)

Tags: crash
Revision history for this message
eidam655 (eidam655) wrote :

bug is reproducable only on re-opening the same file. when repeating similar (same) actions on other file, program runs normally.

Revision history for this message
su_v (suv-lp) wrote :

duplicate of Bug #271723 in Inkscape: “Segmentation Fault (crashes) when I try to move a large pattern”?

Please attach the file that lets you re-produces this crash.
Could you try if it still happens with a recent prerelease build from <http://sourceforge.net/projects/inkscape/files/>?

tags: added: crash
removed: inkscape memory segfault
Changed in inkscape:
status: New → Incomplete
Revision history for this message
eidam655 (eidam655) wrote :

i attach the file here.

Fun Fact: when I first opened another file, and then opened this 'buggy' file, Inkscape didn't crash! however it crashed again when i closed all running instances of inkscape and opened the file as the first file.

Revision history for this message
eidam655 (eidam655) wrote :

release v0.47pre1 fixes the issue.

Changed in inkscape:
status: Incomplete → Fix Released
milestone: none → 0.47
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.