Le 2023-10-12 19:24, Matthias Klumpp a écrit :
> Hi!
> 
> Thank you for the issue report!

You're welcome!

> How did you run btrfsd exactly? Did you set anything specific in its
> configuration file?

This is a default install, i.e. running btrfsd through systemd without any 
changes
to the configuration file.

>Can you generate a backtrace with debug symbols for btrfsd installed?

Oh, my bad. I was in a hurry and I totally forgot to install btrfsd-dbgsym.
Here is another run after installing it:

Thread 1 "btrfsd" received signal SIGSEGV, Segmentation fault.
0x00007ffff7e40c01 in g_type_check_instance_is_fundamentally_a ()
   from /lib/x86_64-linux-gnu/libgobject-2.0.so.0

(gdb) thread apply all bt

Thread 4 (Thread 0x7ffff67fe6c0 (LWP 53845) "gdbus"):
#0  0x00007ffff79b1a1f in __GI___poll (fds=0x7fffe0000b90, nfds=1, timeout=-1) 
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff7ec1237 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff7ec1bdf in g_main_loop_run () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff7d3bdfa in ?? () from /lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007ffff7eee9e1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff793e3ec in start_thread (arg=<optimized out>) at 
./nptl/pthread_create.c:444
#6  0x00007ffff79bea4c in clone3 () at 
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7fffee7fe6c0 (LWP 53844) "gmain"):
#0  0x00007ffff79b1a1f in __GI___poll (fds=0x555555575a40, nfds=1, timeout=-1) 
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff7ec1237 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff7ec18f0 in g_main_context_iteration () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff7ec1941 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff7eee9e1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff793e3ec in start_thread (arg=<optimized out>) at 
./nptl/pthread_create.c:444
#6  0x00007ffff79bea4c in clone3 () at 
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7ffff6fff6c0 (LWP 53843) "pool-spawner"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff7f1c9a4 in g_cond_wait () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff7e8b15b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff7eef06a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff7eee9e1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff793e3ec in start_thread (arg=<optimized out>) at 
./nptl/pthread_create.c:444
#6  0x00007ffff79bea4c in clone3 () at 
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7ffff73e5900 (LWP 53839) "btrfsd"):
#0  0x00007ffff7e40c01 in g_type_check_instance_is_fundamentally_a () from 
/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#1  0x00007ffff7e2187d in g_object_unref () from 
/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#2  0x000055555555a119 in glib_autoptr_clear_GDBusConnection 
(_ptr=0x55555557c2d0) at /usr/include/glib-2.0/gio/gio-autocleanups.h:49
#3  glib_autoptr_cleanup_GDBusConnection (_ptr=<synthetic pointer>) at 
/usr/include/glib-2.0/gio/gio-autocleanups.h:49
#4  btd_machine_is_on_battery () at ../src/btd-utils.c:365
#5  0x0000555555558b35 in btd_scheduler_run_for_mount (bfs=0x555555573fa0, 
self=0x55555556e420) at ../src/btd-scheduler.c:436
#6  btd_scheduler_run (self=self@entry=0x55555556e420, 
error=error@entry=0x7fffffffc778) at ../src/btd-scheduler.c:497
#7  0x0000555555557a5b in main (argc=<optimized out>, argv=<optimized out>) at 
../src/btrfsd.c:81

> Cheers,
>     Matthias

Thanks for your time,
Vincent

Attachment: signature.asc
Description: PGP signature

Reply via email to