Index | Thread | Search

From:
izzy Meyer <izder456@disroot.org>
Subject:
x-gvfs-trash causing some sort of crash when searching in either thunar or caja via libgio
To:
ports@openbsd.org
Cc:
drainer333@disroot.org
Date:
Sun, 14 Sep 2025 13:12:25 -0500

Download raw body.

Thread
  • izzy Meyer:

    x-gvfs-trash causing some sort of crash when searching in either thunar or caja via libgio

Hello ports@, 

I've got a gvfs set up following this guide:
https://www.youtube.com/watch?v=lhHk-Xh4JiQ

But, when i try to search in large directories i get crashes related to
x-gvfs-trash

I also get this crash occasionally when uploading or downloading files
via firefox. I think this is a pretty significant bug.

Is this due to a possible wxallowed violation possibly?

This machine runs 7.7-stable.

A simple workaround is to copy the stuff from
/usr/local/share/gvfs/mounts/*.mount to a different location, remove
the trash.mount file from that copy, and then set this sort of thing in
your .profile:

if [ -e /etc/gvfs/mounts ]; then
  export GVFS_MOUNTABLE_DIR=/etc/gvfs/mounts
fi

got the idea from here:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267270

CC drainer333 (at) disroot as she's also affected.

~ $ egdb thunar
GNU gdb (GDB) 15.2
Copyright (C) 2024 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-unknown-openbsd7.7".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://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"...
Reading symbols from thunar...
(No debugging symbols found in thunar)
(gdb) run
Starting program: /usr/local/bin/thunar 

(thunar:94448): thunar-WARNING **: 12:42:36.228: Name
'org.freedesktop.FileManager1' lost on the message dbus. [New thread
414295 of process 94448] [New thread 619249 of process 94448]
[New thread 536395 of process 94448]
[New thread 404220 of process 94448]
[New thread 357313 of process 94448]
[New thread 402985 of process 94448]
[New thread 201364 of process 94448]
[New thread 463848 of process 94448]
[New thread 429192 of process 94448]
[New thread 597793 of process 94448]

Thread 2 received signal SIGSEGV, Segmentation fault.
[Switching to thread 414295 of process 94448]
strchr () at /usr/src/lib/libc/arch/amd64/string/strchr.S:60
warning: 60     /usr/src/lib/libc/arch/amd64/string/strchr.S: No such
file or directory (gdb) bt
#0  strchr () at /usr/src/lib/libc/arch/amd64/string/strchr.S:60
#1  0xffb70b85b320b568 in ?? ()
#2  0x0000096ce68a172a in _libc_strstr (h=0x96d01075000 <error: Cannot
access memory at address 0x96d01075000>, n=0x96d0e426fa9
"x-gvfs-trash") at /usr/src/lib/libc/string/strstr.c:178 #3
0x0000096d0e5b42f5 in ignore_trash_path () from
/usr/local/lib/libgio-2.0.so.4200.20 #4  0x0000096d0e5b4169 in
_g_local_file_has_trash_dir () from
/usr/local/lib/libgio-2.0.so.4200.20 #5  0x0000096d0e5b8412 in
_g_local_file_info_get_parent_info () from
/usr/local/lib/libgio-2.0.so.4200.20 #6  0x0000096d0e5b58c1 in
g_local_file_query_info () from /usr/local/lib/libgio-2.0.so.4200.20 #7
 0x0000096a1b9a1c10 in thunar_file_load () #8  0x0000096a1b9a1a8a in
thunar_file_get () #9  0x0000096a1b9b472e in _thunar_search_folder ()
#10 0x0000096a1b9b46eb in _thunar_search_folder () #11
0x0000096a1b9b46eb in _thunar_search_folder () #12 0x0000096a1b9b46eb
in _thunar_search_folder () #13 0x0000096a1b9b34f0 in
_thunar_job_search_directory () #14 0x0000096a1b9dd638 in
thunar_simple_job_execute () #15 0x0000096d08198d0c in
exo_job_scheduler_job_func () from /usr/local/lib/libexo-2.so.1.1 #16
0x0000096d0e4e3a2f in io_job_thread () from
/usr/local/lib/libgio-2.0.so.4200.20 #17 0x0000096d0e51f34e in
g_task_thread_pool_thread () from /usr/local/lib/libgio-2.0.so.4200.20
#18 0x0000096ce5e1a594 in g_thread_pool_thread_proxy () from
/usr/local/lib/libglib-2.0.so.4201.13 #19 0x0000096ce5e18237 in
g_thread_proxy () from /usr/local/lib/libglib-2.0.so.4201.13 #20
0x0000096ce5abd502 in _rthread_start (v=0x0) at
/usr/src/lib/librthread/rthread.c:96 #21 0x0000096ce6910d6a in
__tfork_thread () at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:87
(gdb) quit A debugging session is active.

        Inferior 1 [process 94448] will be killed.

Quit anyway? (y or n) y




-- 
iz (she/her)

> i like to say mundane things,
> there are too many uninteresting things
> that go unnoticed.

izder456 (dot) neocities (dot) org