Bug 378806 - Knights crash when select a diferent theme.
Summary: Knights crash when select a diferent theme.
Status: RESOLVED FIXED
Alias: None
Product: knights
Classification: Applications
Component: general (show other bugs)
Version: 2.5.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Miha Čančula
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-04-15 11:53 UTC by Angel
Modified: 2017-09-09 16:45 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Angel 2017-04-15 11:53:16 UTC
Application: knights (2.5.0)
KDE Platform Version: 4.14.16
Qt Version: 4.8.7
Operating System: Linux 4.8.0-46-generic x86_64
Distribution: KDE neon LTS User Edition 5.8

-- Information about the crash:
- What I was doing when the application crashed:
I downloaded a few themes and when I selected a new one like "Fritz_look_alike", suddenly the app crashed.

-- Backtrace:
Application: Knights (knights), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007fe1d4db1fb6 in operator!= (s2=..., s1=...) at /usr/include/qt4/QtCore/qsize.h:160
#7  KGameRendererClient::setRenderSize (this=0x156cd70, renderSize=...) at ../kgamerendererclient.cpp:105
#8  0x000000000045072c in Knights::Board::updateGraphics (this=this@entry=0x1aa5d60) at /build/knights-lEs0_N/knights-2.5.0/src/board.cpp:570
#9  0x0000000000451e00 in Knights::Board::updateTheme (this=this@entry=0x1aa5d60) at /build/knights-lEs0_N/knights-2.5.0/src/board.cpp:563
#10 0x00000000004537a0 in Knights::Board::qt_static_metacall (_o=0x1aa5d60, _id=<optimized out>, _a=0x7ffec20471c0, _c=<optimized out>) at /build/knights-lEs0_N/knights-2.5.0/obj-x86_64-linux-gnu/src/board.moc:80
#11 0x00007fe1d3381010 in QMetaObject::activate (sender=0x13b8730, m=m@entry=0x7fe1d4fd6600 <KgThemeProvider::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffec20471c0) at kernel/qobject.cpp:3567
#12 0x00007fe1d4dbd3ef in KgThemeProvider::currentThemeChanged (this=<optimized out>, _t1=_t1@entry=0x12c0db0) at ./kgthemeprovider.moc:152
#13 0x00007fe1d4dbd423 in KgThemeProvider::setCurrentTheme (this=<optimized out>, theme=theme@entry=0x12c0db0) at ../kgthemeprovider.cpp:161
#14 0x00007fe1d4dbf44d in KgThemeSelector::Private::_k_updateProviderSelection (this=0x1842fe0) at ../kgthemeselector.cpp:148
#15 0x00007fe1d4dc0b81 in KgThemeSelector::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./kgthemeselector.moc:58
#16 0x00007fe1d3381010 in QMetaObject::activate (sender=0x1840d70, m=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3567
#17 0x00007fe1d3381010 in QMetaObject::activate (sender=sender@entry=0x1846350, m=m@entry=0x7fe1d2f3f900 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffec2047450) at kernel/qobject.cpp:3567
#18 0x00007fe1d29c1167 in QItemSelectionModel::selectionChanged (this=this@entry=0x1846350, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:165
#19 0x00007fe1d29c683b in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x1846350, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1600
#20 0x00007fe1d29c7181 in QItemSelectionModel::select (this=0x1846350, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#21 0x00007fe1d2994463 in QListView::setSelection (this=<optimized out>, rect=..., command=...) at itemviews/qlistview.cpp:1384
#22 0x00007fe1d296f526 in QAbstractItemView::mousePressEvent (this=0x1840d70, event=<optimized out>) at itemviews/qabstractitemview.cpp:1690
#23 0x00007fe1d2487490 in QWidget::event (this=this@entry=0x1840d70, event=event@entry=0x7ffec2047eb0) at kernel/qwidget.cpp:8385
#24 0x00007fe1d284fcee in QFrame::event (this=0x1840d70, e=0x7ffec2047eb0) at widgets/qframe.cpp:557
#25 0x00007fe1d2975663 in QAbstractItemView::viewportEvent (this=0x1840d70, event=0x7ffec2047eb0) at itemviews/qabstractitemview.cpp:1644
#26 0x00007fe1d336ca76 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x1229510, receiver=receiver@entry=0x1843d60, event=event@entry=0x7ffec2047eb0) at kernel/qcoreapplication.cpp:1065
#27 0x00007fe1d242ffbc in QApplicationPrivate::notify_helper (this=this@entry=0x1229510, receiver=receiver@entry=0x1843d60, e=e@entry=0x7ffec2047eb0) at kernel/qapplication.cpp:4566
#28 0x00007fe1d24370d6 in QApplication::notify (this=this@entry=0x7ffec20486d0, receiver=receiver@entry=0x1843d60, e=e@entry=0x7ffec2047eb0) at kernel/qapplication.cpp:4113
#29 0x00007fe1d40f764a in KApplication::notify (this=0x7ffec20486d0, receiver=0x1843d60, event=0x7ffec2047eb0) at /build/kde4libs-oFCmS0/kde4libs-4.14.16/kdeui/kernel/kapplication.cpp:311
#30 0x00007fe1d336c90d in QCoreApplication::notifyInternal (this=0x7ffec20486d0, receiver=receiver@entry=0x1843d60, event=event@entry=0x7ffec2047eb0) at kernel/qcoreapplication.cpp:955
#31 0x00007fe1d24366dd in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1843d60, event=event@entry=0x7ffec2047eb0, alienWidget=alienWidget@entry=0x1843d60, nativeWidget=nativeWidget@entry=0x1840d70, buttonDown=buttonDown@entry=0x7fe1d2f5b368 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178
#33 0x00007fe1d24b43f2 in QETWidget::translateMouseEvent (this=this@entry=0x1840d70, event=event@entry=0x7ffec2048210) at kernel/qapplication_x11.cpp:4638
#34 0x00007fe1d24b3c83 in QApplication::x11ProcessEvent (this=0x7ffec20486d0, event=event@entry=0x7ffec2048210) at kernel/qapplication_x11.cpp:3626
#35 0x00007fe1d24dd542 in x11EventSourceDispatch (s=0x12293d0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#36 0x00007fe1c9f08197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fe1c9f083f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fe1c9f0849c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fe1d339d2ae in QEventDispatcherGlib::processEvents (this=0x11f3f20, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#40 0x00007fe1d24dd616 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007fe1d336b18f in QEventLoop::processEvents (this=this@entry=0x7ffec20485f0, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007fe1d336b4f5 in QEventLoop::exec (this=this@entry=0x7ffec20485f0, flags=...) at kernel/qeventloop.cpp:204
#43 0x00007fe1d33714b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#44 0x00007fe1d242e22c in QApplication::exec () at kernel/qapplication.cpp:3828
#45 0x000000000041831f in main (argc=<optimized out>, argv=<optimized out>) at /build/knights-lEs0_N/knights-2.5.0/src/main.cpp:79

The reporter indicates this bug may be a duplicate of or related to bug 340554.

Possible duplicates by query: bug 340554.

Reported using DrKonqi
Comment 1 Alexander Semke 2017-09-09 16:45:04 UTC
Qt4 version of Knights is not maintained anymore. The new KF5 based version doesn't have this problem. Please give it a try.

I'm closing the ticket.