Bug 422483 - Baloo crashes when downloading a file with Firefox
Summary: Baloo crashes when downloading a file with Firefox
Status: RESOLVED DUPLICATE of bug 389848
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.70.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Stefan Brüns
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-06-05 12:09 UTC by Thomas Vergnaud
Modified: 2020-06-12 01:05 UTC (History)
1 user (show)

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


Attachments
fake flac album with tags but no sound (770.00 KB, application/x-tar)
2020-06-11 08:18 UTC, Thomas Vergnaud
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Vergnaud 2020-06-05 12:09:07 UTC
Application: baloo_file_extractor (5.70.0)

Qt Version: 5.15.0
Frameworks Version: 5.70.0
Operating System: Linux 5.6.14-1-default x86_64
Windowing system: Wayland
Distribution: openSUSE Tumbleweed

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

I was downloading several files with Firefox. The crash happened when downloading the last file. It was a tar file that contains flac files with names in cyrilic alphabet.

-- Backtrace:
Application: Extracteur de fichier Baloo (baloo_file_extractor), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f55758033c0 (LWP 7382))]

Thread 2 (Thread 0x7f5573459700 (LWP 7383)):
#0  0x00007f5576c72fef in poll () from /lib64/libc.so.6
#1  0x00007f5575cf75de in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f5575cf76ff in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f557722bf6b in QEventDispatcherGlib::processEvents (this=0x7f556c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f55771d34cb in QEventLoop::exec (this=this@entry=0x7f5573458d50, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f5576ff573e in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f5578347a17 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f5576ff6871 in QThreadPrivate::start (arg=0x7f55783b4d80) at thread/qthread_unix.cpp:342
#8  0x00007f557670deaa in start_thread () from /lib64/libpthread.so.0
#9  0x00007f5576c7db1f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f55758033c0 (LWP 7382)):
[KCrash Handler]
#4  0x00007f5576bba4b1 in raise () from /lib64/libc.so.6
#5  0x00007f5576ba3539 in abort () from /lib64/libc.so.6
#6  0x00007f55768cf214 in mdb_assert_fail.constprop.0 (env=0x55f7006d03d0, expr_txt=expr_txt@entry=0x7f55768d05f0 "rc == 0", func=func@entry=0x7f55768d0918 <__func__.16> "mdb_page_dirty", line=line@entry=2127, file=0x7f55768d0987 "mdb.c") at mdb.c:1542
#7  0x00007f55768c2f15 in mdb_page_dirty (txn=<optimized out>, txn=<optimized out>, mp=<optimized out>) at mdb.c:2114
#8  mdb_page_dirty (txn=0x55f7006d07c0, mp=<optimized out>) at mdb.c:2114
#9  0x00007f55768cc4f6 in mdb_page_alloc.isra.0 (num=num@entry=1, mp=mp@entry=0x7fff540c1178, mc=<optimized out>, mc=<optimized out>) at mdb.c:2308
#10 0x00007f55768c38f3 in mdb_page_touch (mc=mc@entry=0x7fff540c16b0) at mdb.c:2495
#11 0x00007f55768c573c in mdb_cursor_touch (mc=mc@entry=0x7fff540c16b0) at mdb.c:6523
#12 0x00007f55768c8064 in mdb_cursor_put (mc=mc@entry=0x7fff540c16b0, key=key@entry=0x7fff540c1ac0, data=data@entry=0x7fff540c1ab0, flags=flags@entry=0) at mdb.c:6657
#13 0x00007f55768c91bb in mdb_put (txn=0x55f7006d07c0, dbi=3, key=key@entry=0x7fff540c1ac0, data=data@entry=0x7fff540c1ab0, flags=flags@entry=0) at mdb.c:9022
#14 0x00007f55783e6548 in Baloo::PositionDB::put (this=0x7fff540c1bc0, term=..., list=...) at /usr/src/debug/baloo5-5.70.0-1.2.x86_64/src/engine/positiondb.cpp:82
#15 0x00007f55783f57d6 in Baloo::WriteTransaction::commit (this=<optimized out>) at /usr/src/debug/baloo5-5.70.0-1.2.x86_64/src/engine/writetransaction.cpp:333
#16 0x00007f55783e98af in Baloo::Transaction::commit (this=0x55f7006d1c40) at /usr/src/debug/baloo5-5.70.0-1.2.x86_64/src/engine/transaction.cpp:299
#17 0x000055f6ff365ed4 in Baloo::App::processNextFile (this=0x7fff540c2210) at /usr/src/debug/baloo5-5.70.0-1.2.x86_64/src/file/extractor/app.cpp:139
#18 0x00007f557720ef92 in QtPrivate::QSlotObjectBase::call (a=0x7fff540c1d70, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#19 QSingleShotTimer::timerEvent (this=0x55f700733b00) at kernel/qtimer.cpp:320
#20 0x00007f557720096f in QObject::event (this=0x55f700733b00, e=0x7fff540c1ed0) at kernel/qobject.cpp:1291
#21 0x00007f5577d2b0cf in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55f700733b00, e=0x7fff540c1ed0) at kernel/qapplication.cpp:3671
#22 0x00007f55771d4b0a in QCoreApplication::notifyInternal2 (receiver=0x55f700733b00, event=0x7fff540c1ed0) at ../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#23 0x00007f557722b313 in QTimerInfoList::activateTimers (this=0x55f7006b88a0) at kernel/qtimerinfo_unix.cpp:643
#24 0x00007f557722bb94 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#25 0x00007f5575cf72c7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#26 0x00007f5575cf7648 in ?? () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f5575cf76ff in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f557722bf4f in QEventDispatcherGlib::processEvents (this=0x55f7006aa620, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007f55771d34cb in QEventLoop::exec (this=this@entry=0x7fff540c2110, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#30 0x00007f55771db730 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#31 0x000055f6ff35cdb7 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/baloo5-5.70.0-1.2.x86_64/src/file/extractor/main.cpp:59
[Inferior 1 (process 7382) detached]

Possible duplicates by query: bug 422393, bug 422355, bug 421885, bug 421728, bug 421272.

Reported using DrKonqi
Comment 1 Nate Graham 2020-06-11 03:28:14 UTC
Can you attach the file that makes it crash?
Comment 2 Thomas Vergnaud 2020-06-11 08:18:16 UTC
Created attachment 129221 [details]
fake flac album with tags but no sound
Comment 3 Thomas Vergnaud 2020-06-11 08:23:28 UTC
(In reply to Thomas Vergnaud from comment #2)
> Created attachment 129221 [details]
> fake flac album with tags but no sound

The file is a tar of a music album in FLAC format. Unfortunately I cannot attach the file because it weighs 425 MB. Besides, this might be considered like pirating the album. 
Nevertheless, I attached a "fake" album. It is a tar file that contains FLAC files with no sound, but with the same tags and filenames.
Comment 4 Nate Graham 2020-06-11 12:41:18 UTC
Thanks! And Baloo crashes on this fake archive as well?
Comment 5 Thomas Vergnaud 2020-06-11 13:06:03 UTC
(In reply to Nate Graham from comment #4)
> Thanks! And Baloo crashes on this fake archive as well?

I have just tried and downloaded the file; no crash occurred. Maybe the Baloo crash I had encountered was a coincidence and was not related with the file.
Comment 6 Nate Graham 2020-06-12 01:05:10 UTC
Probably.

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