Bug#785141: inkscape crashes when opening any files

Roland Hieber rohieb at rohieb.name
Thu May 14 03:53:02 UTC 2015


Package: inkscape
Followup-For: Bug #785141
Control: retitle -1 inkscape crashes when opening any files if there are strange items in the recent files list

Applying the debug symbols patch patch from #733678, I get the following
backtrace:

-------- 8< --------
(gdb) bt
#0  0x00007fffee8c3107 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007fffee8c44e8 in __GI_abort () at abort.c:89
#2  0x00007fffef3cbb3d in __gnu_cxx::__verbose_terminate_handler ()
    at ../../../../src/libstdc++-v3/libsupc++/vterminate.cc:95
#3  0x00007fffef3c9bb6 in __cxxabiv1::__terminate (handler=<optimized out>)
    at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:47
#4  0x00007fffef3c9c01 in std::terminate () at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:57
#5  0x00007fffef3c9e19 in __cxxabiv1::__cxa_throw (obj=0x3e699b0, 
    tinfo=0xd54130 <typeinfo for Glib::ConvertError>, 
    dest=0x7ffff54f7930 <Glib::ConvertError::~ConvertError()>)
    at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:87
#6  0x00007ffff54f77b7 in Glib::ConvertError::throw_func (gobject=0x40cd900) at convert.cc:322
#7  0x00007ffff5508e27 in Glib::Error::throw_exception (gobject=0x40cd900) at error.cc:167
#8  0x00007ffff54f752d in Glib::filename_from_uri (uri=...) at convert.cc:256
#9  0x000000000052b3f1 in Inkscape::ResourceManagerImpl::locateLinks (this=0x1406250, docbase=..., 
    brokenLinks=std::vector of length 0, capacity 0) at resource-manager.cpp:225
#10 0x000000000052c786 in Inkscape::ResourceManagerImpl::fixupBrokenLinks (this=0x1406250, doc=0x1d0eea0)
    at resource-manager.cpp:296
#11 0x00000000004c7fe9 in sp_file_open (uri=..., key=key at entry=0x0, add_to_recent=add_to_recent at entry=true, 
    replace_empty=replace_empty at entry=true) at file.cpp:321
#12 0x00000000004753a3 in sp_main_gui (argc=2, argv=0x7fffffffe028) at main.cpp:1065
#13 0x00007fffee8afb45 in __libc_start_main (main=0x456ad0 <main(int, char**)>, argc=3, argv=0x7fffffffe028, 
    init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe018)
    at libc-start.c:287
#14 0x0000000000471a7f in _start ()
-------- >8 --------

The URI that is passed to Glib::filename_from_uri() in #8 is
"file://2014-09-14-dominik-openkeychain.osp" in my case, which seems to be an
item from the recent items list, as far as I understand the code in
Inkscape::ResourceManagerImpl::locateLinks(). This file obviously does not
exist, and please don't ask me how it got into the recent item list after all –
I cannot tell :D

So it seems glibmm cannot find the filename and throws an exception, which is
not caught by Inkscape and therefore causes the program to crash.

 - Roland



More information about the pkg-multimedia-maintainers mailing list