ufraw segfaults at end of file write

Bug #1784785 reported by Jeff Abrahamson
This bug report is a duplicate of:  Bug #1768855: ufraw-batch in bionic segfault. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ufraw (Ubuntu)
New
Undecided
Unassigned

Bug Description

When writing its output file, ufraw segfaults. This happens both for jpg and png (and then I stopped testing different file formats). Most of the time the file appears to be complete. Sometimes it is signaled as corrupt by a file viewer.

I'm not sure how to usefully debug further short of installing full source code, compiling with -g, etc.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ufraw 0.22-3
ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
Uname: Linux 4.15.0-23-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: i3
Date: Wed Aug 1 07:26:47 2018
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-10-23 (1012 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: ufraw
UpgradeStatus: Upgraded to bionic on 2018-06-14 (47 days ago)

Revision history for this message
Jeff Abrahamson (jeff-purple) wrote :
Revision history for this message
Jeff Abrahamson (jeff-purple) wrote :

Though perhaps this might help: the end of an strace, clipped after a long run of futex's.

...
futex(0x7f05d5b46f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
openat(AT_FDCWD, "/home/jeff/.config/gtk-2.0/gtkfilechooser.ini", O_RDONLY) = 9
fstat(9, {st_mode=S_IFREG|0664, st_size=214, ...}) = 0
read(9, "[Filechooser Settings]\nLocationM"..., 4096) = 214
read(9, "", 4096) = 0
close(9) = 0
munmap(0x7f05bad1f000, 1957888) = 0
munmap(0x7f05b933e000, 1957888) = 0
futex(0x7f05d5b46f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
ioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0
getpid() = 623
write(2, "\n(ufraw:623): GLib-GObject-\33[1;3"..., 130
(ufraw:623): GLib-GObject-CRITICAL **: 05:48:02.397: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
) = 130
ioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0
getpid() = 623
write(2, "\n(ufraw:623): GLib-GObject-\33[1;3"..., 130
(ufraw:623): GLib-GObject-CRITICAL **: 05:48:02.397: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
) = 130
futex(0x7f05d5b46f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
munmap(0x7f058c3e0000, 130154496) = 0
munmap(0x7f05d6118000, 323584) = 0
munmap(0x7f05847c0000, 130154496) = 0
munmap(0x7f05783e0000, 130154496) = 0
munmap(0x7f05bab42000, 1953792) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x38} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)

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.