crash while loading a file

Bug #1434242 reported by xapantu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

Inkscape crash when I try to open a file (attached), either from the command line, or from an inkscape menu.

Version 0.91

Here is the backtrace :

#0 0x00007fffeed244b7 in raise () from /usr/lib/libc.so.6
#1 0x00007fffeed2588a in abort () from /usr/lib/libc.so.6
#2 0x00007fffef82cfcd in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#3 0x00007fffef82ae56 in __cxxabiv1::__terminate(void (*)()) () from /usr/lib/libstdc++.so.6
#4 0x00007fffef82aea1 in std::terminate() () from /usr/lib/libstdc++.so.6
#5 0x00007fffef82b0b8 in __cxa_throw () from /usr/lib/libstdc++.so.6
#6 0x00007ffff55046a7 in Glib::ConvertError::throw_func(_GError*) () from /usr/lib/libglibmm-2.4.so.1
#7 0x00007ffff5515947 in Glib::Error::throw_exception(_GError*) () from /usr/lib/libglibmm-2.4.so.1
#8 0x00007ffff550441d in Glib::filename_from_uri(Glib::ustring const&) () from /usr/lib/libglibmm-2.4.so.1
#9 0x0000000000523891 in Inkscape::ResourceManagerImpl::locateLinks (this=0x13a25c0, docbase=..., brokenLinks=std::vector of length 0, capacity 0) at resource-manager.cpp:225
#10 0x0000000000524be3 in Inkscape::ResourceManagerImpl::fixupBrokenLinks (this=0x13a25c0, doc=0x16038f0) at resource-manager.cpp:296
#11 0x00000000004c37c9 in sp_file_open (uri=..., key=key@entry=0x0, add_to_recent=add_to_recent@entry=true, replace_empty=replace_empty@entry=true) at file.cpp:321
#12 0x00000000004ed31d in sp_recent_open (recent_menu=<optimized out>) at interface.cpp:715
#13 0x00007ffff0129175 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#14 0x00007ffff013aa5c in ?? () from /usr/lib/libgobject-2.0.so.0
#15 0x00007ffff01436f8 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#16 0x00007ffff014395f in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#17 0x00007ffff0129175 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#18 0x00007ffff013aa5c in ?? () from /usr/lib/libgobject-2.0.so.0
#19 0x00007ffff01436f8 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#20 0x00007ffff014395f in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#21 0x00007ffff6ac1926 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#22 0x00007ffff69bd81d in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0
#23 0x00007ffff69bdbbb in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#24 0x00007ffff69ab90f in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x00007ffff0129175 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#26 0x00007ffff013a952 in ?? () from /usr/lib/libgobject-2.0.so.0
#27 0x00007ffff0143205 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#28 0x00007ffff014395f in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#29 0x00007ffff6ac2b9c in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#30 0x00007ffff69aa054 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#31 0x00007ffff69aa4eb in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#32 0x00007ffff661f2cc in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#33 0x00007fffefe5471d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0x00007fffefe54a08 in ?? () from /usr/lib/libglib-2.0.so.0
#35 0x00007fffefe54d32 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#36 0x00007ffff69a9467 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#37 0x000000000047344c in sp_main_gui (argc=1, argv=0x7fffffffe088) at main.cpp:1075
#38 0x00007fffeed11800 in __libc_start_main () from /usr/lib/libc.so.6
#39 0x000000000046fbf9 in _start ()

Tags: crash opening
Revision history for this message
xapantu (xapantu) wrote :
su_v (suv-lp)
tags: added: crash opening
Revision history for this message
xapantu (xapantu) wrote :

Hum, sorry, I was mistaken.

This wasn't a problem with a specific file, but in the way Inkscape handles the recent file list (to resolve implicit links as far as I see).

I had opened "Conférence_something.osp" in another application, so there was an utf-8 string in the recent file list, and it was not properly handled.

So, here is a patch, I don't have the time to download the development branch, I hope it can still be fixed in the trunk ;)

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

Thank you for filing this report - based on the backtrace, this issue has been reported before and is already tracked in
* Bug #1404934 “Crash when opening files (Glib::ConvertError exception)”
  https://bugs.launchpad.net/inkscape/+bug/1404934

Linking as duplicate to bug #1404934 - feel free to add a comment here (bug #1434242) and revert the duplicate status if you disagree and think these are unrelated issues which need to be tracked separately.

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

<off-topic>
Please don't forget to include information about OS/platform when filing new reports in the future, thx.
</off-topic>

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.