Bug 375950 - Baloo file extractor crashes at start
Summary: Baloo file extractor crashes at start
Status: RESOLVED DUPLICATE of bug 352856
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.29.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-02-03 13:18 UTC by Michael Strobel
Modified: 2018-11-26 19:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Strobel 2017-02-03 13:18:23 UTC
Application: baloo_file_extractor (5.29.0)

Qt Version: 5.7.1
Frameworks Version: 5.29.0
Operating System: Linux 4.9.6-200.fc25.x86_64 x86_64
Distribution: "Fedora release 25 (Twenty Five)"

-- Information about the crash:
baloo_file_extractor crashes at start, probably some file leads to unexpected behaviour. 

System: Fedora 25, baloo: kf5-baloo-file-5.29.0-1.fc25.x86_64

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File Extractor (baloo_file_extractor), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
84	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fe4d49a58c0 (LWP 3425))]

Thread 3 (Thread 0x7fe4b5450700 (LWP 3427)):
#0  0x00007fe4d19a201d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fe4cd59d156 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fe4b0036240, timeout=<optimized out>, context=0x7fe4b0000990) at gmain.c:4228
#2  0x00007fe4cd59d156 in g_main_context_iterate (context=context@entry=0x7fe4b0000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3924
#3  0x00007fe4cd59d26c in g_main_context_iteration (context=0x7fe4b0000990, may_block=may_block@entry=1) at gmain.c:3990
#4  0x00007fe4d27a873b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fe4b00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fe4d275973a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fe4b544fcc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007fe4d25b65f3 in QThread::exec() (this=this@entry=0x7fe4d4b3b060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:507
#7  0x00007fe4d4ac5739 in QDBusConnectionManager::run() (this=0x7fe4d4b3b060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007fe4d25ba9da in QThreadPrivate::start(void*) (arg=0x7fe4d4b3b060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#9  0x00007fe4d0ef06ca in start_thread (arg=0x7fe4b5450700) at pthread_create.c:333
#10 0x00007fe4d19adf7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7fe4be528700 (LWP 3426)):
#0  0x00007fe4d19a201d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fe4cc6d7d10 in poll (__timeout=-1, __nfds=1, __fds=0x7fe4be527c00) at /usr/include/bits/poll2.h:46
#2  0x00007fe4cc6d7d10 in _xcb_conn_wait (c=c@entry=0x55aeb32b3eb0, cond=cond@entry=0x55aeb32b3ef0, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:479
#3  0x00007fe4cc6d9aa9 in xcb_wait_for_event (c=0x55aeb32b3eb0) at xcb_in.c:693
#4  0x00007fe4c2bd1d69 in QXcbEventReader::run() (this=0x55aeb32be580) at qxcbconnection.cpp:1343
#5  0x00007fe4d25ba9da in QThreadPrivate::start(void*) (arg=0x55aeb32be580) at thread/qthread_unix.cpp:368
#6  0x00007fe4d0ef06ca in start_thread (arg=0x7fe4be528700) at pthread_create.c:333
#7  0x00007fe4d19adf7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7fe4d49a58c0 (LWP 3425)):
[KCrash Handler]
#6  0x00007fe4bcb9a998 in Exiv2::ValueType<std::pair<unsigned int, unsigned int> >::toFloat(long) const (this=0x55aeb339eca0, n=0) at ../include/exiv2/value.hpp:1695
#7  0x00007fe4bcf8b21b in (anonymous namespace)::toVariantDouble (value=...) at /usr/src/debug/kfilemetadata-5.29.0/src/extractors/exiv2extractor.cpp:98
#8  0x00007fe4bcf8b21b in (anonymous namespace)::toVariant (type=QVariant::Double, value=...) at /usr/src/debug/kfilemetadata-5.29.0/src/extractors/exiv2extractor.cpp:128
#9  0x00007fe4bcf8b21b in KFileMetaData::Exiv2Extractor::add(KFileMetaData::ExtractionResult*, Exiv2::ExifData const&, KFileMetaData::Property::Property, char const*, QVariant::Type) (this=this@entry=0x55aeb32e5aa0, result=result@entry=0x7ffc011a88d0, data=..., prop=prop@entry=KFileMetaData::Property::PhotoFocalLength, name=name@entry=0x7fe4bcf8c6c0 "Exif.Photo.FocalLength", type=type@entry=QVariant::Double) at /usr/src/debug/kfilemetadata-5.29.0/src/extractors/exiv2extractor.cpp:225
#10 0x00007fe4bcf8ba66 in KFileMetaData::Exiv2Extractor::extract(KFileMetaData::ExtractionResult*) (this=0x55aeb32e5aa0, result=0x7ffc011a88d0) at /usr/src/debug/kfilemetadata-5.29.0/src/extractors/exiv2extractor.cpp:182
#11 0x000055aeb1679deb in Baloo::App::index(Baloo::Transaction*, QString const&, unsigned long long) (this=this@entry=0x7ffc011a9020, tr=0x55aeb332ff30, url=..., id=id@entry=87864151724064003) at /usr/src/debug/baloo-5.29.0/src/file/extractor/app.cpp:163
#12 0x000055aeb167a2be in Baloo::App::processNextFile() (this=0x7ffc011a9020) at /usr/src/debug/baloo-5.29.0/src/file/extractor/app.cpp:93
#13 0x00007fe4d278da26 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc011a8a40, r=<optimized out>, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:101
#14 0x00007fe4d278da26 in QSingleShotTimer::timerEvent(QTimerEvent*) (this=0x55aeb3386700) at kernel/qtimer.cpp:317
#15 0x00007fe4d278282b in QObject::event(QEvent*) (this=0x55aeb3386700, e=<optimized out>) at kernel/qobject.cpp:1285
#16 0x00007fe4d2f9aecc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55aeb3386700, e=0x7ffc011a8d10) at kernel/qapplication.cpp:3799
#17 0x00007fe4d2fa2671 in QApplication::notify(QObject*, QEvent*) (this=0x7ffc011a8ff0, receiver=0x55aeb3386700, e=0x7ffc011a8d10) at kernel/qapplication.cpp:3556
#18 0x00007fe4d275a7aa in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55aeb3386700, event=event@entry=0x7ffc011a8d10) at kernel/qcoreapplication.cpp:988
#19 0x00007fe4d27a7d3b in QCoreApplication::sendEvent(QObject*, QEvent*) (event=0x7ffc011a8d10, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#20 0x00007fe4d27a7d3b in QTimerInfoList::activateTimers() (this=0x55aeb32dbd90) at kernel/qtimerinfo_unix.cpp:644
#21 0x00007fe4d27a82c9 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#22 0x00007fe4d27a82c9 in idleTimerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:229
#23 0x00007fe4cd59ce42 in g_main_dispatch (context=0x7fe4b80016f0) at gmain.c:3203
#24 0x00007fe4cd59ce42 in g_main_context_dispatch (context=context@entry=0x7fe4b80016f0) at gmain.c:3856
#25 0x00007fe4cd59d1c0 in g_main_context_iterate (context=context@entry=0x7fe4b80016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3929
#26 0x00007fe4cd59d26c in g_main_context_iteration (context=0x7fe4b80016f0, may_block=may_block@entry=1) at gmain.c:3990
#27 0x00007fe4d27a871f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55aeb32db5f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#28 0x00007fe4d275973a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc011a8f60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#29 0x00007fe4d276123c in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1261
#30 0x000055aeb16791ff in main(int, char**) (argc=<optimized out>, argv=0x7ffc011a9208) at /usr/src/debug/baloo-5.29.0/src/file/extractor/main.cpp:57

Reported using DrKonqi
Comment 1 Nate Graham 2018-11-26 19:46:10 UTC

*** This bug has been marked as a duplicate of bug 372235 ***
Comment 2 Nate Graham 2018-11-26 19:48:53 UTC

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