Bug#1039695: libtracker-sparql-3.0-0: keeps segfaulting and restarting endlessly
Bernhard Übelacker
bernhardu at mailbox.org
Thu Jul 13 17:30:38 BST 2023
Hell Mulas,
I tried to get to the source line of you dmesg output:
> [254868.778098] tracker-miner-f[1916712]: segfault at 8 ip 00007f9bf641bc18 sp 00007fff0ca38e10 error 4 in libtracker-sparql-3.0.so.0.402.0[7f9bf63f9000+6a000] likely on CPU 2 (core 2, socket 0)
> [254868.778109] Code: 18 64 48 2b 04 25 28 00 00 00 75 35 48 83 c4 20 5b c3 48 8b 44 24 10 48 8d 15 84 dd 04 00 be 08 00 00 00 48 8d 3d fd 77 04 00 <48> 8b 48 08 31 c0 e8 5d de fd ff 48 8b 7c 24 10 e8 03 da fd ff eb
I think this relates to this source line:
https://sources.debian.org/src/tracker/3.4.2-3/src/libtracker-sparql/core/tracker-data-manager.c/#L4050
g_critical ("Could not set up interface : %s",
error->message);
But a full backtrace is probably still needed by the maintainer.
You could probably collect one by installing systemd-coredump.
Then journalctl should contain a more detailed information on
which functions are involved.
Kind regards,
Bernhard
-------------- next part --------------
https://wiki.debian.org/HowToGetABacktrace
https://wiki.debian.org/InterpretingKernelOutputAtProcessCrash
error 4 == 0b100
* bit 0 == 0: no page found
* bit 1 == 0: read access
* bit 2 == 1: user-mode access
.
[254868.778098] tracker-miner-f[1916712]: segfault at 8 ip 00007f9bf641bc18 sp 00007fff0ca38e10 error 4 in libtracker-sparql-3.0.so.0.402.0[7f9bf63f9000+6a000] likely on CPU 2 (core 2, socket 0)
[254868.778109] Code: 18 64 48 2b 04 25 28 00 00 00 75 35 48 83 c4 20 5b c3 48 8b 44 24 10 48 8d 15 84 dd 04 00 be 08 00 00 00 48 8d 3d fd 77 04 00 <48> 8b 48 08 31 c0 e8 5d de fd ff 48 8b 7c 24 10 e8 03 da fd ff eb
echo -n "find /b ..., ..., 0x" && \
echo "18 64 48 2b 04 25 28 00 00 00 75 35 48 83 c4 20 5b c3 48 8b 44 24 10 48 8d 15 84 dd 04 00 be 08 00 00 00 48 8d 3d fd 77 04 00 <48> 8b 48 08 31 c0 e8 5d de fd ff 48 8b 7c 24 10 e8 03 da fd ff eb" \
| sed 's/[<>]//g' | sed 's/ /, 0x/g'
#
apt install gdb tracker-miner-fs tracker-miner-fs-dbgsym libtracker-sparql-3.0-0-dbgsym
gdb -q --args /usr/libexec/tracker-miner-fs-3
set width 0
set pagination off
tb main
run
pipe info share | grep libtracker-sparql-3.0
find /b 0x00007ffff7b4e120, 0x00007ffff7bb49f2, 0x18, 0x64, 0x48, 0x2b, 0x04, 0x25, 0x28, 0x00, 0x00, 0x00, 0x75, 0x35, 0x48, 0x83, 0xc4, 0x20, 0x5b, 0xc3, 0x48, 0x8b, 0x44, 0x24, 0x10, 0x48, 0x8d, 0x15, 0x84, 0xdd, 0x04, 0x00, 0xbe, 0x08, 0x00, 0x00, 0x00, 0x48, 0x8d, 0x3d, 0xfd, 0x77, 0x04, 0x00, 0x48, 0x8b, 0x48, 0x08, 0x31, 0xc0, 0xe8, 0x5d, 0xde, 0xfd, 0xff, 0x48, 0x8b, 0x7c, 0x24, 0x10, 0xe8, 0x03, 0xda, 0xfd, 0xff, 0xeb
b * (0x7ffff7b6dbee + 42)
(gdb) info b
Num Type Disp Enb Address What
2 breakpoint keep y 0x00007ffff7b6dc18 in setup_interface_cb at ../src/libtracker-sparql/core/tracker-data-manager.c:4050
(gdb) disassemble /r 0x7ffff7b6dbee, 0x7ffff7b6dbee + 62
Dump of assembler code from 0x7ffff7b6dbee to 0x7ffff7b6dc2c:
0x00007ffff7b6dbee <setup_interface_cb+78>: 18 64 48 2b sbb %ah,0x2b(%rax,%rcx,2)
0x00007ffff7b6dbf2 <setup_interface_cb+82>: 04 25 add $0x25,%al
0x00007ffff7b6dbf4 <setup_interface_cb+84>: 28 00 sub %al,(%rax)
0x00007ffff7b6dbf6 <setup_interface_cb+86>: 00 00 add %al,(%rax)
0x00007ffff7b6dbf8 <setup_interface_cb+88>: 75 35 jne 0x7ffff7b6dc2f <setup_interface_cb+143>
0x00007ffff7b6dbfa <setup_interface_cb+90>: 48 83 c4 20 add $0x20,%rsp
0x00007ffff7b6dbfe <setup_interface_cb+94>: 5b pop %rbx
0x00007ffff7b6dbff <setup_interface_cb+95>: c3 ret
0x00007ffff7b6dc00 <setup_interface_cb+96>: 48 8b 44 24 10 mov 0x10(%rsp),%rax
0x00007ffff7b6dc05 <setup_interface_cb+101>: 48 8d 15 84 dd 04 00 lea 0x4dd84(%rip),%rdx # 0x7ffff7bbb990
0x00007ffff7b6dc0c <setup_interface_cb+108>: be 08 00 00 00 mov $0x8,%esi
0x00007ffff7b6dc11 <setup_interface_cb+113>: 48 8d 3d fd 77 04 00 lea 0x477fd(%rip),%rdi # 0x7ffff7bb5415
>>>0x00007ffff7b6dc18 <setup_interface_cb+120>: 48 8b 48 08 mov 0x8(%rax),%rcx
0x00007ffff7b6dc1c <setup_interface_cb+124>: 31 c0 xor %eax,%eax
0x00007ffff7b6dc1e <setup_interface_cb+126>: e8 5d de fd ff call 0x7ffff7b4ba80 <g_log at plt>
0x00007ffff7b6dc23 <setup_interface_cb+131>: 48 8b 7c 24 10 mov 0x10(%rsp),%rdi
0x00007ffff7b6dc28 <setup_interface_cb+136>: e8 03 da fd ff call 0x7ffff7b4b630 <g_error_free at plt>
End of assembler dump.
https://sources.debian.org/src/tracker/3.4.2-3/src/libtracker-sparql/core/tracker-data-manager.c/#L4050
g_critical ("Could not set up interface : %s",
error->message);
More information about the pkg-gnome-maintainers
mailing list