Batch-rename twice lead to crashing
Affected version
- nautilus 3.38.1 Arch linux
Steps to reproduce
- select some folders
- type
F2
to open batch-rename window, then close it. - type
F2
to open batch-rename window, then nautilus crashes.
Current behavior
It crashes after the second time when I open the batch-rename window
Expected behavior
open the batch-rename window again
Additional information
systemd log file
Oct 24 09:33:46 inochi dbus-daemon[974]: [session uid=1000 pid=974] Activating service name='org.gnome.Nautilus' requested by ':1.21' (uid=1000 pid=1040 comm="/usr/bin/gnome-shell ")
Oct 24 09:33:46 inochi dbus-daemon[974]: [session uid=1000 pid=974] Successfully activated service 'org.gnome.Nautilus'
Oct 24 09:33:48 inochi nautilus[503885]: Connecting to org.freedesktop.Tracker3.Miner.Files
Oct 24 09:33:48 inochi nautilus[503885]: Error on batch rename query for metadata: tracker:uri-is-parent: Invalid arguments
Oct 24 09:33:49 inochi audit[503885]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=4 pid=503885 comm="nautilus" exe="/usr/bin/nautilus" sig=11 res=1
Oct 24 09:33:49 inochi kernel: nautilus[503885]: segfault at 100000000 ip 00007f3665e467b8 sp 00007ffd313850b0 error 4 in libtracker-sparql-3.0.so.0.1.0[7f3665e45000+60000]
Oct 24 09:33:49 inochi kernel: Code: 49 89 d4 55 48 89 fd 53 4c 89 c3 48 83 ec 08 ff 15 7d c5 09 00 48 85 ed 0f 84 b4 00 00 00 4c 8b 7d 00 48 89 c6 4d 85 ff 74 05 <49> 3b 07 74 11 48 89 ef ff 15 6a c0 09 00 85 c0 0f 84 92 00 00 00
Oct 24 09:33:49 inochi kernel: audit: type=1701 audit(1603503229.774:379): auid=1000 uid=1000 gid=1000 ses=4 pid=503885 comm="nautilus" exe="/usr/bin/nautilus" sig=11 res=1
Oct 24 09:33:49 inochi audit: BPF prog-id=89 op=LOAD
Oct 24 09:33:49 inochi audit: BPF prog-id=90 op=LOAD
Oct 24 09:33:49 inochi systemd[1]: Started Process Core Dump (PID 503905/UID 0).
Oct 24 09:33:49 inochi audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@9-503905-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 24 09:33:49 inochi kernel: audit: type=1334 audit(1603503229.791:380): prog-id=89 op=LOAD
Oct 24 09:33:49 inochi kernel: audit: type=1334 audit(1603503229.791:381): prog-id=90 op=LOAD
Oct 24 09:33:49 inochi kernel: audit: type=1130 audit(1603503229.791:382): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@9-503905-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 24 09:33:50 inochi systemd-coredump[503906]: [🡕] Process 503885 (nautilus) of user 1000 dumped core.
Stack trace of thread 503885:
#0 0x00007f3665e467b8 tracker_sparql_connection_query_async (libtracker-sparql-3.0.so.0 + 0x187b8)
#1 0x0000558a296620fa check_metadata_for_selection (nautilus + 0xca0fa)
#2 0x0000558a2966241c nautilus_batch_rename_dialog_new (nautilus + 0xca41c)
#3 0x0000558a295e8bcd n/a (nautilus + 0x50bcd)
#4 0x00007f3666094052 g_closure_invoke (libgobject-2.0.so.0 + 0x13052)
#5 0x00007f36660bc9c5 n/a (libgobject-2.0.so.0 + 0x3b9c5)
#6 0x00007f36660b059d g_signal_emit_valist (libgobject-2.0.so.0 + 0x2f59d)
#7 0x00007f36660b0b00 g_signal_emit (libgobject-2.0.so.0 + 0x2fb00)
#8 0x00007f36661ab75e n/a (libgio-2.0.so.0 + 0xd275e)
#9 0x00007f36668db3db gtk_window_activate_key (libgtk-3.so.0 + 0x35c3db)
#10 0x00007f36668db573 n/a (libgtk-3.so.0 + 0x35c573)
#11 0x0000558a29611fe4 n/a (nautilus + 0x79fe4)
#12 0x00007f3666603249 n/a (libgtk-3.so.0 + 0x84249)
#13 0x00007f36660b098a g_signal_emit_valist (libgobject-2.0.so.0 + 0x2f98a)
#14 0x00007f36660b0b00 g_signal_emit (libgobject-2.0.so.0 + 0x2fb00)
#15 0x00007f36668c9a75 n/a (libgtk-3.so.0 + 0x34aa75)
#16 0x00007f36667621b2 n/a (libgtk-3.so.0 + 0x1e31b2)
#17 0x00007f366676343d gtk_main_do_event (libgtk-3.so.0 + 0x1e443d)
#18 0x00007f36664bc413 n/a (libgdk-3.so.0 + 0x3c413)
#19 0x00007f366650ce54 n/a (libgdk-3.so.0 + 0x8ce54)
#20 0x00007f3666d79914 g_main_context_dispatch (libglib-2.0.so.0 + 0x52914)
#21 0x00007f3666dcd7d1 n/a (libglib-2.0.so.0 + 0xa67d1)
#22 0x00007f3666d78121 g_main_context_iteration (libglib-2.0.so.0 + 0x51121)
#23 0x00007f36661a5d1e g_application_run (libgio-2.0.so.0 + 0xccd1e)
#24 0x0000558a295d90fa main (nautilus + 0x410fa)
#25 0x00007f3665c8d152 __libc_start_main (libc.so.6 + 0x28152)
#26 0x0000558a295d914e _start (nautilus + 0x4114e)
Stack trace of thread 503886:
#0 0x00007f3665d5a46f __poll (libc.so.6 + 0xf546f)
#1 0x00007f3666dcd75f n/a (libglib-2.0.so.0 + 0xa675f)
#2 0x00007f3666d78121 g_main_context_iteration (libglib-2.0.so.0 + 0x51121)
#3 0x00007f3666d78172 n/a (libglib-2.0.so.0 + 0x51172)
#4 0x00007f3666da6ce1 n/a (libglib-2.0.so.0 + 0x7fce1)
#5 0x00007f3665bd83e9 start_thread (libpthread.so.0 + 0x93e9)
#6 0x00007f3665d65293 __clone (libc.so.6 + 0x100293)
Stack trace of thread 503889:
#0 0x00007f3665d5fd5d syscall (libc.so.6 + 0xfad5d)
#1 0x00007f3666dc6051 g_cond_wait (libglib-2.0.so.0 + 0x9f051)
#2 0x00007f3666d49834 n/a (libglib-2.0.so.0 + 0x22834)
#3 0x00007f3666da9b69 n/a (libglib-2.0.so.0 + 0x82b69)
#4 0x00007f3666da6ce1 n/a (libglib-2.0.so.0 + 0x7fce1)
#5 0x00007f3665bd83e9 start_thread (libpthread.so.0 + 0x93e9)
#6 0x00007f3665d65293 __clone (libc.so.6 + 0x100293)
Stack trace of thread 503902:
#0 0x00007f3665d5fd5d syscall (libc.so.6 + 0xfad5d)
#1 0x00007f3666dc6051 g_cond_wait (libglib-2.0.so.0 + 0x9f051)
#2 0x0000558a29662acc n/a (nautilus + 0xcaacc)
#3 0x00007f366617ea41 n/a (libgio-2.0.so.0 + 0xa5a41)
#4 0x00007f3666da9b97 n/a (libglib-2.0.so.0 + 0x82b97)
#5 0x00007f3666da6ce1 n/a (libglib-2.0.so.0 + 0x7fce1)
#6 0x00007f3665bd83e9 start_thread (libpthread.so.0 + 0x93e9)
#7 0x00007f3665d65293 __clone (libc.so.6 + 0x100293)
Stack trace of thread 503892:
#0 0x00007f3665d5a46f __poll (libc.so.6 + 0xf546f)
#1 0x00007f3666dcd75f n/a (libglib-2.0.so.0 + 0xa675f)
#2 0x00007f3666d78121 g_main_context_iteration (libglib-2.0.so.0 + 0x51121)
#3 0x00007f36600f5c0e n/a (libdconfsettings.so + 0x5c0e)
#4 0x00007f3666da6ce1 n/a (libglib-2.0.so.0 + 0x7fce1)
#5 0x00007f3665bd83e9 start_thread (libpthread.so.0 + 0x93e9)
#6 0x00007f3665d65293 __clone (libc.so.6 + 0x100293)
Stack trace of thread 503887:
#0 0x00007f3665d5a46f __poll (libc.so.6 + 0xf546f)
#1 0x00007f3666dcd75f n/a (libglib-2.0.so.0 + 0xa675f)
#2 0x00007f3666d78e63 g_main_loop_run (libglib-2.0.so.0 + 0x51e63)
#3 0x00007f36661dafe8 n/a (libgio-2.0.so.0 + 0x101fe8)
#4 0x00007f3666da6ce1 n/a (libglib-2.0.so.0 + 0x7fce1)
#5 0x00007f3665bd83e9 start_thread (libpthread.so.0 + 0x93e9)
#6 0x00007f3665d65293 __clone (libc.so.6 + 0x100293)
Oct 24 09:33:50 inochi systemd[1]: systemd-coredump@9-503905-0.service: Succeeded.
Oct 24 09:33:50 inochi kernel: audit: type=1131 audit(1603503230.411:383): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@9-503905-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 24 09:33:50 inochi kernel: audit: type=1334 audit(1603503230.518:384): prog-id=90 op=UNLOAD
Oct 24 09:33:50 inochi kernel: audit: type=1334 audit(1603503230.518:385): prog-id=89 op=UNLOAD