On Fri, 1 Dec 2023 00:26:27 +0100 Lucy <luc...@diplomats.com> wrote:
#3 0x00007fbe9c25afd0 __restore_rt (libc.so.6 + 0x3bfd0) #4 0x0000557d83358770 n/a (baloo_file + 0x13770) #5 0x0000557d8335885d n/a (baloo_file + 0x1385d) #6 0x0000557d83365bf1 n/a (baloo_file + 0x20bf1) #7 0x00007fbe9cadd6f0 _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2dd6f0)
Hello, I am not maintainer of baloo-kf5, just just tried to collect some more information. The interesting lines above in the stacktrace translate to this: ... #3 0x7fbe9c25afd0 __restore_rt (libc.so.6 + 0x3bfd0) | #4 0x557d83358770 n/a (baloo_file + 0x13770) | in QString::QString(QString const&) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1093 #5 0x557d8335885d n/a (baloo_file + 0x1385d) | in QList<QString>::append(QString const&) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:623 #6 0x557d83365bf1 n/a (baloo_file + 0x20bf1) | in Baloo::FileContentIndexer::slotFinishedIndexingFile(QString const&, bool) at ./src/file/filecontentindexer.cpp:125 #7 0x7fbe9cadd6f0 _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2dd6f0) | <QObject::event(QEvent*)+4> ... Unfortunately this leads just to some upstream bugs, which are not showing much more information. https://bugs.kde.org/show_bug.cgi?id=441860 https://bugs.kde.org/show_bug.cgi?id=443483 https://bugs.kde.org/show_bug.cgi?id=476479 Kind regards, Bernhard
Stack trace of thread 1876: #0 0x00007fbe9c2a9d3c __pthread_kill_implementation (libc.so.6 + 0x8ad3c) #1 0x00007fbe9c25af32 __GI_raise (libc.so.6 + 0x3bf32) #2 0x00007fbe9cfabb46 _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x5b46) #3 0x00007fbe9c25afd0 __restore_rt (libc.so.6 + 0x3bfd0) #4 0x0000557d83358770 n/a (baloo_file + 0x13770) #5 0x0000557d8335885d n/a (baloo_file + 0x1385d) #6 0x0000557d83365bf1 n/a (baloo_file + 0x20bf1) #7 0x00007fbe9cadd6f0 _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2dd6f0) #8 0x00007fbe9cab16cd _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2b16cd) #9 0x00007fbe9cab4681 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5 + 0x2b4681) #10 0x00007fbe9cb0a153 n/a (libQt5Core.so.5 + 0x30a153) #11 0x00007fbe9b11e7a9 g_main_context_dispatch (libglib-2.0.so.0 + 0x547a9) #12 0x00007fbe9b11ea38 n/a (libglib-2.0.so.0 + 0x54a38) #13 0x00007fbe9b11eacc g_main_context_iteration (libglib-2.0.so.0 + 0x54acc) #14 0x00007fbe9cb09836 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x309836) #15 0x00007fbe9cab017b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b017b) #16 0x00007fbe9cab82d6 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2b82d6) #17 0x0000557d83353982 n/a (baloo_file + 0xe982) #18 0x00007fbe9c2461ca __libc_start_call_main (libc.so.6 + 0x271ca) #19 0x00007fbe9c246285 __libc_start_main_impl (libc.so.6 + 0x27285) #20 0x0000557d83353b61 n/a (baloo_file + 0xeb61) Thread 1 (Thread 0x7fbe9ac86540 (LWP 1876)): [KCrash Handler] #5 0x0000557d83358770 in ?? () #6 0x0000557d8335885d in ?? () #7 0x0000557d83365bf1 in ?? () #8 0x00007fbe9cadd6f0 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #9 0x00007fbe9cab16cd in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #10 0x00007fbe9cab4681 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #11 0x00007fbe9cb0a153 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #12 0x00007fbe9b11e7a9 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #13 0x00007fbe9b11ea38 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #14 0x00007fbe9b11eacc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #15 0x00007fbe9cb09836 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #16 0x00007fbe9cab017b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #17 0x00007fbe9cab82d6 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #18 0x0000557d83353982 in ?? () #19 0x00007fbe9c2461ca in __libc_start_call_main (main=main@entry=0x557d833536e0, argc=argc@entry=1, argv=argv@entry=0x7ffd6ffbbe18) at ../sysdeps/nptl/libc_start_call_main.h:58 #20 0x00007fbe9c246285 in __libc_start_main_impl (main=0x557d833536e0, argc=1, argv=0x7ffd6ffbbe18, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd6ffbbe08) at ../csu/libc-start.c:360 #21 0x0000557d83353b61 in ?? () # 2024-05-04 Bookworm/stable amd64 qemu VM apt install --no-install-recommends --no-install-suggests gdb baloo-kf5 baloo-kf5-dbgsym apt build-dep baloo-kf5 mkdir /home/benutzer/source/baloo-kf5/orig -p cd /home/benutzer/source/baloo-kf5/orig apt source baloo-kf5 gdb -q set width 0 set pagination off directory /home/benutzer/source/baloo-kf5/orig/baloo-kf5-5.103.0 file /usr/bin/baloo_file tb main run print (int)getpid() shell cat /proc/3418/maps | grep baloo_file | head -n1 b *(0x555555554000 + 0x20bf1) b *(0x555555554000 + 0x1385d) b *(0x555555554000 + 0x13770) info b pipe disassemble 0x0000555555574bf1 | grep -i bf1 -C3 pipe disassemble 0x000055555556785d | grep -i 85d -C3 pipe disassemble 0x0000555555567770 | grep -i 770 -C3 benutzer@debian:~$ gdb -q (gdb) set width 0 (gdb) set pagination off (gdb) directory /home/benutzer/source/baloo-kf5/orig/baloo-kf5-5.103.0 Source directories searched: /home/benutzer/source/baloo-kf5/orig/baloo-kf5-5.103.0:$cdir:$cwd (gdb) file /usr/bin/baloo_file Reading symbols from /usr/bin/baloo_file... Reading symbols from /usr/lib/debug/.build-id/49/4a2669e03b8142a4d3b5da7f528d6cbb391ea2.debug... (gdb) tb main Temporary breakpoint 1 at 0xe6e0: file ./src/file/main.cpp, line 24. (gdb) run Starting program: /usr/bin/baloo_file [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Temporary breakpoint 1, main (argc=1, argv=0x7fffffffe4c8) at ./src/file/main.cpp:24 24 ./src/file/main.cpp: Datei oder Verzeichnis nicht gefunden. (gdb) print (int)getpid() $1 = 3418 (gdb) shell cat /proc/3418/maps | grep amdgpu_drv | head -n1 (gdb) shell cat /proc/3418/maps | grep baloo_file | head -n1 555555554000-555555561000 r--p 00000000 08:11 671267 /usr/lib/x86_64-linux-gnu/libexec/baloo_file (gdb) b *(0x555555554000 + 0x20bf1) Breakpoint 2 at 0x555555574bf1: file ./src/file/filecontentindexer.cpp, line 125. (gdb) b *(0x555555554000 + 0x1385d) Breakpoint 3 at 0x55555556785d: file /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h, line 1093. (gdb) b *(0x555555554000 + 0x13770) Breakpoint 4 at 0x555555567770: file /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h, line 1093. (gdb) info b Num Type Disp Enb Address What 2 breakpoint keep y 0x0000555555574bf1 in Baloo::FileContentIndexer::slotFinishedIndexingFile(QString const&, bool) at ./src/file/filecontentindexer.cpp:125 3 breakpoint keep y 0x000055555556785d in QString::QString(QString const&) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1093 4 breakpoint keep y 0x0000555555567770 in QString::QString(QString const&) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1093 (gdb) pipe disassemble 0x0000555555574bf1 | grep -i bf1 -C3 0x0000555555574be4 <+116>: nopl 0x0(%rax) 0x0000555555574be8 <+120>: lea 0x40(%rdi),%rdi 0x0000555555574bec <+124>: call 0x555555567840 <_ZN5QListI7QStringE6appendERKS0_> 0x0000555555574bf1 <+129>: jmp 0x555555574b80 <_ZN5Baloo18FileContentIndexer24slotFinishedIndexingFileERK7QStringb+16> End of assembler dump. (gdb) pipe disassemble 0x000055555556785d | grep -i 85d -C3 0x000055555556784e <+14>: mov $0x1,%edx 0x0000555555567853 <+19>: mov $0x7fffffff,%esi 0x0000555555567858 <+24>: call 0x5555555676a0 <_ZN5QListI7QStringE18detach_helper_growEii> 0x000055555556785d <+29>: mov (%rbx),%rdx 0x0000555555567860 <+32>: mov %rdx,(%rax) 0x0000555555567863 <+35>: mov (%rdx),%eax 0x0000555555567865 <+37>: add $0x1,%eax (gdb) pipe disassemble 0x0000555555567770 | grep -i 770 -C3 0x0000555555567768 <+200>: cmp %rdi,%rax 0x000055555556776b <+203>: je 0x55555556778e <_ZN5QListI7QStringE18detach_helper_growEii+238> 0x000055555556776d <+205>: mov (%rsi),%rcx 0x0000555555567770 <+208>: mov %rcx,(%rax) 0x0000555555567773 <+211>: mov (%rcx),%edx 0x0000555555567775 <+213>: add $0x1,%edx 0x0000555555567778 <+216>: cmp $0x1,%edx (gdb) list filecontentindexer.cpp:125 120 } 121 122 void FileContentIndexer::slotFinishedIndexingFile(const QString& filePath, bool fileUpdated) 123 { 124 if (fileUpdated) { 125 m_updatedFiles.append(filePath); 126 } 127 128 m_currentFile = QString(); 129 if (!m_registeredMonitors.isEmpty()) { ... #3 0x7fbe9c25afd0 __restore_rt (libc.so.6 + 0x3bfd0) | #4 0x557d83358770 n/a (baloo_file + 0x13770) | in QString::QString(QString const&) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1093 #5 0x557d8335885d n/a (baloo_file + 0x1385d) | in QList<QString>::append(QString const&) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:623 #6 0x557d83365bf1 n/a (baloo_file + 0x20bf1) | in Baloo::FileContentIndexer::slotFinishedIndexingFile(QString const&, bool) at ./src/file/filecontentindexer.cpp:125 #7 0x7fbe9cadd6f0 _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2dd6f0) | <QObject::event(QEvent*)+4> ... https://bugs.kde.org/show_bug.cgi?id=441860 https://bugs.kde.org/show_bug.cgi?id=443483 https://bugs.kde.org/show_bug.cgi?id=476479