[Pkg-phototools-devel] Bug#728401: darktab: segfault while importing FUJI X-E1 .raf
Luca Capello
luca at pca.it
Thu Oct 31 19:41:04 UTC 2013
Package: darktable
Version: 1.2.3-1
Severity: important
Usertags: friends-photo
Hi there,
I was trying to understand why darktable does not depend on any *raw
package and then I discovered #710274 (which IMHO is way more than a
minor bug).
Anyway, dcraw works with no error, while darktable segfaults:
=====
$ schroot -c sid-desktop
(sid-desktop) $ dcraw -i Downloads/Magali/DSCF3087.RAF
Downloads/Magali/DSCF3087.RAF is a Fujifilm X-E1 image.
(sid-desktop) $ dcraw Downloads/Magali/DSCF3087.RAF && echo OK
OK
(sid-desktop) $ darktable Downloads/Magali/DSCF3087.RAF
libusbx: debug [libusb_get_device_list]
libusbx: debug [libusb_get_device_descriptor]
libusbx: debug [libusb_get_device_descriptor]
libusbx: debug [libusb_get_device_descriptor]
libusbx: debug [libusb_get_device_descriptor]
libusbx: debug [libusb_get_device_descriptor]
libusbx: debug [libusb_get_device_descriptor]
libusbx: debug [libusb_get_device_descriptor]
libusbx: debug [libusb_get_config_descriptor] index 0
libusbx: debug [libusb_exit]
libusbx: debug [libusb_exit] destroying default context
[rawspeed] No decoder found. Sorry.
an error occured while trying to execute gdb. please check if gdb is installed on your system.
backtrace written to /tmp/darktable_bt_V0I35W.txt
Segmentation fault
(sid-desktop) $ ls /tmp/darktable_bt_V0I35W.txt
ls: cannot access /tmp/darktable_bt_V0I35W.txt: No such file or directory
(sid-desktop) $
=====
First, why darktable is trying to execute gdb? I have not asked it
to... And, second, it should simply stop there without giving false
informations about not-existent tmpfiles.
New try after having installed GDB:
=====
(sid-desktop) $ rm -rf .config/darktable
(sid-desktop) $ rm -rf .cache/darktable/
(sid-desktop) $ darktable Downloads/Magali/DSCF3087.RAF
[defaults] found a 64-bit system with 3084504 kb ram and 2 cores (0 atom based)
[defaults] setting very conservative defaults
libusbx: debug [libusb_get_device_list]
libusbx: debug [libusb_get_device_descriptor]
libusbx: debug [libusb_get_device_descriptor]
libusbx: debug [libusb_get_device_descriptor]
libusbx: debug [libusb_get_device_descriptor]
libusbx: debug [libusb_get_device_descriptor]
libusbx: debug [libusb_get_device_descriptor]
libusbx: debug [libusb_get_device_descriptor]
libusbx: debug [libusb_get_config_descriptor] index 0
libusbx: debug [libusb_exit]
libusbx: debug [libusb_exit] destroying default context
[mipmap_cache] cache is empty, file `/home/luca.capello/.cache/darktable/mipmaps-43dc9d7474ae7ca12b148066b0074ea8df5f59d6' doesn't exist
[rawspeed] No decoder found. Sorry.
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[New LWP 21076]
[New LWP 21075]
[New LWP 21074]
[New LWP 21073]
[New LWP 21072]
[New LWP 21071]
[New LWP 21070]
[New LWP 21069]
[New LWP 21068]
[New LWP 21067]
[New LWP 21066]
[New LWP 21065]
[New LWP 21064]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007ff1fbb0be07 in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0
backtrace written to /tmp/darktable_bt_J3MU5W.txt
Segmentation fault
(sid-desktop) $
=====
BTW, this does not happen with Canon .cr2 file:
=====
(sid-desktop) $ dcraw -i Downloads/Magali/IMG_6203.CR2
Downloads/Magali/IMG_6203.CR2 is a Canon EOS 7D image.
(sid-desktop) $ dcraw Downloads/Magali/IMG_6203.CR2 && echo OK
OK
(sid-desktop) $ rm -rf .config/darktable
(sid-desktop) $ rm -rf .cache/darktable/
(sid-desktop) $ darktable Downloads/Magali/IMG_6203.CR2
[defaults] found a 64-bit system with 3084504 kb ram and 2 cores (0 atom based)
[defaults] setting very conservative defaults
libusbx: debug [libusb_get_device_list]
libusbx: debug [libusb_get_device_descriptor]
libusbx: debug [libusb_get_device_descriptor]
libusbx: debug [libusb_get_device_descriptor]
libusbx: debug [libusb_get_device_descriptor]
libusbx: debug [libusb_get_device_descriptor]
libusbx: debug [libusb_get_device_descriptor]
libusbx: debug [libusb_get_device_descriptor]
libusbx: debug [libusb_get_config_descriptor] index 0
libusbx: debug [libusb_exit]
libusbx: debug [libusb_exit] destroying default context
[mipmap_cache] cache is empty, file `/home/luca.capello/.cache/darktable/mipmaps-43dc9d7474ae7ca12b148066b0074ea8df5f59d6' doesn't exist
(sid-desktop) $
=====
This does not seems related to #625655 nor #699324. And I do not think
that running it inside a chroot should be the problem here.
The only upstream reference for the rawspeed output seems to have been
already fixed in both upstream and Debian:
<http://www.darktable.org/redmine/issues/9562>
<https://github.com/darktable-org/darktable/commit/5668c8d14362d375a92d2b2290f0dd3a06058caf>
--8<---------------cut here---------------start------------->8---
darktable (1.2.3-1) unstable; urgency=low
* New upstream release
- libraw fix from 1.2.2-2 is now upstream (in darktable)
[...]
-- David Bremner <bremner at debian.org> Thu, 12 Sep 2013 06:44:59 -0300
--8<---------------cut here---------------end--------------->8---
I am available for any test on Debian packages (sorry, non-Debian
manually compiling upstream stuff is too much time-consuming).
Thx, bye,
Gismo / Luca
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.11-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages darktable depends on:
ii gtk2-engines 1:2.20.2-2
ii libatk1.0-0 2.10.0-2
ii libc6 2.17-93
ii libcairo2 1.12.16-2
ii libcolord1 1.0.2-1
ii libcurl3-gnutls 7.33.0-1
ii libexiv2-12 0.23-1
ii libflickcurl0 1.24-1
ii libfreetype6 2.4.9-1.1
ii libgcc1 1:4.8.2-1
ii libgdk-pixbuf2.0-0 2.28.2-1
ii libgl1-mesa-glx [libgl1] 9.2.2-1
ii libglib2.0-0 2.36.4-1
ii libglu1-mesa [libglu1] 9.0.0-2
ii libgnome-keyring0 3.8.0-2
ii libgomp1 4.8.2-1
ii libgphoto2-2 2.4.14-2.3
ii libgphoto2-port0 2.4.14-2.3
ii libgtk2.0-0 2.24.22-1
ii libice6 2:1.0.8-2
ii libilmbase6 1.0.1-6
ii libjpeg8 8d-1
ii libjs-prototype 1.7.1-3
ii libjs-scriptaculous 1.9.0-2
ii libjson-glib-1.0-0 0.16.2-1
ii liblcms2-2 2.2+git20110628-2.3
ii liblensfun0 0.2.7-3
ii libopenexr6 1.6.1-7
ii libpango-1.0-0 1.36.0-1
ii libpangocairo-1.0-0 1.36.0-1
ii libpng12-0 1.2.49-5
ii librsvg2-2 2.40.0-1
ii libsdl1.2debian 1.2.15-7
ii libsm6 2:1.2.1-2
ii libsoup2.4-1 2.44.1-1
ii libsqlite3-0 3.8.0.2-1
ii libstdc++6 4.8.2-1
ii libtiff5 4.0.3-5
ii libx11-6 2:1.6.2-1
ii libxext6 2:1.3.2-1
ii libxml2 2.9.1+dfsg1-3
ii zlib1g 1:1.2.8.dfsg-1
darktable recommends no packages.
darktable suggests no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: darktable_bt_J3MU5W.txt.gz
Type: application/octet-stream
Size: 943 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-phototools-devel/attachments/20131031/a98d67d1/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-phototools-devel/attachments/20131031/a98d67d1/attachment.sig>
More information about the Pkg-phototools-devel
mailing list