Bug 384074 - knetwalk crashes when closing on wayland
Summary: knetwalk crashes when closing on wayland
Status: RESOLVED DUPLICATE of bug 381630
Alias: None
Product: knetwalk
Classification: Applications
Component: general (show other bugs)
Version: 3.3.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Ashwin Rajeev
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-08-27 13:22 UTC by Heiko Becker
Modified: 2017-09-04 14:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Becker 2017-08-27 13:22:00 UTC
Application: knetwalk (3.3.0)
 (Compiled from sources)
Qt Version: 5.9.1
Frameworks Version: 5.37.0
Operating System: Linux 4.12.8 x86_64
Distribution (Platform): Exherbo Packages

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

knetwalk repeatedly and reproducibly crashes when trying to close it.

Qt 5.9.1
Plasma from current master
Wayland-1.14.0

The crash can be reproduced every time.

-- Backtrace:
Application: KNetWalk (knetwalk), signal: Segmentation fault
Using host libthread_db library "/usr/x86_64-pc-linux-gnu/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f41209c0600 (LWP 19113))]

Thread 2 (Thread 0x7f410aff0700 (LWP 19114)):
#0  0x00007f411cb98d6d in read () from /usr/x86_64-pc-linux-gnu/lib/libc.so.6
#1  0x00007f4116b1a300 in g_wakeup_acknowledge () from /usr/x86_64-pc-linux-gnu/lib/libglib-2.0.so.0
#2  0x00007f4116ad7d1b in g_main_context_check () from /usr/x86_64-pc-linux-gnu/lib/libglib-2.0.so.0
#3  0x00007f4116ad8198 in g_main_context_iterate.isra () from /usr/x86_64-pc-linux-gnu/lib/libglib-2.0.so.0
#4  0x00007f4116ad82fc in g_main_context_iteration () from /usr/x86_64-pc-linux-gnu/lib/libglib-2.0.so.0
#5  0x00007f411d7bf0eb in QEventDispatcherGlib::processEvents (this=0x7f41040008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f411d767bda in QEventLoop::exec (this=this@entry=0x7f410afefda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007f411d597eba in QThread::exec (this=this@entry=0x7f411c32dd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:515
#8  0x00007f411c0bd415 in QDBusConnectionManager::run (this=0x7f411c32dd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#9  0x00007f411d59c88e in QThreadPrivate::start (arg=0x7f411c32dd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#10 0x00007f4118832457 in start_thread () from /usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#11 0x00007f411cba697f in clone () from /usr/x86_64-pc-linux-gnu/lib/libc.so.6

Thread 1 (Thread 0x7f41209c0600 (LWP 19113)):
[KCrash Handler]
#5  wl_proxy_create_wrapper (proxy=0x0) at src/wayland-client.c:2038
#6  0x00007f4102f78691 in dri2_wl_create_window_surface () from /usr/x86_64-pc-linux-gnu/lib/libEGL.so.1
#7  0x00007f4102f67767 in _eglCreateWindowSurfaceCommon () from /usr/x86_64-pc-linux-gnu/lib/libEGL.so.1
#8  0x00007f410319c825 in QtWaylandClient::QWaylandEglWindow::updateSurface (this=this@entry=0xf363766390, create=create@entry=true) at ../../../../hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp:141
#9  0x00007f410319ae6d in QtWaylandClient::QWaylandGLContext::makeCurrent (this=this@entry=0xf363880000, surface=<optimized out>) at ../../../../hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp:410
#10 0x00007f411dcffb2e in QOpenGLContext::makeCurrent (this=0xf3638637e0, surface=0xf363585680) at kernel/qopenglcontext.cpp:984
#11 0x00007f411e48a623 in deleteBackingStore (d=d@entry=0xf363321ec0) at kernel/qwidget.cpp:1875
#12 0x00007f411e492802 in QWidgetPrivate::deleteTLSysExtra (this=0xf363321ec0) at kernel/qwidget.cpp:1902
#13 0x00007f411e497258 in QWidget::destroy (this=this@entry=0xf363310550, destroyWindow=destroyWindow@entry=true, destroySubWindows=destroySubWindows@entry=true) at kernel/qwidget.cpp:12389
#14 0x00007f411e49e308 in QWidget::~QWidget (this=0xf363310550, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1702
#15 0x00007f412016ffce in KMainWindow::~KMainWindow (this=0xf363310550, __in_chrg=<optimized out>) at /var/tmp/paludis/build/kde-frameworks-kxmlgui-5.37.0/work/kxmlgui-5.37.0/src/kmainwindow.cpp:395
#16 0x000000f3614f5ca9 in MainWindow::~MainWindow() ()
#17 0x00007f411d7976b8 in QObject::event (this=this@entry=0xf363310550, e=e@entry=0xf3637d0e80) at kernel/qobject.cpp:1237
#18 0x00007f411e4a2a13 in QWidget::event (this=this@entry=0xf363310550, event=event@entry=0xf3637d0e80) at kernel/qwidget.cpp:9244
#19 0x00007f411e58930b in QMainWindow::event (this=this@entry=0xf363310550, event=event@entry=0xf3637d0e80) at widgets/qmainwindow.cpp:1557
#20 0x00007f41201721d7 in KMainWindow::event (this=this@entry=0xf363310550, ev=ev@entry=0xf3637d0e80) at /var/tmp/paludis/build/kde-frameworks-kxmlgui-5.37.0/work/kxmlgui-5.37.0/src/kmainwindow.cpp:867
#21 0x00007f41201b5985 in KXmlGuiWindow::event (this=0xf363310550, ev=0xf3637d0e80) at /var/tmp/paludis/build/kde-frameworks-kxmlgui-5.37.0/work/kxmlgui-5.37.0/src/kxmlguiwindow.cpp:119
#22 0x00007f411e46449c in QApplicationPrivate::notify_helper (this=this@entry=0xf36324e320, receiver=receiver@entry=0xf363310550, e=e@entry=0xf3637d0e80) at kernel/qapplication.cpp:3717
#23 0x00007f411e46b814 in QApplication::notify (this=0x7ffc9253fc40, receiver=0xf363310550, e=0xf3637d0e80) at kernel/qapplication.cpp:3476
#24 0x00007f411d7695a8 in QCoreApplication::notifyInternal2 (receiver=0xf363310550, event=event@entry=0xf3637d0e80) at kernel/qcoreapplication.cpp:1018
#25 0x00007f411d76bb85 in QCoreApplication::sendEvent (event=0xf3637d0e80, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xf36324cfa0) at kernel/qcoreapplication.cpp:1678
#27 0x00007f411d76c108 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1532
#28 0x00007f411d7bfa53 in postEventSourceDispatch (s=0xf3632d33b0) at kernel/qeventdispatcher_glib.cpp:276
#29 0x00007f4116ad8067 in g_main_context_dispatch () from /usr/x86_64-pc-linux-gnu/lib/libglib-2.0.so.0
#30 0x00007f4116ad8278 in g_main_context_iterate.isra () from /usr/x86_64-pc-linux-gnu/lib/libglib-2.0.so.0
#31 0x00007f4116ad82fc in g_main_context_iteration () from /usr/x86_64-pc-linux-gnu/lib/libglib-2.0.so.0
#32 0x00007f411d7bf0cf in QEventDispatcherGlib::processEvents (this=0xf3632d2720, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#33 0x00007f411d767bda in QEventLoop::exec (this=this@entry=0x7ffc9253fb60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#34 0x00007f411d770434 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1291
#35 0x000000f3614e4f6e in main ()

Reported using DrKonqi
Comment 1 Christoph Feck 2017-09-04 14:55:56 UTC

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