[apport] ufraw crashed canon raw files (cr2)

Bug #93811 reported by calca
4
Affects Status Importance Assigned to Milestone
ufraw (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: ufraw

open .cr2 file of canon 350d
-> corrections
-> edit curve
-> crash

ProblemType: Crash
Architecture: i386
Date: Mon Mar 19 19:34:47 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/ufraw
Package: ufraw 0.11-0~getdeb1
PackageArchitecture: i386
ProcCmdline: ufraw
ProcCwd: /home/gigi
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: ufraw
StacktraceTop:
 memcpy () from /lib/tls/i686/cmov/libc.so.6
 cmsAllocLinearTable () from /usr/lib/liblcms.so.1
 ?? ()
 ?? () from /lib/ld-linux.so.2
 cmsCreateLinearizationDeviceLink ()
Uname: Linux squid 2.6.17-11-generic #2 SMP Thu Feb 1 19:52:28 UTC 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin plugdev root scanner users video

Revision history for this message
calca (gianluigi-calcaterra) wrote :
Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for your bug report.

Changed in ufraw:
assignee: nobody → motu
importance: Undecided → Medium
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:_start () from /lib/ld-linux.so.2
?? ()
?? ()

description: updated
Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
udifuchs (udifuchs) wrote :

It seems like a problem with lcms-1.16. The following patch to ufraw_developer.c might solve the problem:

                prof[i++] = d->saturationProfile;
            prof[i++] = d->profile[1];
            d->colorTransform = cmsCreateMultiprofileTransform(prof, i,
- TYPE_RGB_16, TYPE_RGB_16, d->intent, 0);
+ TYPE_RGB_16, NOCOLORSPACECHECK(TYPE_RGB_16), d->intent, 0);
        }
     }
 }

Udi

Revision history for this message
Marco Rodrigues (gothicx) wrote :

This wasn't fixed on version 0.12.1, I check the source code myself. I need to report it upstream..

Changed in ufraw:
status: New → Confirmed
assignee: motu → gothicx
Revision history for this message
udifuchs (udifuchs) wrote :

In ufraw_developer.c there are two calls to cmsCreateMultiprofileTransform(). As far as I know only one of them requires the use of the NOCOLORSPACECHECK() macro.

Are you still getting the same crash with UFRaw-0.12.1?

Udi

Rich Johnson (nixternal)
Changed in ufraw:
assignee: gothicx → nobody
Changed in ufraw (Ubuntu):
status: Confirmed → Fix Released
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.