Crash on attempting to open Fill & Stroke dialog

Bug #1317463 reported by Cip Man
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
High
Unassigned

Bug Description

Inkscape on Ubuntu 14.04 crashes when I attempt to open the FIll & Stroke dialog on an old svg file created last year on whatever version of Inkscape from Ubuntu 13.04 software center.
I attached a svg file which constantly crashes Inkscape.

As long as I had a package not updated (libselinux1) on the system I kept receiving a report that said:
-----------------
> SegvAnalysis
Segfault happened at: 0x7fb33bef6e30 ,cmsDoTransform>: mov 0x8(%rdi),%rax
PC (0x7fb33bef6e30) ok
source "0x8(%rdi)" (000000008) not located in a known VMA region (needed readable region)!
destination "%rax" ok
> SegvReason
reading NULL VMA
> Signal 11
------------
After upgrading I get only "Inkscape encountered an internal error and will close now.", no report.
If I make changes in the drawing, it does save a recovery file.
I tested on the current (updated) 14.04 and on a beta version of 14.04 which I had on a completely separate partition on my laptop.
On another laptop with ubuntu 13.10 I installed Inkscape from software center, used the same attached file (crash.svg) and Inkscape crashes as well with the same error.

Tags: color crash
Revision history for this message
Cip Man (cipman-p) wrote :
Revision history for this message
Cip Man (cipman-p) wrote :

Update:
Inskscape version is 0.48.4 r9939 on all three variants of Ubuntu (14.04, 14.04 beta, 13.10).
To reproduce the crash:
- open the above attached file crash.svg
- select the yellow object
- try to open the Fill and Stroke dialog by whatever means (menu or shortcut)
- result: Inkscape crashes.

Revision history for this message
Alvin Penner (apenner) wrote :

- crash not reproduced on Windows 7, Inkscape 0.48.4. instead I get the console messages:

** Message: lcms: Error 12288; File '\usr\share\color\icc\ISOcoated.icc' not found
** Message: lcms: Error 12288; File '\usr\share\color\icc\ISOcoated.icc' not found

- crash reproduced on XP, Inkscape rev 13288, backtrace:

[New thread 2600.0xa7c]
[New thread 2600.0x8b0]
[New thread 2600.0x86c]
[New thread 2600.0x868]
[New thread 2600.0xa48]
warning: Lowest section in C:\WINDOWS\system32\xpsp2res.dll is .rsrc at 00011000

warning: Lowest section in C:\WINDOWS\system32\odbcint.dll is .rsrc at 00401000
BFD: C:\WINDOWS\system32\WMVCore.dll: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section .reloc
BFD: C:\WINDOWS\system32\WMVCore.dll: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section .reloc

Program received signal SIGSEGV, Segmentation fault.
0x6b257a95 in liblcms2-2!cmsDoTransform ()
   from C:\InkscapeBZR\inkscape\liblcms2-2.dll
(gdb) bt
#0 0x6b257a95 in liblcms2-2!cmsDoTransform ()
   from C:\InkscapeBZR\inkscape\liblcms2-2.dll
#1 0x004a37d6 in Inkscape::ColorProfile::GamutCheck ()
#2 0x00000001 in ?? ()
#3 0x07df63d8 in ?? ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x6b257a95 in liblcms2-2!cmsDoTransform ()
   from C:\InkscapeBZR\inkscape\liblcms2-2.dll
(gdb) c
Continuing.

Program exited with code 030000000005.
(gdb) c
The program is not being run.
(gdb) quit

Changed in inkscape:
status: New → Confirmed
Revision history for this message
Cip Man (cipman-p) wrote :

Thank you Alvin! The console message from win7 gave me the clue.
I put the icc profile (for example from http://www.tech-view.com/download/ICC_profiles/ISOcoated.icc ) at the indicated address and now Inkscape doesn't crash no more.
I was about to say that I installed Ubuntu 13.04 on a virtual machine and Inkscape (same version as above) crashes as well. Now it's obvious why.
Thanks again.

jazzynico (jazzynico)
tags: added: color
removed: dialog fill stroke
Revision history for this message
jazzynico (jazzynico) wrote :

Also reproduced on Crunchbang Waldorf, Inkscape trunk revision 13341.

Changed in inkscape:
importance: Undecided → High
status: Confirmed → Triaged
Revision history for this message
jazzynico (jazzynico) wrote :
Revision history for this message
jazzynico (jazzynico) wrote :

Marking duplicate of bug #1300865 "lcms2: crash in 'Fill and Stroke' if linked color profile is missing on local system" (same description, same backtrace). Don't hesitate to comment if you think it's a different issue.

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.