Nautilus 3.30.5 crashes when wrong filetype is changed to SVG before showing file properties
Steps to reproduce
- Change any filetype to
.svg
- Right click on the file > Properties
Reproducible in:
- Flatpak unstable: unknown (re-compiled with symbols, but not flatpak)
- Other: Arch Linux, 4.20.3-arch1-1-ARCH, GNOME nautilus 3.30.5
Current behavior
- Nautilus crashes when selecting 'file properties' if the file type was changed, via 'rename', to
.svg
from any other file type.
Expected behavior
- Properties displayed should be dependent on the MIME type, not the file extension.
Additional information
[:~] $ coredumpctl debug
PID: 20599 (nautilus)
UID: 1000 (srw)
GID: 985 (users)
Signal: 11 (SEGV)
Timestamp: Sat 2019-01-19 00:17:05 CST (1min 30s ago)
Command Line: /usr/bin/nautilus --gapplication-service
Executable: /usr/bin/nautilus
Control Group: /user.slice/user-1000.slice/user@1000.service/dbus.service
Unit: user@1000.service
User Unit: dbus.service
Slice: user-1000.slice
Owner UID: 1000 (srw)
Boot ID: 0443a5a4d914447fb9e35db48618a876
Machine ID: 95008b48528342f2bbc0605995c9abcd
Hostname: pc01
Storage: /var/lib/systemd/coredump/core.nautilus.1000.0443a5a4d914447fb9e35db48618a876.20599.1547878625000000.lz4
Message: Process 20599 (nautilus) of user 1000 dumped core.
Stack trace of thread 20599:
#0 0x00007f38814941e0 n/a (libpixbufloader-svg.so)
#1 0x00007f38a1f921fc gdk_pixbuf_loader_write (libgdk_pixbuf-2.0.so.0)
#2 0x00007f3898094f06 file_read_callback (libnautilus-image-properties.so)
#3 0x00007f38a1ec37eb n/a (libgio-2.0.so.0)
#4 0x00007f38a1e972f4 n/a (libgio-2.0.so.0)
#5 0x00007f38a1e97329 n/a (libgio-2.0.so.0)
#6 0x00007f38a2a0d8d1 g_main_context_dispatch (libglib-2.0.so.0)
#7 0x00007f38a2a0f5e9 n/a (libglib-2.0.so.0)
#8 0x00007f38a2a0f62e g_main_context_iteration (libglib-2.0.so.0)
#9 0x00007f38a1e7393e g_application_run (libgio-2.0.so.0)
#10 0x00005597007a410a main (nautilus)
#11 0x00007f38a2af5223 __libc_start_main (libc.so.6)
#12 0x00005597007a415e _start (nautilus)
Stack trace of thread 20602:
#0 0x00007f38a2bc1c21 __poll (libc.so.6)
#1 0x00007f38a2a0f540 n/a (libglib-2.0.so.0)
#2 0x00007f38a2a0f62e g_main_context_iteration (libglib-2.0.so.0)
#3 0x00007f38a2a0f682 n/a (libglib-2.0.so.0)
#4 0x00007f38a29ea67b n/a (libglib-2.0.so.0)
#5 0x00007f38a2c9ca9d start_thread (libpthread.so.0)
#6 0x00007f38a2bccb23 __clone (libc.so.6)
Stack trace of thread 20801:
#0 0x00007f38a2bc74ed syscall (libc.so.6)
#1 0x00007f38a29be151 g_cond_wait_until (libglib-2.0.so.0)
#2 0x00007f38a2a3c2c3 n/a (libglib-2.0.so.0)
#3 0x00007f38a29e15fb n/a (libglib-2.0.so.0)
#4 0x00007f38a29ea67b n/a (libglib-2.0.so.0)
#5 0x00007f38a2c9ca9d start_thread (libpthread.so.0)
#6 0x00007f38a2bccb23 __clone (libc.so.6)
Stack trace of thread 20603:
#0 0x00007f38a2bc1c21 __poll (libc.so.6)
#1 0x00007f38a2a0f540 n/a (libglib-2.0.so.0)
#2 0x00007f38a2a105c2 g_main_loop_run (libglib-2.0.so.0)
#3 0x00007f38a1e34cb8 n/a (libgio-2.0.so.0)
#4 0x00007f38a29ea67b n/a (libglib-2.0.so.0)
#5 0x00007f38a2c9ca9d start_thread (libpthread.so.0)
#6 0x00007f38a2bccb23 __clone (libc.so.6)
Stack trace of thread 20616:
#0 0x00007f38a2bc1c21 __poll (libc.so.6)
#1 0x00007f38a2a0f540 n/a (libglib-2.0.so.0)
#2 0x00007f38a2a0f62e g_main_context_iteration (libglib-2.0.so.0)
#3 0x00007f38a2ccabde n/a (libdconfsettings.so)
#4 0x00007f38a29ea67b n/a (libglib-2.0.so.0)
#5 0x00007f38a2c9ca9d start_thread (libpthread.so.0)
#6 0x00007f38a2bccb23 __clone (libc.so.6)
Stack trace of thread 20615:
#0 0x00007f38a2bc74ed syscall (libc.so.6)
#1 0x00007f38a29bd471 g_cond_wait (libglib-2.0.so.0)
#2 0x00007f38a2a3c2ec n/a (libglib-2.0.so.0)
#3 0x00007f38a29e1479 n/a (libglib-2.0.so.0)
#4 0x00007f38a29ea67b n/a (libglib-2.0.so.0)
#5 0x00007f38a2c9ca9d start_thread (libpthread.so.0)
#6 0x00007f38a2bccb23 __clone (libc.so.6)
GNU gdb (GDB) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
SHELL = /bin/bash
running .gdbinit
[Inferior 1 (process 21844) exited normally]
Reading symbols from /usr/bin/nautilus...done.
[New LWP 20599]
[New LWP 20602]
[New LWP 20801]
[New LWP 20603]
[New LWP 20616]
[New LWP 20615]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/bin/nautilus --gapplication-service'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f38814941e0 in ?? () from /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
[Current thread is 1 (Thread 0x7f389b3e4e40 (LWP 20599))]