https://bugs.kde.org/show_bug.cgi?id=363136

--- Comment #25 from Luca Weiss <l...@z3ntu.xyz> ---
(I copied this comment from 390609 except that the backtrace also contains Qt
debug symbols and thanks Antonio for pointing me to the correct bug - I
searched but couldn't find this one)

I have debugged this issue a bit and found, that the
runners/bookmarks/faviconfromblob.cpp file in plasma-workspace tries to access
the table moz_favicons in the sqlite database (line 80) which doesn't exist
though.
Checking the firefox source code, I found mentions that since Firefox 37 the
table was not used anymore and since Firefox 41 the table was dropped. I have
no idea why this wasn't an issue before but it might be because of a newer Qt
version that broke something?


$ sqlite3 .cache/krunnerbookmarkrunnerfirefoxdbfile.sqlite                      
SQLite version 3.22.0 2018-01-22 18:45:57
Enter ".help" for usage hints.
sqlite> .tables
moz_anno_attributes    moz_historyvisits      moz_keywords         
moz_annos              moz_hosts              moz_places           
moz_bookmarks          moz_inputhistory     
moz_bookmarks_deleted  moz_items_annos


(gdb) bt
#0  0x00007ffff41c5ad0 in QVariant::QVariant(QVariant const&)
(this=0x7fffb6b567e0, p=...) at kernel/qvariant.cpp:1527
#1  0x00007fffb7b672bc in QVector<QVariant>::append(QVariant const&)
(this=this@entry=0x7fffb6b56890, t=...)
    at
/tmp/qt5-base/trunk/src/qtbase-everywhere-src-5.10.1/include/QtCore/../../src/corelib/tools/qvector.h:653
#2  0x00007fffb7b64ad6 in QVector<QVariant>::operator<<(QVariant const&)
(t=..., this=0x7fffb6b56890)
    at
/tmp/qt5-base/trunk/src/qtbase-everywhere-src-5.10.1/include/QtCore/../../src/corelib/tools/qvector.h:281
#3  0x00007fffb7b64ad6 in QSQLiteResult::exec() (this=0x7fffac0087d0) at
qsql_sqlite.cpp:491
#4  0x00007fffed155db8 in QSqlQuery::exec() (this=this@entry=0x7fffb6b569d0) at
kernel/qsqlquery.cpp:1002
#5  0x00007fffb7d7b064 in FetchSqlite::query(QString const&, QMap<QString,
QVariant>) (this=this@entry=0x555557ab5560, sql=..., bindObjects=...)
    at
/tmp/plasma-workspace/trunk/src/plasma-workspace-5.12.1/runners/bookmarks/fetchsqlite.cpp:80
#6  0x00007fffb7d7b56a in FetchSqlite::query(BuildQuery*, QMap<QString,
QVariant>) (this=this@entry=0x555557ab5560, buildQuery=0x555557a7e0b0,
bindObjects=...)
    at
/tmp/plasma-workspace/trunk/src/plasma-workspace-5.12.1/runners/bookmarks/fetchsqlite.cpp:67
#7  0x00007fffb7d76c12 in FaviconFromBlob::iconFor(QString const&)
(this=0x555557af5c80, url=...) at
/tmp/plasma-workspace/trunk/src/plasma-workspace-5.12.1/runners/bookmarks/faviconfromblob.cpp:133
#8  0x00007fffb7d74455 in BookmarkMatch::asQueryMatch(Plasma::AbstractRunner*)
(this=this@entry=0x7fffb6b56c70, runner=runner@entry=0x5555578e80a0)
    at
/tmp/plasma-workspace/trunk/src/plasma-workspace-5.12.1/runners/bookmarks/bookmarkmatch.cpp:63
#9  0x00007fffb7d7e8e4 in BookmarksRunner::match(Plasma::RunnerContext&)
(this=0x5555578e80a0, context=...) at
/tmp/plasma-workspace/trunk/src/plasma-workspace-5.12.1/runners/bookmarks/bookmarksrunner.cpp:85
#10 0x00007fffd0e877f0 in
Plasma::AbstractRunner::performMatch(Plasma::RunnerContext&)
(this=0x5555578e80a0, localContext=...) at
/tmp/krunner/trunk/src/krunner-5.43.0/src/abstractrunner.cpp:130
#11 0x00007fffd0c66618 in
ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5
#12 0x00007fffd0c65610 in
ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5
#13 0x00007fffd0c64d45 in ThreadWeaver::Thread::run() () at
/usr/lib/libKF5ThreadWeaver.so.5
#14 0x00007ffff3f92bbd in QThreadPrivate::start(void*) (arg=0x7fffb0004980) at
thread/qthread_unix.cpp:376
#15 0x00007ffff17ea08c in start_thread () at /usr/lib/libpthread.so.0
#16 0x00007ffff3898e7f in clone () at /usr/lib/libc.so.6

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to