Bug 385312

Summary: Baloo crashed while compiling fpc and lazarus
Product: [Frameworks and Libraries] frameworks-baloo Reporter: john4deidre2013
Component: Baloo File DaemonAssignee: Pinak Ahuja <pinak.ahuja>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bill_wayson, john4deidre2013, nate
Priority: NOR Keywords: drkonqi
Version: 5.38.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description john4deidre2013 2017-10-02 23:07:21 UTC
Application: baloo_file (5.38.0)

Qt Version: 5.9.1
Frameworks Version: 5.38.0
Operating System: Linux 4.13.4-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:

i was compiling fpc and lazarus and baloo crashed while either updating files already existing or during compile itself

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc111085580 (LWP 2315))]

Thread 2 (Thread 0x7fc10688d700 (LWP 2339)):
#0  0x00007fc10b48b6b4 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fc10b445648 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fc10b44604b in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fc10b44622c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fc10f70e65b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fc10f6b730a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007fc10f4e731a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7  0x00007fc11092ba45 in ?? () from /usr/lib64/libQt5DBus.so.5
#8  0x00007fc10f4ebd2e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007fc10dafc558 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fc10eaa41bf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fc111085580 (LWP 2315)):
[KCrash Handler]
#6  0x00007fc10e9e20b0 in raise () from /lib64/libc.so.6
#7  0x00007fc10e9e3691 in abort () from /lib64/libc.so.6
#8  0x00007fc10ea2537f in __libc_message () from /lib64/libc.so.6
#9  0x00007fc10ea2ba83 in malloc_printerr () from /lib64/libc.so.6
#10 0x00007fc10ea2dc67 in _int_free () from /lib64/libc.so.6
#11 0x000055c517b9de5f in QTypedArrayData<unsigned short>::deallocate (data=<optimized out>) at /usr/include/qt5/QtCore/qarraydata.h:237
#12 QString::~QString (this=0x7ffee8d00830, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qstring.h:1084
#13 Baloo::PendingFileQueue::enqueue (this=0x55c519437260, file=...) at /usr/src/debug/baloo-5.38.0/src/file/pendingfilequeue.cpp:66
#14 0x000055c517b9bd09 in Baloo::FileWatch::slotFileDeleted (this=0x7ffee8d01030, urlString=..., isDir=<optimized out>) at /usr/src/debug/baloo-5.38.0/src/file/filewatch.cpp:116
#15 0x00007fc10f6e630c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#16 0x000055c517ba2cce in KInotify::deleted (_t2=<optimized out>, _t1=..., this=0x55c519460630) at /usr/src/debug/baloo-5.38.0/build/src/file/baloofilecommon_autogen/include/moc_kinotify.cpp:330
#17 KInotify::slotEvent (this=0x55c519460630, socket=<optimized out>) at /usr/src/debug/baloo-5.38.0/src/file/kinotify.cpp:381
#18 0x00007fc10f6e630c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#19 0x00007fc10f6f20d8 in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () from /usr/lib64/libQt5Core.so.5
#20 0x00007fc10f6f2442 in QSocketNotifier::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#21 0x00007fc10f6b8ce1 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#22 0x00007fc10f70f23d in socketNotifierSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQt5Core.so.5
#23 0x00007fc10b445f67 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#24 0x00007fc10b4461a0 in ?? () from /usr/lib64/libglib-2.0.so.0
#25 0x00007fc10b44622c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#26 0x00007fc10f70e63f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#27 0x00007fc10f6b730a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#28 0x00007fc10f6bfb94 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#29 0x000055c517b8918c in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/baloo-5.38.0/src/file/main.cpp:104

Possible duplicates by query: bug 385056.

Reported using DrKonqi
Comment 1 Bill Wayson 2017-10-14 17:37:23 UTC
Created attachment 108350 [details]
New crash information added by DrKonqi

baloo_file (5.38.0) using Qt 5.9.1

- What I was doing when the application crashed:
I had completely deleted two audacity project files and folders under my home directory (similar to bug 385056, bypassing sending them to trash).  This is the second time this issue happened to me.

-- Backtrace (Reduced):
#11 0x000055e9b7968e5f in QTypedArrayData<unsigned short>::deallocate (data=<optimized out>) at /usr/include/qt5/QtCore/qarraydata.h:237
#12 QString::~QString (this=0x7fff7963cbe0, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qstring.h:1084
#13 Baloo::PendingFileQueue::enqueue (this=0x55e9b933bfe0, file=...) at /usr/src/debug/baloo-5.38.0/src/file/pendingfilequeue.cpp:66
#14 0x000055e9b7966d09 in Baloo::FileWatch::slotFileDeleted (this=0x7fff7963d3e0, urlString=..., isDir=<optimized out>) at /usr/src/debug/baloo-5.38.0/src/file/filewatch.cpp:116
[...]
#16 0x000055e9b796dcce in KInotify::deleted (_t2=<optimized out>, _t1=..., this=0x55e9b9363640) at /usr/src/debug/baloo-5.38.0/build/src/file/baloofilecommon_autogen/include/moc_kinotify.cpp:330
Comment 2 john4deidre2013 2017-10-23 05:18:06 UTC
Created attachment 108520 [details]
New crash information added by DrKonqi

baloo_file (5.38.0) using Qt 5.9.1

- What I was doing when the application crashed:

i was compiling lazarus from source with a script file.

-- Backtrace (Reduced):
#11 0x0000564baba98e5f in QTypedArrayData<unsigned short>::deallocate (data=<optimized out>) at /usr/include/qt5/QtCore/qarraydata.h:237
#12 QString::~QString (this=0x7fff5829c8e0, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qstring.h:1084
#13 Baloo::PendingFileQueue::enqueue (this=0x564bad3064e0, file=...) at /usr/src/debug/baloo-5.38.0/src/file/pendingfilequeue.cpp:66
#14 0x0000564baba96d09 in Baloo::FileWatch::slotFileDeleted (this=0x7fff5829d0e0, urlString=..., isDir=<optimized out>) at /usr/src/debug/baloo-5.38.0/src/file/filewatch.cpp:116
[...]
#16 0x0000564baba9dcce in KInotify::deleted (_t2=<optimized out>, _t1=..., this=0x564bad3288e0) at /usr/src/debug/baloo-5.38.0/build/src/file/baloofilecommon_autogen/include/moc_kinotify.cpp:330
Comment 3 john4deidre2013 2017-10-25 21:54:13 UTC
Created attachment 108565 [details]
New crash information added by DrKonqi

baloo_file (5.38.0) using Qt 5.9.2

- What I was doing when the application crashed:

i was using the script to compile fpc and it crashed at the start of the script.  please investigate, this is a long standing issue

-- Backtrace (Reduced):
#11 0x000055890e0b8e5f in QTypedArrayData<unsigned short>::deallocate (data=<optimized out>) at /usr/include/qt5/QtCore/qarraydata.h:237
#12 QString::~QString (this=0x7ffd34347360, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qstring.h:1084
#13 Baloo::PendingFileQueue::enqueue (this=0x55890ee16540, file=...) at /usr/src/debug/baloo-5.38.0/src/file/pendingfilequeue.cpp:66
#14 0x000055890e0b6d09 in Baloo::FileWatch::slotFileDeleted (this=0x7ffd34347b60, urlString=..., isDir=<optimized out>) at /usr/src/debug/baloo-5.38.0/src/file/filewatch.cpp:116
[...]
#16 0x000055890e0bdcce in KInotify::deleted (_t2=<optimized out>, _t1=..., this=0x55890ee6ae00) at /usr/src/debug/baloo-5.38.0/build/src/file/baloofilecommon_autogen/include/moc_kinotify.cpp:330
Comment 4 Nate Graham 2018-11-26 18:28:55 UTC

*** This bug has been marked as a duplicate of bug 385056 ***