Bug 363187 - Gwenview crashes on launch
Summary: Gwenview crashes on launch
Status: RESOLVED FIXED
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.18.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords: drkonqi
: 366771 387505 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-05-17 18:03 UTC by Terence Petersen-Ajbro
Modified: 2017-12-10 20:34 UTC (History)
4 users (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 Terence Petersen-Ajbro 2016-05-17 18:03:26 UTC
Application: gwenview (15.12.3)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-22-generic x86_64
Distribution: Ubuntu 16.04 LTS

-- Information about the crash:
The app crashes every time I start it except when selecting a file or folder and opening the file or folder with Gwenview.

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Bus error
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd6915c99c0 (LWP 3696))]

Thread 2 (Thread 0x7fd68f372700 (LWP 3697)):
#0  0x00007fd69ff19e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fd698e0ec62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fd698e108d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fd69109d629 in QXcbEventReader::run (this=0x12ba480) at qxcbconnection.cpp:1253
#4  0x00007fd6a060f84e in QThreadPrivate::start (arg=0x12ba480) at thread/qthread_unix.cpp:331
#5  0x00007fd69b4216fa in start_thread (arg=0x7fd68f372700) at pthread_create.c:333
#6  0x00007fd69ff25b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fd6915c99c0 (LWP 3696)):
[KCrash Handler]
#6  mdb_node_search (mc=mc@entry=0x1b4d460, key=key@entry=0x7fff3812ca70, exactp=exactp@entry=0x0) at mdb.c:5112
#7  0x00007fd6937927cb in mdb_cursor_set (mc=mc@entry=0x1b4d460, key=key@entry=0x7fff3812ca70, data=data@entry=0x0, op=op@entry=MDB_SET_RANGE, exactp=exactp@entry=0x0) at mdb.c:5901
#8  0x00007fd6937910bd in mdb_cursor_get (mc=0x1b4d460, key=key@entry=0x7fff3812ca70, data=data@entry=0x0, op=op@entry=MDB_SET_RANGE) at mdb.c:6133
#9  0x00007fd698be9a8e in Baloo::PostingDB::fetchTermsStartingWith (this=this@entry=0x7fff3812cac0, term=...) at ../../../src/engine/postingdb.cpp:128
#10 0x00007fd698bf1dcd in Baloo::Transaction::fetchTermsStartingWith (this=this@entry=0x7fff3812cb30, term=...) at ../../../src/engine/transaction.cpp:168
#11 0x00007fd69eb4b617 in Baloo::TagListJob::start (this=0x1b4adf0) at ../../../src/lib/taglistjob.cpp:59
#12 0x00007fd6a147271e in KJob::exec (this=this@entry=0x1b4adf0) at ../../../src/lib/jobs/kjob.cpp:197
#13 0x00007fd6a46703a0 in Gwenview::BalooSemanticInfoBackend::refreshAllTags (this=0x1352110) at /build/gwenview-iJ9mAT/gwenview-15.12.3/lib/semanticinfo/baloosemanticinfobackend.cpp:68
#14 0x00007fd6a4670313 in Gwenview::BalooSemanticInfoBackend::allTags (this=0x1352110) at /build/gwenview-iJ9mAT/gwenview-15.12.3/lib/semanticinfo/baloosemanticinfobackend.cpp:60
#15 0x00007fd6a466eb01 in Gwenview::TagModel::createAllTagsModel (parent=<optimized out>, backEnd=0x1352110) at /build/gwenview-iJ9mAT/gwenview-15.12.3/lib/semanticinfo/tagmodel.cpp:122
#16 0x000000000048010f in Gwenview::StartMainPagePrivate::setupSearchUi (this=0x1932da0) at /build/gwenview-iJ9mAT/gwenview-15.12.3/app/startmainpage.cpp:88
#17 Gwenview::StartMainPage::showEvent (this=0x192fe50, event=0x7fff3812d020) at /build/gwenview-iJ9mAT/gwenview-15.12.3/app/startmainpage.cpp:255
#18 0x00007fd6a1af5f88 in QWidget::event (this=this@entry=0x192fe50, event=event@entry=0x7fff3812d020) at kernel/qwidget.cpp:9044
#19 0x00007fd6a1bf4b5e in QFrame::event (this=0x192fe50, e=0x7fff3812d020) at widgets/qframe.cpp:540
#20 0x00007fd6a1ab305c in QApplicationPrivate::notify_helper (this=this@entry=0x12a2c60, receiver=receiver@entry=0x192fe50, e=e@entry=0x7fff3812d020) at kernel/qapplication.cpp:3716
#21 0x00007fd6a1ab8516 in QApplication::notify (this=0x7fff3812d640, receiver=0x192fe50, e=0x7fff3812d020) at kernel/qapplication.cpp:3499
#22 0x00007fd6a07f062b in QCoreApplication::notifyInternal (this=0x7fff3812d640, receiver=receiver@entry=0x192fe50, event=event@entry=0x7fff3812d020) at kernel/qcoreapplication.cpp:965
#23 0x00007fd6a1af2a86 in QCoreApplication::sendEvent (event=0x7fff3812d020, receiver=0x192fe50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#24 QWidgetPrivate::show_helper (this=0x1932bb0) at kernel/qwidget.cpp:7822
#25 0x00007fd6a1af2656 in QWidgetPrivate::show_recursive (this=<optimized out>) at kernel/qwidget.cpp:7693
#26 0x00007fd6a1af2776 in QWidgetPrivate::showChildren (this=this@entry=0x13cb9b0, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8189
#27 0x00007fd6a1af280f in QWidgetPrivate::show_helper (this=this@entry=0x13cb9b0) at kernel/qwidget.cpp:7769
#28 0x00007fd6a1af55fd in QWidget::setVisible (this=0x13b3140, visible=<optimized out>) at kernel/qwidget.cpp:8108
#29 0x00007fd6a1af2788 in QWidgetPrivate::showChildren (this=this@entry=0x13a3b90, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8191
#30 0x00007fd6a1af280f in QWidgetPrivate::show_helper (this=this@entry=0x13a3b90) at kernel/qwidget.cpp:7769
#31 0x00007fd6a1af55fd in QWidget::setVisible (this=0x1388b30, visible=<optimized out>) at kernel/qwidget.cpp:8108
#32 0x00007fd6a1af2788 in QWidgetPrivate::showChildren (this=this@entry=0x13a1b00, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8191
#33 0x00007fd6a1af280f in QWidgetPrivate::show_helper (this=this@entry=0x13a1b00) at kernel/qwidget.cpp:7769
#34 0x00007fd6a1af55fd in QWidget::setVisible (this=0x137da60, visible=<optimized out>) at kernel/qwidget.cpp:8108
#35 0x00007fd6a1af2788 in QWidgetPrivate::showChildren (this=this@entry=0x137b100, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8191
#36 0x00007fd6a1af280f in QWidgetPrivate::show_helper (this=this@entry=0x137b100) at kernel/qwidget.cpp:7769
#37 0x00007fd6a1af55fd in QWidget::setVisible (this=0x1353480, visible=<optimized out>) at kernel/qwidget.cpp:8108
#38 0x000000000046e280 in StartHelper::createMainWindow (this=this@entry=0x7fff3812d650) at /build/gwenview-iJ9mAT/gwenview-15.12.3/app/main.cpp:99
#39 0x000000000044ba5f in main (argc=1, argv=<optimized out>) at /build/gwenview-iJ9mAT/gwenview-15.12.3/app/main.cpp:158

Reported using DrKonqi
Comment 1 Elvis Angelaccio 2016-12-24 16:42:59 UTC
*** Bug 366771 has been marked as a duplicate of this bug. ***
Comment 2 null 2017-12-02 00:42:39 UTC
*** Bug 387505 has been marked as a duplicate of this bug. ***
Comment 3 null 2017-12-10 20:34:03 UTC
When testing tagging with both Dolphin and Gwenview 17.12.0 and Frameworks 5.40, I did not get any crash. Also, even with full content indexing enabled in Baloo, starting Gwenview in every possible way still works fine.

Nevertheless, please test again on a newer system and comment if it still crashes for you, then we'd need to reopen.