ufraw-batch in bionic segfault
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ufraw (Debian) |
Fix Released
|
Unknown
|
|||
ufraw (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bionic |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
* Segmentation fault after any manipulation with any RAW files.
* This breaks batch processing files, because it segfaults after
processing the first file.
* This has already been fixed in Debian and is a simple patch
that adds NULL checks for some pointers.
[Test Case]
* Run ufraw-batch from the command line. Examples:
`ufraw-batch --embedded-image IMG_1375.CR2`
`ufraw-batch *.PEF`
[Regression Potential]
* This code is used when compiled with lensfun, and runs after processing
any file.
* Can integrate with GIMP through gimp-ufraw and is recommended in
Ubuntu Studio metapackages.
[Other Info]
This crash also exists in the Ubuntu Error Tracker so it can be watched to ensure that the new version of ufraw doesn't appear in the bucket.
https:/
eugene@
ufraw-batch: Loaded IMG_1375.CR2
ufraw-batch: Saved /home/eugene/
Segmentation fault (core dumped)
---
ProblemType: BugDistroRelease: Ubuntu 18.04
Package: ufraw-batch 0.22-3
ProcVersionSign
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu May 3 16:54:23 2018
InstallationDate: Installed on 2017-11-15 (169 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20171114)
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- ufraw-batch in bionic crashes + ufraw-batch in bionic segfault |
tags: | removed: wayland-session |
description: | updated |
Changed in ufraw (Ubuntu Bionic): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in ufraw (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in lensfun (Ubuntu): | |
status: | Confirmed → Invalid |
affects: | lensfun (Debian) → ufraw (Debian) |
no longer affects: | ufraw (Ubuntu) |
no longer affects: | lensfun (Ubuntu Bionic) |
no longer affects: | lensfun (Ubuntu) |
no longer affects: | ufraw (Ubuntu Bionic) |
Changed in ufraw (Ubuntu): | |
status: | New → Confirmed |
affects: | ufraw → ufraw (Ubuntu) |
Changed in ufraw (Ubuntu): | |
status: | New → Fix Released |
Changed in ufraw (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in ufraw (Ubuntu): | |
importance: | Undecided → Medium |
Changed in ufraw (Ubuntu Bionic): | |
importance: | Undecided → Medium |
description: | updated |
description: | updated |
description: | updated |
Changed in ufraw (Debian): | |
status: | Unknown → Fix Released |
I can also confirm that I also have similar problems when attempting to run ufraw. I discovered it when trying to setup ufraw-batch as my thumbnailer for RAW files (specifically for me olympus .orf files).
I've discovered the following debian bug report which I believe is related. It's actually caused by liblensfun (which ufraw-batch is compiled against by default).
https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 862662
When ufraw-batch runs (as the thumbnailer) my syslog fills up with these messages (one for each attempted thumbnail generation):
May 26 12:49:13 RYZEN kernel: [ 2896.326150] ufraw-batch[16764]: segfault at 38 ip 00007f800c2d4b64 sp 00007fff8280a470 error 4 in liblensfun. so.0.3. 2[7f800c2c1000+ 1a000]
I did some more investigation, and the ufraw developers claim it's a bug in liblensfun that needs to be fixed.