Linking color profile from Document properties dialog crashes Inkscape (rev >= 13107)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
jazzynico |
Bug Description
If one tries to link color profile using dedicated tab of Document properties dialog Inkscape crashes. The same happens if, as I did, and provided backtrace reflects that particular situation, one has custom "default.svg" file in local templates directory.
Here's a backtrace of Inkscape r13139 crashing:
GNU gdb (GDB) 7.6.1-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://
Reading symbols from /home/vladimir/
(gdb) run
Starting program: /home/vladimir/
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
[New Thread 0x7fffe6636700 (LWP 2547)]
[New Thread 0x7fffe5e35700 (LWP 2548)]
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string:
Program received signal SIGABRT, Aborted.
0x00007ffff
56 ../nptl/
(gdb) bt
#0 0x00007ffff02faf77 in __GI_raise (sig=sig@entry=6) at ../nptl/
#1 0x00007ffff02fe5e8 in __GI_abort () at abort.c:90
#2 0x00007ffff0e236e5 in __gnu_cxx:
#3 0x00007ffff0e21856 in ?? () from /usr/lib/
#4 0x00007ffff0e21883 in std::terminate() () from /usr/lib/
#5 0x00007ffff0e21aae in __cxa_throw () from /usr/lib/
#6 0x00007ffff0e72ed7 in std::__
#7 0x00007ffff5f4f249 in char* std::string:
#8 0x00007ffff0e7ea58 in std::basic_
#9 0x00000000005d4593 in Inkscape:
#10 0x0000000000486886 in Inkscape:
at color-profile.
#11 0x0000000000486695 in Inkscape:
at color-profile.
#12 0x00000000005951aa in SPObject:
#13 0x00000000005972a8 in SPObject::build (this=0x276eef0, document=0x1c6dea0, repr=<optimized out>)
at sp-object.cpp:660
#14 0x00000000005951aa in SPObject:
#15 0x00000000005972a8 in SPObject::build (this=this@
#16 0x0000000000573fae in SPItem::build (this=this@
#17 0x00000000005852c9 in SPLPEItem::build (this=this@
#18 0x0000000000576e09 in SPGroup::build (this=this@
#19 0x00000000005a333c in SPRoot::build (this=0x276db50, document=0x1c6dea0, repr=0x1c6bc10) at sp-root.cpp:87
#20 0x00000000005951aa in SPObject:
#21 0x00000000004a8a80 in SPDocument:
at document.cpp:385
#22 0x00000000004a96ee in SPDocument:
#23 0x00000000004c1515 in sp_file_new (templ=...) at file.cpp:131
---Type <return> to continue, or q <return> to quit---
#24 0x00000000004c1a22 in sp_file_new_default () at file.cpp:224
#25 0x0000000000475186 in sp_main_gui (argc=1, argv=0x7fffffff
#26 0x00007ffff02e5de5 in __libc_start_main (main=0x4596b0 <main(int, char**)>, argc=1, ubp_av=
at libc-start.c:260
#27 0x0000000000471b2f in _start ()
(gdb)
Related branches
summary: |
Linking color profile from Document properties dialog crashes Inkscape + (rev >= 13107) |
tags: | removed: blocker |
Reroduced with r13135 on OS X 10.7.5
Based on tests with archived builds: bazaar. launchpad. net/~inkscape. dev/inkscape/ trunk/changes/ 13107> bazaar. launchpad. net/~inkscape. dev/inkscape/ trunk/revision/ 13107>
- not reproduced with rev <= 13104,
- reproduced with rev >= 13107;
this regression was likely introduced with the removal of 'src/dom' in r13107:
<http://
<http://