uraw Segmentation fault

Bug #1127357 reported by stephane Brette
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lensfun (Ubuntu)
Invalid
Undecided
Unassigned
ufraw (Debian)
Fix Released
Unknown
ufraw (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

After upgrading to ubuntu 12.04, ufraw does'nt works.
It crash with segmentation fault when opening cr2 file (canon 60D)

Description: Ubuntu 12.10
Release: 12.10

 apt-cache policy ufraw
ufraw:
  Installé : 0.18-2ubuntu1
  Candidat : 0.18-2ubuntu1
  Table de version :
 *** 0.18-2ubuntu1 0
        500 http://fr.archive.ubuntu.com/ubuntu/ quantal/universe amd64 Packages
        100 /var/lib/dpkg/status

Tags: ufraw
Revision history for this message
stephane Brette (steph-brette-g) wrote :
Revision history for this message
Graham Inggs (ginggs) wrote :

New upstream release 0.19 is available:
http://sourceforge.net/projects/ufraw/files/ufraw/ufraw-0.19/

26/02/2013 - UFRaw-0.19 released, based on DCRaw v 9.17.

   - Maintenance release with lots of bug fixes.

I have packaged it in my PPA:
https://launchpad.net/~ginggs/+archive/ppa

Try it and see if it solves your problem.

Revision history for this message
stephane Brette (steph-brette-g) wrote :

Hi, thank you Ginggs

I have installed ufraw from your ppa.
Ufraw open my CR2 correctly but when i will open file in gimp, i have this error :
"L'ouverture de « /media/brette/PhotoGraphies/2013/03/03/IMG_8233.CR2 » a échoué : La procédure « file-ufraw-load » n'a renvoyé aucune valeur"

When i save directly in jpg, it's works very fine!

Revision history for this message
stephane Brette (steph-brette-g) wrote :

I have this error un syslog :
brette-EasyNote-ST85-M-009FR kernel: [ 1005.959346] ufraw[4513] general protection ip:7f8435822fce sp:7fff3f6fcd60 error:0 in liblensfun.so.0.2.6.0[7f8435810000+18000]

Regards,

Revision history for this message
Graham Inggs (ginggs) wrote :

You can file a bug upstream and upload a sample image for them:
http://sourceforge.net/p/ufraw/bugs/

Revision history for this message
Niels Kristian Bech Jensen (nkbjensen) wrote :

Please update to UFRaw 0.19.1 which fixes a compiler optimization bug with GCC 4.7.x.

Revision history for this message
Graham Inggs (ginggs) wrote :

0.19.1 available in my PPA.

Stephane: If you upload a sample image somewhere I can test with ufraw and the new liblensfun 0.2.7 in Raring.

Revision history for this message
stephane Brette (steph-brette-g) wrote :

Hi,
Thank you for your Help.
I will installed ufraw0.19.1 and i Upload a cr2 Sample file from my canon 60D

Regards

Revision history for this message
Graham Inggs (ginggs) wrote :

Stephane: Thank you for the sample file. I am able to open it with ufraw 0.18 and directly with GIMP with gimp-ufraw 0.18 on Quantal.

Do you have any other GIMP plugins installed that may be causing the issue?

Where did you get lensfun 0.2.6? Quantal has 0.2.5-2. What is the output of:
apt-cache policy liblensfun0

Revision history for this message
stephane Brette (steph-brette-g) wrote :

Hi,
ufraw 0.19.1 work fine !

I have gmic for gimp

result of command:
apt-cache policy liblensfun0

liblensfun0:
  Installé : 0.2.6-precise~ppa1
  Candidat : 0.2.6-precise~ppa1
  Table de version :
 *** 0.2.6-precise~ppa1 0
        100 /var/lib/dpkg/status
     0.2.5-2 0
        500 http://fr.archive.ubuntu.com/ubuntu/ quantal/universe amd64 Packages

Revision history for this message
Graham Inggs (ginggs) wrote :

I also have gimp-gmic installed.

Your problem with opening the file in GIMP may be related to the PPA build of liblensfun0 you have installed.
Please try the backport of 0.2.7 from Raring available here:
https://launchpad.net/~ginggs/+archive/backports

Revision history for this message
Graham Inggs (ginggs) wrote :

I'm seeing similar errors while trying to backport lensfun 0.2.7 to Precise. Possibly related:
http://developer.berlios.de/bugs/?func=detailbug&bug_id=18908&group_id=9034

Revision history for this message
Graham Inggs (ginggs) wrote :

Comment at above URL posted by da_seeb on 2013-May-05 13:22:

BTW: It works with the current Ubuntu 13.04 which is shipped with an up-to-date lensfun 0.2.7. So it seems to be related to ufraw version 0.18 or a certain build config in some distributions.

Marking 'fix released' for ufraw and 'invalid' for lensfun.

Changed in lensfun (Ubuntu):
status: New → Invalid
Changed in ufraw (Ubuntu):
status: New → Fix Released
Changed in ufraw (Debian):
status: Unknown → New
Changed in ufraw (Debian):
status: New → 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.