crash when closing a file

Bug #1589193 reported by Robert
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

Every once in a while Inkscape crashes when I close a (saved) document. (I press Ctrl+S and Ctrl+W, in case that matters.)

This is not tied to a specific file, and it doesn't happen all the time.

I usually can work and save files a few times before Inkscape crashes.

Let me know if / how I can provide more information.

robert@habanero:~$ inkscape --version
Inkscape 0.91 r (May 20 2016)

robert@habanero:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"

From running Inkscape in gdb:
...
[Thread 0x7fffd728f700 (LWP 11920) exited]
[Thread 0x7fffc77fe700 (LWP 11922) exited]
[Thread 0x7fffd5d90700 (LWP 11919) exited]

Program received signal SIGSEGV, Segmentation fault.
0x000000000048d865 in ?? ()
(gdb) bt
#0 0x000000000048d865 in ?? ()
#1 0x00000000004b6f03 in ?? ()
#2 0x00000000004ada51 in ?? ()
#3 0x00000000004adfe9 in ?? ()
#4 0x0000000000a2ef1b in ?? ()
#5 0x0000000000499174 in ?? ()
#6 0x0000000000494513 in ?? ()
#7 0x00000000004eecde in ?? ()
#8 0x0000000000a2803c in ?? ()
#9 0x0000000000a155cb in ?? ()
#10 0x0000000000a25f9a in ?? ()
#11 0x000000000049b951 in ?? ()
#12 0x000000000070d54d in ?? ()
#13 0x00007ffff0d343b8 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007ffff0d45d3d in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007ffff0d4d6f9 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007ffff0d4dce2 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x000000000064aa49 in ?? ()
#18 0x00007ffff69cb815 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#19 0x00007ffff0d34332 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007ffff0d45afb in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007ffff0d4d6f9 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ffff0d4dce2 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007ffff6adb684 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#24 0x00007ffff6aeeefb in gtk_window_propagate_key_event ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#25 0x00007ffff6af15fb in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#26 0x00007ffff69cb815 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#27 0x00007ffff0d343b8 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#28 0x00007ffff0d45afb in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#29 0x00007ffff0d4d6f9 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#30 0x00007ffff0d4dce2 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#31 0x00007ffff6adb684 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#32 0x00007ffff69ca097 in gtk_propagate_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#33 0x00007ffff69ca37b in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#34 0x00007ffff66443ec in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#35 0x00007ffff0a64e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007ffff0a65048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007ffff0a6530a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007ffff69c9447 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#39 0x00000000004766ac in ?? ()
#40 0x00007fffefc3af45 in __libc_start_main (main=0x45b770, argc=1, argv=0x7fffffffdde8,
    init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffddd8)
    at libc-start.c:287
#41 0x0000000000474a9f in ?? ()
(gdb) frame 0
#0 0x000000000048d865 in ?? ()
(gdb) list
1 libc-start.c: No such file or directory.

Tags: crash
Revision history for this message
Mc (mc...) wrote :
Revision history for this message
Robert (robert-wenner) wrote :

I am not sure. How do I tell? Stack traces look different to me, but I don't know enough about these internals tos ay if they are really different.

I tried waiting between saving and closing, but the crash did not happen again yet. I'll keep trying.

Revision history for this message
Robert (robert-wenner) wrote :

Ok, I think it does happen on closing, not on saving. I just had a situation where I saved, then Alt+Tab'd to another app for a few seconds, came back to Inkscape and pressed Ctrl+W to close the file and it crashed.

Revision history for this message
jazzynico (jazzynico) wrote :

Other related reports:
- bug #1034788 "Crash when closing Inkscape (reduced tools control bar)".
- bug #909687 "crash on closing document: SIGSEGV in malloc_consolidate (av=0x7ffff1165ec0) at malloc.c:5155".

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.