Bug 402261

Summary: baloo_file_extractor crashes in Baloo::App::slotNewInput()
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Jaume Sabater <jsabater>
Component: Baloo File DaemonAssignee: baloo-bugs-null
Status: RESOLVED FIXED    
Severity: crash CC: joh82875, nate
Priority: NOR Keywords: drkonqi
Version First Reported In: 5.57.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jaume Sabater 2018-12-17 21:27:01 UTC
Application: baloo_file_extractor (5.53.0)

Qt Version: 5.11.2
Frameworks Version: 5.53.0
Operating System: Linux 4.15.0-42-generic x86_64
Distribution: KDE neon User Edition 5.14

-- Information about the crash:
- What I was doing when the application crashed: Opened the lid of te laptop. Applications open were Firefox, Sublime Text, Yakuake, Dolphin and Deluge Bittorrent.

-- Backtrace:
Application: Baloo File Extractor (baloo_file_extractor), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5b194d4c80 (LWP 30761))]

Thread 3 (Thread 0x7f5af1fc7700 (LWP 30763)):
#0  0x00007f5b16054bf9 in __GI___poll (fds=0x7f5aec004db0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f5b12722539 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5b1272264c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5b1698f04b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f5b1693330a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f5b1675ebba in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f5b182b4e45 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f5b16769adb in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f5b14c5b6db in start_thread (arg=0x7f5af1fc7700) at pthread_create.c:463
#9  0x00007f5b1606188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f5b0adb1700 (LWP 30762)):
#0  0x00007f5b16054bf9 in __GI___poll (fds=0x7f5b0adb0ca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f5b122b1747 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f5b122b336a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f5b0dd71ed9 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f5b16769adb in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f5b14c5b6db in start_thread (arg=0x7f5b0adb1700) at pthread_create.c:463
#6  0x00007f5b1606188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f5b194d4c80 (LWP 30761)):
[KCrash Handler]
#6  0x000055b640d82045 in QVector<unsigned long long>::reallocData(int, int, QFlags<QArrayData::AllocationOption>) (this=this@entry=0x7ffd067a0de8, asize=0, aalloc=<optimized out>, options=..., options@entry=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:569
#7  0x000055b640d822ad in QVector<unsigned long long>::reserve(int) (asize=<optimized out>, this=0x7ffd067a0de8) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:398
#8  0x000055b640d822ad in QtPrivate::readArrayBasedContainer<QVector<unsigned long long> >(QDataStream&, QVector<unsigned long long>&) (s=..., c=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatastream.h:240
#9  0x000055b640d7ec8c in operator>><unsigned long long>(QDataStream&, QVector<unsigned long long>&) (v=..., s=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatastream.h:401
#10 0x000055b640d7ec8c in Baloo::App::slotNewInput() (this=0x7ffd067a0d00) at ./src/file/extractor/app.cpp:63
#11 0x00007f5b1696418f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f5b16970868 in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f5b16970c22 in QSocketNotifier::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f5b176c1e1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f5b176c93ef in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f5b16934fe8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f5b1698fc7d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f5b12722387 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f5b127225c0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f5b1272264c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f5b1698f02f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f5b0ddfd761 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#23 0x00007f5b1693330a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f5b1693c4d0 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x000055b640d7e3f4 in main(int, char**) (argc=<optimized out>, argv=0x7ffd067a0f28) at ./src/file/extractor/main.cpp:60

Reported using DrKonqi
Comment 1 Christophe Marin 2019-04-26 18:49:15 UTC
we got a similar report downstream[1] with baloo 5.57:

Downloaded 107MB .MOV file from website using Firefox and immediately upon completion the crash occured.


#5  0x00007f672b5fc985 in QVector<KWayland::Client::ConnectionThread*>::reallocData (this=this@entry=0x7f672b6800b0 <KWayland::Client::ConnectionThread::Private::connections>, asize=22064, aalloc=<optimized out>, options=..., options@entry=...) at /usr/include/qt5/QtCore/qarraydata.h:220
#6  0x00007f672b5fcabd in QVector<KWayland::Client::ConnectionThread*>::detach (this=0x7f672b6800b0 <KWayland::Client::ConnectionThread::Private::connections>) at /usr/include/qt5/QtCore/qflags.h:120
#7  QVector<KWayland::Client::ConnectionThread*>::erase (this=this@entry=0x7f672b6800b0 <KWayland::Client::ConnectionThread::Private::connections>, abegin=0x563047cbd918, aend=0x563047cbd920) at /usr/include/qt5/QtCore/qvector.h:815
#8  0x00007f672b5fc6d4 in QVector<KWayland::Client::ConnectionThread*>::remove (i=<optimized out>, this=0x7f672b6800b0 <KWayland::Client::ConnectionThread::Private::connections>) at /usr/include/qt5/QtCore/qarraydata.h:61
#9  QVector<KWayland::Client::ConnectionThread*>::removeOne (t=@0x563047cb8ad8: 0x563047cbca00, this=0x7f672b6800b0 <KWayland::Client::ConnectionThread::Private::connections>) at /usr/include/qt5/QtCore/qvector.h:180
#10 KWayland::Client::ConnectionThread::Private::~Private (this=0x563047cb8a90, __in_chrg=<optimized out>) at /usr/src/debug/kwayland-5.57.0-1.1.x86_64/src/client/connection_thread.cpp:88
#11 0x00007f672b5fc745 in QScopedPointerDeleter<KWayland::Client::ConnectionThread::Private>::cleanup (pointer=0x563047cb8a90) at /usr/include/qt5/QtCore/qscopedpointer.h:52
#12 QScopedPointer<KWayland::Client::ConnectionThread::Private, QScopedPointerDeleter<KWayland::Client::ConnectionThread::Private> >::~QScopedPointer (this=0x563047cbca10, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qscopedpointer.h:107
#13 KWayland::Client::ConnectionThread::~ConnectionThread (this=0x563047cbca00, __in_chrg=<optimized out>) at /usr/src/debug/kwayland-5.57.0-1.1.x86_64/src/client/connection_thread.cpp:208
#14 0x00007f672b5fc769 in KWayland::Client::ConnectionThread::~ConnectionThread (this=0x563047cbca00, __in_chrg=<optimized out>) at /usr/src/debug/kwayland-5.57.0-1.1.x86_64/src/client/connection_thread.cpp:208
#15 0x00007f672b7bfd3f in Poller::unloadPoller (this=0x563047cbd1d0) at /usr/src/debug/kwayland-integration-5.15.4-1.1.x86_64/src/idletime/poller.cpp:137
#16 0x00007f67301c29e8 in KIdleTimePrivate::unloadCurrentSystem (this=0x563047cae180) at /usr/include/c++/8/bits/atomic_base.h:390
#17 KIdleTimePrivate::unloadCurrentSystem (this=0x563047cae180) at /usr/src/debug/kidletime-5.57.0-1.1.x86_64/src/kidletime.cpp:231
#18 0x00007f67301c2a30 in KIdleTime::~KIdleTime (this=0x563047cbc9e0, __in_chrg=<optimized out>) at /usr/src/debug/kidletime-5.57.0-1.1.x86_64/src/kidletime.cpp:95
#19 0x00007f67301c2aa9 in KIdleTime::~KIdleTime (this=0x563047cbc9e0, __in_chrg=<optimized out>) at /usr/src/debug/kidletime-5.57.0-1.1.x86_64/src/kidletime.cpp:92
#20 0x00007f67301c2762 in KIdleTimeHelper::~KIdleTimeHelper (this=<optimized out>, __in_chrg=<optimized out>) at /usr/src/debug/kidletime-5.57.0-1.1.x86_64/src/kidletime.cpp:46
#21 (anonymous namespace)::Q_QGS_s_globalKIdleTime::Holder::~Holder (this=<optimized out>, __in_chrg=<optimized out>) at /usr/src/debug/kidletime-5.57.0-1.1.x86_64/src/kidletime.cpp:46
#22 0x00007f672ebaa42c in __run_exit_handlers () from /lib64/libc.so.6
#23 0x00007f672ebaa55c in exit () from /lib64/libc.so.6
#24 0x00005630472bcbf5 in Baloo::App::slotNewInput (this=<optimized out>) at /usr/src/debug/baloo5-5.57.0-1.1.x86_64/src/file/extractor/app.cpp:79
#25 Baloo::App::slotNewInput (this=<optimized out>) at /usr/src/debug/baloo5-5.57.0-1.1.x86_64/src/file/extractor/app.cpp:61
#26 0x00007f672f168343 in QtPrivate::QSlotObjectBase::call (a=0x7ffdea20e430, r=0x7ffdea20e9d0, this=0x563047cc40d0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#27 QMetaObject::activate (sender=0x7ffdea20ea50, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3774
#28 0x00007f672f1739d9 in QSocketNotifier::activated (this=this@entry=0x7ffdea20ea50, _t1=<optimized out>, _t2=...) at .moc/moc_qsocketnotifier.cpp:140


[1] https://bugzilla.opensuse.org/show_bug.cgi?id=1133558
Comment 2 Nate Graham 2020-10-26 16:11:29 UTC
No duplicate bug reports seen in almost a year. After all the bugfixing work done during that time, I think we can call this fixed!