Bug 374835

Summary: kinfocenter crashes under wayland session when selecting X-Server info
Product: [Applications] kinfocenter Reporter: Mustafa Muhammad <mustafa1024m>
Component: generalAssignee: David Hubner <hubn3rd>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.8.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mustafa Muhammad 2017-01-09 19:57:46 UTC
Application: kinfocenter (5.8.5)

Qt Version: 5.7.1
Frameworks Version: 5.29.0
Operating System: Linux 4.4.36-8-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
Under wayland session, I opened kinfocenter -> Graphical Information -> X-Server, and kinfocenter crashed, this happens everytime on multiple configurations (openSUSE Tumbleweed with 5.8.5 and latest git packages, I also remember seeing this on Fedora and Neon

The crash can be reproduced every time.

-- Backtrace:
Application: Info Center (kinfocenter), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fcff48628c0 (LWP 2117))]

Thread 2 (Thread 0x7fcfdefca700 (LWP 2118)):
#0  0x00007fcff12f166d in poll () from /lib64/libc.so.6
#1  0x00007fcfebaa5876 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fcfebaa598c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fcff1c1118b in QEventDispatcherGlib::processEvents (this=0x7fcfd80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fcff1bbaaea in QEventLoop::exec (this=this@entry=0x7fcfdefc9cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007fcff19e8813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007fcfefb35385 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007fcff19ed4c8 in QThreadPrivate::start (arg=0x7fcfefda6d20) at thread/qthread_unix.cpp:368
#8  0x00007fcfeda7d454 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fcff12fa37f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fcff48628c0 (LWP 2117)):
[KCrash Handler]
#6  0x00007fcfe2b36f49 in wl_map_insert_at (map=<optimized out>, flags=flags@entry=0, i=<optimized out>, data=<optimized out>) at src/wayland-util.c:249
#7  0x00007fcfe2b3316e in proxy_destroy (proxy=0x1d49630) at src/wayland-client.c:411
#8  wl_proxy_destroy (proxy=0x1d49630) at src/wayland-client.c:442
#9  0x00007fcfe1b7c415 in wl_registry_destroy (wl_registry=<optimized out>) at /usr/include/wayland/wayland-client-protocol.h:1065
#10 KWayland::Client::WaylandPointer<wl_registry, wl_registry_destroy>::release (this=0x1f617e0, this=0x1f617e0) at /usr/src/debug/kwayland-5.29.0/src/client/wayland_pointer_p.h:53
#11 KWayland::Client::Registry::release (this=this@entry=0x1f60a30) at /usr/src/debug/kwayland-5.29.0/src/client/registry.cpp:358
#12 0x00007fcfe1b7c43c in KWayland::Client::Registry::~Registry (this=0x1f60a30, __in_chrg=<optimized out>) at /usr/src/debug/kwayland-5.29.0/src/client/registry.cpp:353
#13 0x00007fcfe1b7c4d9 in KWayland::Client::Registry::~Registry (this=0x1f60a30, __in_chrg=<optimized out>) at /usr/src/debug/kwayland-5.29.0/src/client/registry.cpp:354
#14 0x00007fcff1be6f31 in QObjectPrivate::deleteChildren (this=this@entry=0x1f63b80) at kernel/qobject.cpp:1970
#15 0x00007fcff1bf02bf in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1041
#16 0x00007fcfd2a26df9 in WaylandModule::~WaylandModule (this=0x1b64f50, __in_chrg=<optimized out>) at /usr/src/debug/kinfocenter-5.8.5/Modules/base/info_wayland.cpp:48
#17 0x00007fcff1be6f31 in QObjectPrivate::deleteChildren (this=this@entry=0x1f2fd30) at kernel/qobject.cpp:1970
#18 0x00007fcff28edeeb in QWidget::~QWidget (this=0x1ca53a0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1694
#19 0x00007fcff2b65489 in QTreeWidget::~QTreeWidget (this=0x1ca53a0, __in_chrg=<optimized out>) at itemviews/qtreewidget.cpp:2559
#20 0x00007fcff1be6f31 in QObjectPrivate::deleteChildren (this=this@entry=0x1f17bd0) at kernel/qobject.cpp:1970
#21 0x00007fcff28edeeb in QWidget::~QWidget (this=0x1f61a60, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1694
#22 0x00007fcff2a3bc09 in QStackedWidget::~QStackedWidget (this=0x1f61a60, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:149
#23 0x00007fcff1be6f31 in QObjectPrivate::deleteChildren (this=this@entry=0x1bb4c00) at kernel/qobject.cpp:1970
#24 0x00007fcff28edeeb in QWidget::~QWidget (this=0x1b87bd0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1694
#25 0x00007fcff3cd53fd in KCModule::~KCModule (this=0x1b87bd0, __in_chrg=<optimized out>) at /usr/src/debug/kconfigwidgets-5.29.0/src/kcmodule.cpp:177
#26 0x00007fcfd2a20bde in KInfoListWidget::~KInfoListWidget (this=0x1b87bd0, __in_chrg=<optimized out>) at /usr/src/debug/kinfocenter-5.8.5/Modules/info/info.h:36
#27 KWaylandInfoWidget::~KWaylandInfoWidget (this=0x1b87bd0, __in_chrg=<optimized out>) at /usr/src/debug/kinfocenter-5.8.5/Modules/info/main.cpp:57
#28 KWaylandInfoWidget::~KWaylandInfoWidget (this=0x1b87bd0, __in_chrg=<optimized out>) at /usr/src/debug/kinfocenter-5.8.5/Modules/info/main.cpp:57
#29 0x00007fcff4466b54 in KCModuleProxy::deleteClient (this=this@entry=0x1c02840) at /usr/src/debug/kcmutils-5.29.0/src/kcmoduleproxy.cpp:217
#30 0x00007fcff4466bfc in KCModuleProxy::~KCModuleProxy (this=0x1c02840, __in_chrg=<optimized out>) at /usr/src/debug/kcmutils-5.29.0/src/kcmoduleproxy.cpp:208
#31 0x00007fcff4466db9 in KCModuleProxy::~KCModuleProxy (this=0x1c02840, __in_chrg=<optimized out>) at /usr/src/debug/kcmutils-5.29.0/src/kcmoduleproxy.cpp:212
#32 0x00007fcff1be6f31 in QObjectPrivate::deleteChildren (this=this@entry=0x1f1f420) at kernel/qobject.cpp:1970
#33 0x00007fcff28edeeb in QWidget::~QWidget (this=0x1bddf00, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1694
#34 0x00007fcff28ee1d9 in QWidget::~QWidget (this=0x1bddf00, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1714
#35 0x000000000041384f in KcmContainer::setContainerLayout (this=this@entry=0x1be02b0) at /usr/src/debug/kinfocenter-5.8.5/kcmcontainer.cpp:55
#36 0x0000000000413b69 in KcmContainer::setKcm (this=0x1be02b0, info=...) at /usr/src/debug/kinfocenter-5.8.5/kcmcontainer.cpp:79
#37 0x000000000041098e in KInfoCenter::setKcm (this=0x1af0c00, kcmItem=<optimized out>) at /usr/src/debug/kinfocenter-5.8.5/infocenter.cpp:205
#38 0x0000000000410a50 in KInfoCenter::itemClickedSlot (this=<optimized out>, item=<optimized out>) at /usr/src/debug/kinfocenter-5.8.5/infocenter.cpp:199
#39 0x0000000000417770 in KInfoCenter::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kinfocenter-5.8.5/build/kinfocenter_automoc.dir/moc_infocenter_KPKDYNXH5IL5DI.cpp:86
#40 0x00007fcff1be8709 in QMetaObject::activate (sender=0x1c8b9b0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdee06c630) at kernel/qobject.cpp:3740
#41 0x00007fcff1be9027 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x61cb40 <SidePanel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdee06c630) at kernel/qobject.cpp:3602
#42 0x000000000041752f in SidePanel::clicked (this=<optimized out>, _t1=<optimized out>, _t1@entry=0x7ffdee06c628) at /usr/src/debug/kinfocenter-5.8.5/build/kinfocenter_automoc.dir/moc_sidepanel_6D7EMQ2N5ULL4D.cpp:154
#43 0x0000000000412ef1 in SidePanel::clickedSlot (this=<optimized out>, index=...) at /usr/src/debug/kinfocenter-5.8.5/sidepanel.cpp:67
#44 0x0000000000417649 in SidePanel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kinfocenter-5.8.5/build/kinfocenter_automoc.dir/moc_sidepanel_6D7EMQ2N5ULL4D.cpp:94
#45 0x00007fcff1be8709 in QMetaObject::activate (sender=sender@entry=0x1c8b9b0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffdee06c7a0) at kernel/qobject.cpp:3740
#46 0x00007fcff1be9027 in QMetaObject::activate (sender=sender@entry=0x1c8b9b0, m=m@entry=0x7fcff2fa0e40 <QAbstractItemView::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffdee06c7a0) at kernel/qobject.cpp:3602
#47 0x00007fcff2af4625 in QAbstractItemView::clicked (this=this@entry=0x1c8b9b0, _t1=...) at .moc/moc_qabstractitemview.cpp:646
#48 0x00007fcff2af7bd3 in QAbstractItemView::mouseReleaseEvent (this=this@entry=0x1c8b9b0, event=event@entry=0x7ffdee06d000) at itemviews/qabstractitemview.cpp:1920
#49 0x00007fcff2b41d3b in QTreeView::mouseReleaseEvent (this=0x1c8b9b0, event=0x7ffdee06d000) at itemviews/qtreeview.cpp:1910
#50 0x00007fcff28f2588 in QWidget::event (this=this@entry=0x1c8b9b0, event=event@entry=0x7ffdee06d000) at kernel/qwidget.cpp:9161
#51 0x00007fcff29dacfe in QFrame::event (this=0x1c8b9b0, e=0x7ffdee06d000) at widgets/qframe.cpp:550
#52 0x00007fcff2b01a43 in QAbstractItemView::viewportEvent (this=this@entry=0x1c8b9b0, event=event@entry=0x7ffdee06d000) at itemviews/qabstractitemview.cpp:1747
#53 0x00007fcff2b414ac in QTreeView::viewportEvent (this=0x1c8b9b0, event=0x7ffdee06d000) at itemviews/qtreeview.cpp:1320
#54 0x00007fcff1bbc861 in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x1c6e220, event=event@entry=0x7ffdee06d000) at kernel/qcoreapplication.cpp:1099
#55 0x00007fcff28aae85 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x1c6e220, e=0x7ffdee06d000) at kernel/qapplication.cpp:3795
#56 0x00007fcff28b351d in QApplication::notify (this=<optimized out>, receiver=0x1c6e220, e=0x7ffdee06d000) at kernel/qapplication.cpp:3273
#57 0x00007fcff1bbcb00 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x1c6e220, event=event@entry=0x7ffdee06d000) at kernel/qcoreapplication.cpp:988
#58 0x00007fcff28b1bcd in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#59 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1c6e220, event=event@entry=0x7ffdee06d000, alienWidget=alienWidget@entry=0x1c6e220, nativeWidget=0x1af0c00, buttonDown=buttonDown@entry=0x7fcff2fb1830 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2771
#60 0x00007fcff290cc06 in QWidgetWindow::handleMouseEvent (this=this@entry=0x1c263b0, event=event@entry=0x7ffdee06d420) at kernel/qwidgetwindow.cpp:617
#61 0x00007fcff290f613 in QWidgetWindow::event (this=0x1c263b0, event=0x7ffdee06d420) at kernel/qwidgetwindow.cpp:239
#62 0x00007fcff28aaeac in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x1c263b0, e=0x7ffdee06d420) at kernel/qapplication.cpp:3799
#63 0x00007fcff28b2661 in QApplication::notify (this=0x7ffdee06d830, receiver=0x1c263b0, e=0x7ffdee06d420) at kernel/qapplication.cpp:3556
#64 0x00007fcff1bbcb00 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x1c263b0, event=event@entry=0x7ffdee06d420) at kernel/qcoreapplication.cpp:988
#65 0x00007fcff2109c43 in QCoreApplication::sendSpontaneousEvent (event=0x7ffdee06d420, receiver=0x1c263b0) at ../../src/corelib/kernel/qcoreapplication.h:234
#66 QGuiApplicationPrivate::processMouseEvent (e=0x1f48400) at kernel/qguiapplication.cpp:1903
#67 0x00007fcff210b7c5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x1f48400) at kernel/qguiapplication.cpp:1687
#68 0x00007fcff20e975b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:659
#69 0x00007fcfe3242390 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:76
#70 0x00007fcfebaa5677 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#71 0x00007fcfebaa58e0 in ?? () from /usr/lib64/libglib-2.0.so.0
#72 0x00007fcfebaa598c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#73 0x00007fcff1c1116f in QEventDispatcherGlib::processEvents (this=0x1a8aa10, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#74 0x00007fcff1bbaaea in QEventLoop::exec (this=this@entry=0x7ffdee06d7c0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#75 0x00007fcff1bc325c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#76 0x00007fcff210141c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1633
#77 0x00007fcff28aae05 in QApplication::exec () at kernel/qapplication.cpp:2975
#78 0x000000000040f9e4 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kinfocenter-5.8.5/main.cpp:74

Reported using DrKonqi
Comment 1 Christoph Feck 2017-01-10 00:41:20 UTC

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