ufraw segfaults at end of file write
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
ProcVersionSign
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)
Though perhaps this might help: the end of an strace, clipped after a long run of futex's.
... 46f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0 jeff/.config/ gtk-2.0/ gtkfilechooser. ini", O_RDONLY) = 9 S_IFREG| 0664, st_size=214, ...}) = 0 \nLocationM" ..., 4096) = 214 0x7f05bad1f000, 1957888) = 0 0x7f05b933e000, 1957888) = 0 46f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0 \33[1;3" ..., 130 CRITICAL **: 05:48:02.397: g_object_unref: assertion 'G_IS_OBJECT (object)' failed \33[1;3" ..., 130 CRITICAL **: 05:48:02.397: g_object_unref: assertion 'G_IS_OBJECT (object)' failed 46f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0 0x7f058c3e0000, 130154496) = 0 0x7f05d6118000, 323584) = 0 0x7f05847c0000, 130154496) = 0 0x7f05783e0000, 130154496) = 0 0x7f05bab42000, 1953792) = 0 SEGV_MAPERR, si_addr=0x38} ---
futex(0x7f05d5b
openat(AT_FDCWD, "/home/
fstat(9, {st_mode=
read(9, "[Filechooser Settings]
read(9, "", 4096) = 0
close(9) = 0
munmap(
munmap(
futex(0x7f05d5b
ioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0
getpid() = 623
write(2, "\n(ufraw:623): GLib-GObject-
(ufraw:623): GLib-GObject-
) = 130
ioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0
getpid() = 623
write(2, "\n(ufraw:623): GLib-GObject-
(ufraw:623): GLib-GObject-
) = 130
futex(0x7f05d5b
munmap(
munmap(
munmap(
munmap(
munmap(
--- SIGSEGV {si_signo=SIGSEGV, si_code=
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)