FS#51446 - [libopenraw] crash during RAW thumbnail creation
Attached to Project:
Community Packages
Opened by mattia (nTia89) - Wednesday, 19 October 2016, 20:07 GMT
Last edited by Alexander F. Rødseth (xyproto) - Sunday, 27 November 2016, 17:54 GMT
Opened by mattia (nTia89) - Wednesday, 19 October 2016, 20:07 GMT
Last edited by Alexander F. Rødseth (xyproto) - Sunday, 27 November 2016, 17:54 GMT
|
Details
Description:
nautilus crashes when I open a folder that contains one RAW file (a .NEF caught somewhere on the web...) I haven't yet reported upstream because it's no clear the source of the issue... Additional info: * nautilus-3.22.1, libopenraw-0.0.9-4 journalctl reports this: Oct 19 18:10:26 arch-xps kernel: pool[9591]: segfault at 7f114bba4000 ip 00007f114bdc5790 sp 00007f115d1ec7c8 error 4 in libopenraw.so.1.6.0[7f114bda5000+57000] Oct 19 18:10:26 arch-xps systemd[1]: Created slice system-systemd\x2dcoredump.slice. Oct 19 18:10:26 arch-xps systemd[1]: Started Process Core Dump (PID 9600/UID 0). Oct 19 18:10:27 arch-xps systemd-coredump[9601]: Process 9534 (nautilus) of user 1000 dumped core. Stack trace of thread 9591: #0 0x00007f114bdc5790 _ZN7OpenRaw9Internals11BitIterator4loadEm (libopenraw.so.1) #1 0x00007f114bdc5828 _ZN7OpenRaw9Internals11BitIterator3getEm (libopenraw.so.1) #2 0x00007f114bdc5c5c _ZN7OpenRaw9Internals15NefDiffIterator3getEv (libopenraw.so.1) #3 0x00007f114bdc5d39 _ZN7OpenRaw9Internals14NefCfaIterator3getEv (libopenraw.so.1) #4 0x00007f114bdd1d18 _ZN7OpenRaw9Internals7NEFFile25_decompressNikonQuantizedERNS_7RawDataE (libopenraw.so.1) #5 0x00007f114bdd1f06 _ZN7OpenRaw9Internals7NEFFile11_getRawDataERNS_7RawDataEj (libopenraw.so.1) #6 0x00007f114bdc6e86 _ZN7OpenRaw7RawFile10getRawDataERNS_7RawDataEj (libopenraw.so.1) #7 0x00007f114bdc7c2d _ZN7OpenRaw7RawFile16getRenderedImageERNS_10BitmapDataEj (libopenraw.so.1) #8 0x00007f115c0c6ff5 n/a (libopenraw_pixbuf.so) #9 0x00007f1173f479d3 gdk_pixbuf_loader_close (libgdk_pixbuf-2.0.so.0) #10 0x00007f1175c61d86 n/a (libgnome-desktop-3.so.12) #11 0x00007f1175c624f2 gnome_desktop_thumbnail_factory_generate_thumbnail (libgnome-desktop-3.so.12) #12 0x0000000000472680 n/a (nautilus) #13 0x00007f1173a19afd n/a (libgio-2.0.so.0) #14 0x00007f117349cace n/a (libglib-2.0.so.0) #15 0x00007f117349c0d5 n/a (libglib-2.0.so.0) #16 0x00007f1172f10454 start_thread (libpthread.so.0) #17 0x00007f1172c537df __clone (libc.so.6) Stack trace of thread 9541: #0 0x00007f1172c4a48d poll (libc.so.6) #1 0x00007f1173474786 n/a (libglib-2.0.so.0) #2 0x00007f117347489c g_main_context_iteration (libglib-2.0.so.0) #3 0x00007f11734748e1 n/a (libglib-2.0.so.0) #4 0x00007f117349c0d5 n/a (libglib-2.0.so.0) #5 0x00007f1172f10454 start_thread (libpthread.so.0) #6 0x00007f1172c537df __clone (libc.so.6) Stack trace of thread 9546: #0 0x00007f1172c4a48d poll (libc.so.6) #1 0x00007f1173474786 n/a (libglib-2.0.so.0) #2 0x00007f117347489c g_main_context_iteration (libglib-2.0.so.0) #3 0x00007f115f3cc4bd n/a (libdconfsettings.so) #4 0x00007f117349c0d5 n/a (libglib-2.0.so.0) #5 0x00007f1172f10454 start_thread (libpthread.so.0) #6 0x00007f1172c537df __clone (libc.so.6) Stack trace of thread 9542: #0 0x00007f1172c4a48d poll (libc.so.6) #1 0x00007f1173474786 n/a (libglib-2.0.so.0) #2 0x00007f1173474b12 g_main_loop_run (libglib-2.0.so.0) #3 0x00007f1173a5a316 n/a (libgio-2.0.so.0) #4 0x00007f117349c0d5 n/a (libglib-2.0.so.0) #5 0x00007f1172f10454 start_thread (libpthread.so.0) #6 0x00007f1172c537df __clone (libc.so.6) Stack trace of thread 9534: #0 0x00007f1172c4a48d poll (libc.so.6) #1 0x00007f1173474786 n/a (libglib-2.0.so.0) #2 0x00007f117347489c g_main_context_iteration (libglib-2.0.so.0) #3 0x00007f1173a2e54d g_application_run (libgio-2.0.so.0) #4 0x00000000004292ca n/a (nautilus) #5 0x00007f1172b8b291 __libc_start_main (libc.so.6) #6 0x000000000042932a n/a (nautilus) |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Sunday, 27 November 2016, 17:54 GMT
Reason for closing: Fixed
Sunday, 27 November 2016, 17:54 GMT
Reason for closing: Fixed
https://bugzilla.redhat.com/show_bug.cgi?id=1279152
Patch:
http://pkgs.fedoraproject.org/cgit/rpms/libopenraw.git/tree/libopenraw-bz1279152.patch
It is present in thunar (xfce4) / tumblr using raw-thumbnailer 0.2.1-2 (built on Thu 03 Jul 2014) based on libopenraw 0.0.9+4+g61b4f35-1 (built on Thu 20 Oct 2016 09:25:58 GMT+2). I have run pacman -Syu and there are no newer versions available right now (Mon 7 Nov 21:41:57 GMT+1).
In my case it occurs for CR2 files.
Excerpt from journalctl output :
Nov 05 07:45:38 predator dbus-daemon[547]: Activating service name='org.freedesktop.thumbnails.Thumbnailer1'
Nov 05 07:45:38 predator dbus-daemon[547]: Successfully activated service 'org.freedesktop.thumbnails.Thumbnailer1'
Nov 05 07:46:01 predator org.freedesktop.thumbnails.Thumbnailer1[547]: ICC Profile CS 52474220
Nov 05 07:46:47 predator tumblerd[1027]: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
Nov 05 07:46:47 predator tumblerd[1027]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Nov 05 07:46:47 predator tumblerd[1027]: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
Nov 05 07:46:47 predator tumblerd[1027]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Nov 05 07:46:47 predator tumblerd[1027]: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
Nov 05 07:46:47 predator tumblerd[1027]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Nov 05 07:46:47 predator tumblerd[1027]: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
Nov 05 07:46:47 predator tumblerd[1027]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Nov 05 07:46:47 predator tumblerd[1027]: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
Nov 05 07:46:47 predator tumblerd[1027]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Nov 05 07:46:47 predator tumblerd[1027]: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
Nov 05 07:46:47 predator tumblerd[1027]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Nov 05 07:46:47 predator tumblerd[1027]: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
Nov 05 07:46:47 predator tumblerd[1027]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Nov 05 07:46:47 predator tumblerd[1027]: gdk_pixbuf_read_pixels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
Nov 05 07:46:47 predator kernel: pool[1029]: segfault at 1 ip 00007fe737bd9821 sp 00007fe72e040c48 error 4 in libc-2.24.so[7fe737ab1000+195000]
Nov 05 07:46:47 predator systemd[1]: Created slice system-systemd\x2dcoredump.slice.
Nov 05 07:46:47 predator systemd[1]: Started Process Core Dump (PID 1051/UID 0).
Nov 05 07:46:47 predator systemd-coredump[1052]: Process 1027 (tumblerd) of user 1000 dumped core.
Stack trace of thread 1029:
#0 0x00007fe737bd9821 __memmove_avx_unaligned_erms (libc.so.6)
#1 0x00007fe73789aca6 gdk_pixbuf_rotate_simple (libgdk_pixbuf-2.0.so.0)
#2 0x00007fe72f2641fd n/a (libopenrawgnome.so.1)
#3 0x00007fe72f2642a3 n/a (libopenrawgnome.so.1)
#4 0x00007fe72f467ed5 n/a (tumbler-raw-thumbnailer.so)
#5 0x000000000040ecac n/a (tumblerd)
#6 0x00007fe7380deace n/a (libglib-2.0.so.0)
#7 0x00007fe7380de0d5 n/a (libglib-2.0.so.0)
#8 0x00007fe737e56454 start_thread (libpthread.so.0)
#9 0x00007fe737b997df __clone (libc.so.6)
Stack trace of thread 1030:
#0 0x00007fe737b94f19 syscall (libc.so.6)
#1 0x00007fe7380fbf1f g_cond_wait (libglib-2.0.so.0)
#2 0x00007fe73808aecb n/a (libglib-2.0.so.0)
#3 0x00007fe7380dec1d n/a (libglib-2.0.so.0)
#4 0x00007fe7380de0d5 n/a (libglib-2.0.so.0)
#5 0x00007fe737e56454 start_thread (libpthread.so.0)
#6 0x00007fe737b997df __clone (libc.so.6)
Stack trace of thread 1027:
#0 0x00007fe737b9048d poll (libc.so.6)
#1 0x00007fe7380b6786 n/a (libglib-2.0.so.0)
#2 0x00007fe7380b6b12 g_main_loop_run (libglib-2.0.so.0)
#3 0x00000000004060a0 n/a (tumblerd)
#4 0x00007fe737ad1291 __libc_start_main (libc.so.6)
#5 0x00000000004060d9 n/a (tumblerd)
Stack trace of thread 1028:
#0 0x00007fe737b9048d poll (libc.so.6)
#1 0x00007fe7380b6786 n/a (libglib-2.0.so.0)
#2 0x00007fe7380b689c g_main_context_iteration (libglib-2.0.so.0)
#3 0x00007fe7380b68e1 n/a (libglib-2.0.so.0)
#4 0x00007fe7380de0d5 n/a (libglib-2.0.so.0)
#5 0x00007fe737e56454 start_thread (libpthread.so.0)
#6 0x00007fe737b997df __clone (libc.so.6)
Launching raw-thumbnailer from command line (raw-thumbnailer -i _MG_7998.CR2 -o _MG_7998.jpg) leads to a similar result :
Nov 07 21:33:46 predator kernel: raw-thumbnailer[9427]: segfault at 1 ip 00007f8d37049821 sp 00007ffca1b4afa8 error 4 in libc-2.24.so[7f8d36f21000+195000]
Nov 07 21:33:46 predator systemd[1]: Started Process Core Dump (PID 9428/UID 0).
Nov 07 21:33:46 predator systemd-coredump[9429]: Process 9427 (raw-thumbnailer) of user 0 dumped core.
Stack trace of thread 9427:
#0 0x00007f8d37049821 __memmove_avx_unaligned_erms (libc.so.6)
#1 0x00007f8d37a37ca6 gdk_pixbuf_rotate_simple (libgdk_pixbuf-2.0.so.0)
#2 0x00007f8d372c01fd n/a (libopenrawgnome.so.1)
#3 0x00007f8d372c02a3 n/a (libopenrawgnome.so.1)
#4 0x0000000000400bfc n/a (raw-thumbnailer)
#5 0x00007f8d36f41291 __libc_start_main (libc.so.6)
#6 0x0000000000400c67 n/a (raw-thumbnailer)
Please tell me whether this is helpful enough or if you need supplementary information from me.