Inkscape crashes when loading file

Bug #1454114 reported by Jean-Noel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
High
Unassigned

Bug Description

Hi
I created a file in Inkscape 0.91r ( 0.91 r (Feb 12 2015). I'm running on Linux Mint 17.1. Today, when I want to re-open the file, Inkscape crashes with a message 'Inkscape encountered an internal error and will close now.'

I tried opening other files I had created before, in case the issue was with the latest one, but I always get the same problem

The stack trace in gdb is the following:
(gdb) run
Starting program: /usr/bin/inkscape
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

(process:4492): Gtk-WARNING **: Locale not supported by C library.
 Using the fallback 'C' locale.
[New Thread 0x7fffdd095700 (LWP 4496)]
[New Thread 0x7fffd7fff700 (LWP 4497)]
[New Thread 0x7fffd6009700 (LWP 4499)]
terminate called after throwing an instance of 'Glib::ConvertError'

Program received signal SIGABRT, Aborted.
0x00007fffefc51cc9 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0 0x00007fffefc51cc9 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007fffefc550d8 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007ffff077a6b5 in __gnu_cxx::__verbose_terminate_handler() ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007ffff0778836 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007ffff0778863 in std::terminate() ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff0778aa2 in __cxa_throw ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff577a247 in Glib::ConvertError::throw_func(_GError*) ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#7 0x00007ffff5789b67 in Glib::Error::throw_exception(_GError*) ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#8 0x00007ffff577a00d in Glib::filename_from_uri(Glib::ustring const&) ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#9 0x0000000000523dda in ?? ()
#10 0x00000000005251b3 in ?? ()
#11 0x00000000004c5671 in ?? ()
#12 0x00000000004edecd in ?? ()
#13 0x00007ffff0d363b8 in g_closure_invoke ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007ffff0d47d3d in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#15 0x00007ffff0d4fa29 in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007ffff0d4fce2 in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007ffff0d363b8 in g_closure_invoke ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007ffff0d47d3d in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007ffff0d4fa29 in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007ffff0d4fce2 in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007ffff6adb4fc in gtk_widget_activate ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#22 0x00007ffff69ddfdd in gtk_menu_shell_activate_item ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#23 0x00007ffff69de32c in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#24 0x00007ffff69cc815 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#25 0x00007ffff0d363b8 in g_closure_invoke ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#26 0x00007ffff0d47afb in ?? ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#27 0x00007ffff0d4f6f9 in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#28 0x00007ffff0d4fce2 in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#29 0x00007ffff6adc684 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#30 0x00007ffff69cafc4 in gtk_propagate_event ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#31 0x00007ffff69cb37b in gtk_main_do_event ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#32 0x00007ffff66461ec in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#33 0x00007ffff0a66e04 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007ffff0a67048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007ffff0a6730a in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007ffff69ca447 in gtk_main ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#37 0x000000000047677c in ?? ()
#38 0x00007fffefc3cec5 in __libc_start_main ()
   from /lib/x86_64-linux-gnu/libc.so.6
---Type <return> to continue, or q <return> to quit---
#39 0x0000000000474b6f in ?? ()
(gdb)

Tags: crash
Revision history for this message
Jean-Noel (jn-colin) wrote :
Revision history for this message
su_v (suv-lp) wrote :

On 2015-05-12 09:31 (+0200), Jean-Noel wrote:
> I tried opening other files I had created before, in case the issue
> was with the latest one, but I always get the same problem

conflicts with

> ** Attachment added: "Here's the file that causes it to crash."

Is it just the attached file, or any file? The file 'memory.svg' opens just fine (no crash) with Inkscape 0.91 r13725 and 0.91+devel r14147 on OS X 10.7.5.

If opening any existing file (via command line, 'File > Open Recent' or 'File > Open') suddenly crashes inkscape on launch (with the same backtrace as pasted in the bug description), this report very likely has the same underlying issue (crash while parsing information from $HOME/.local/share/recently-used.xbel) as already tracked in
* Bug #1404934 “Crash when opening files (Glib::ConvertError exception)”
  https://bugs.launchpad.net/inkscape/+bug/1404934

Proposing to link as duplicate to bug #1404934.

tags: added: crash
Changed in inkscape:
importance: Undecided → High
Revision history for this message
Jean-Noel (jn-colin) wrote :

Actually, it's with any file. I can open Inkscape (Inkscape 0.91 r13725 (Jan 30 2015) , but when loading any file, it crashes, while until yesterday everything was working fine.

I deleted the $HOME/.local/share/recently-used.xbel file, and everything's working fine now. Thanks a lot

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

Thank you for reporting back (this is much appreciated).

Linking as duplicate to bug #1404934 based on the reporter's feedback.

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.