Bug 391651 - [Wayland] Crash when I click "Choose" button
Summary: [Wayland] Crash when I click "Choose" button
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_fonts (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: wayland
: 395092 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-03-10 03:44 UTC by Patrick Silva
Modified: 2019-10-17 07:46 UTC (History)
4 users (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 Patrick Silva 2018-03-10 03:44:07 UTC
On neon dev unstable

Thread 3 (Thread 0x7fffd20b3700 (LWP 26897)):
#0  0x00007ffff3a2f74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffed6f538c in g_main_context_poll (priority=2147483647, n_fds=1, 
    fds=0x7fffcc003070, timeout=<optimized out>, context=0x7fffcc000990)
    at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:4135
#2  g_main_context_iterate (context=context@entry=0x7fffcc000990, 
    block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007fffed6f549c in g_main_context_iteration (context=0x7fffcc000990, 
    may_block=may_block@entry=1)
    at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007ffff43625af in QEventDispatcherGlib::processEvents (
    this=0x7fffcc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007ffff430964a in QEventLoop::exec (this=this@entry=0x7fffd20b2ce0, 
---Type <return> to continue, or q <return> to quit---
    flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007ffff4129554 in QThread::exec (this=this@entry=0xab7130)
    at thread/qthread.cpp:522
#7  0x00007ffff1c67a35 in QQmlThreadPrivate::run (this=0xab7130)
    at qml/ftw/qqmlthread.cpp:147
#8  0x00007ffff412e6eb in QThreadPrivate::start (arg=0xab7130)
    at thread/qthread_unix.cpp:376
#9  0x00007fffefc126ba in start_thread (arg=0x7fffd20b3700)
    at pthread_create.c:333
#10 0x00007ffff3a3b41d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fffe1ee1700 (LWP 26896)):
#0  0x00007ffff3a2f74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffed6f538c in g_main_context_poll (priority=2147483647, n_fds=2, 
---Type <return> to continue, or q <return> to quit---
    fds=0x7fffdc003220, timeout=<optimized out>, context=0x7fffdc000990)
    at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:4135
#2  g_main_context_iterate (context=context@entry=0x7fffdc000990, 
    block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007fffed6f549c in g_main_context_iteration (context=0x7fffdc000990, 
    may_block=may_block@entry=1)
    at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007ffff43625cb in QEventDispatcherGlib::processEvents (
    this=0x7fffdc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007ffff430964a in QEventLoop::exec (this=this@entry=0x7fffe1ee0cd0, 
    flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007ffff4129554 in QThread::exec (
    this=this@entry=0x7ffff5eb6d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:522
---Type <return> to continue, or q <return> to quit---
#7  0x00007ffff5c422c5 in QDBusConnectionManager::run (
    this=0x7ffff5eb6d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007ffff412e6eb in QThreadPrivate::start (
    arg=0x7ffff5eb6d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:376
#9  0x00007fffefc126ba in start_thread (arg=0x7fffe1ee1700)
    at pthread_create.c:333
#10 0x00007ffff3a3b41d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7ffff7f2a8c0 (LWP 26892)):
#0  QtWaylandClient::QWaylandWindow::shellSurface (this=this@entry=0x0)
    at qwaylandwindow.cpp:637
#1  0x00007fffe6c20700 in QtWaylandClient::closestShellSurfaceWindow (
---Type <return> to continue, or q <return> to quit---
    window=0xb066b0) at qwaylandwindow.cpp:799
#2  0x00007fffe6c20b1d in QtWaylandClient::QWaylandWindow::transientParent (
    this=0x54e41c0) at qwaylandwindow.cpp:811
#3  0x00007fffe6c2398b in QtWaylandClient::QWaylandWindow::initWindow (
    this=this@entry=0x54e41c0) at qwaylandwindow.cpp:154
#4  0x00007fffe6c23f6a in QtWaylandClient::QWaylandWindow::setVisible (
    this=this@entry=0x54e41c0, visible=<optimized out>)
    at qwaylandwindow.cpp:380
#5  0x00007fffd8f11594 in QtWaylandClient::QWaylandEglWindow::setVisible (
    this=0x54e41c0, visible=<optimized out>)
    at ../../../../hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp:160
#6  0x00007ffff4b431bc in QWindowPrivate::setVisible(bool) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#7  0x00007ffff531130c in QWidgetPrivate::show_sys() ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007ffff531a8cb in QWidgetPrivate::show_helper() ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007ffff531daad in QWidget::setVisible(bool) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007ffff54cdecd in QDialog::setVisible(bool) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007fffcb14898d in QFontDialogHelper::show (this=this@entry=0x346b860, 
    f=f@entry=..., m=Qt::WindowModal, parent=0xb066b0)
    at qquickqfontdialog.cpp:79
#12 0x00007fffcb141760 in QQuickAbstractDialog::setVisible (this=0xc026a0, 
    v=<optimized out>) at ../dialogs/qquickabstractdialog.cpp:93
#13 0x00007fffcb14921b in QQuickAbstractDialog::open (this=0xc026a0)
    at .moc/../../dialogs/qquickabstractdialog_p.h:123
#14 QQuickAbstractDialog::qt_static_metacall (_o=_o@entry=0xc026a0, 
---Type <return> to continue, or q <return> to quit---
    _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=7, 
    _a=_a@entry=0x7fffffffa690) at .moc/moc_qquickabstractdialog_p.cpp:259
#15 0x00007fffcb149560 in QQuickAbstractDialog::qt_metacall (
    this=this@entry=0xc026a0, _c=_c@entry=QMetaObject::InvokeMetaMethod, 
    _id=7, _a=_a@entry=0x7fffffffa690)
    at .moc/moc_qquickabstractdialog_p.cpp:389
#16 0x00007fffcb14c9f5 in QQuickAbstractFontDialog::qt_metacall (
    this=0xc026a0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, 
    _a=0x7fffffffa690) at .moc/moc_qquickabstractfontdialog_p.cpp:285
#17 0x00007ffff1bbcbdc in QQmlVMEMetaObject::metaCall (this=0xc029c0, 
    o=<optimized out>, c=QMetaObject::InvokeMetaMethod, _id=12, 
    a=0x7fffffffa690) at qml/qqmlvmemetaobject.cpp:978
#18 0x00007ffff1c19bf9 in QQmlObjectOrGadget::metacall (
    this=this@entry=0x7fffffffa9b0, 
    type=type@entry=QMetaObject::InvokeMetaMethod, index=index@entry=12, 
---Type <return> to continue, or q <return> to quit---
    argv=argv@entry=0x7fffffffa690) at qml/qqmlpropertycache.cpp:1732
#19 0x00007ffff1b97054 in CallMethod (object=..., index=12, returnType=43, 
    argCount=argCount@entry=0, argTypes=argTypes@entry=0x0, 
    engine=engine@entry=0xab7840, callArgs=0x7fffd10743a8, 
    callType=QMetaObject::InvokeMetaMethod)
    at jsruntime/qv4qobjectwrapper.cpp:1176
#20 0x00007ffff1b97cbe in CallPrecise (object=..., data=..., 
    engine=engine@entry=0xab7840, callArgs=callArgs@entry=0x7fffd10743a8, 
    callType=callType@entry=QMetaObject::InvokeMetaMethod)
    at jsruntime/qv4qobjectwrapper.cpp:1424
#21 0x00007ffff1b98ed0 in QV4::QObjectMethod::callInternal (
    this=<optimized out>, callData=0x7fffd10743a8, scope=...)
    at jsruntime/qv4qobjectwrapper.cpp:1966
#22 0x00007ffff1bb19de in QV4::Object::call (d=0x7fffd10743a8, scope=..., 
    this=<optimized out>) at jsruntime/qv4object_p.h:445
---Type <return> to continue, or q <return> to quit---
#23 QV4::Runtime::method_callProperty (engine=0xab7840, 
    nameIndex=<optimized out>, callData=0x7fffd10743a8)
    at jsruntime/qv4runtime.cpp:1104
#24 0x00007fffd018f745 in ?? ()
#25 0x0000000000b97a10 in ?? ()
#26 0x4008afb0ccc1f865 in ?? ()
#27 0xffff800000005401 in ?? ()
#28 0x0003400000000000 in ?? ()
#29 0x0000000000000000 in ?? ()
Comment 1 David Edmundson 2018-03-22 01:09:22 UTC
There are no version numbers here, but I can see QtWayland has changed a lot since this was reported.

closestShellSurfaceWindow has moved 200 lines

I think this is something I fixed. Please repoen if not
Comment 2 Patrick Silva 2018-03-22 01:16:27 UTC
I'm using Wayland session on neon dev unstable right now.
Stll crashing.
Comment 3 David Edmundson 2018-06-07 00:43:03 UTC
*** Bug 395092 has been marked as a duplicate of this bug. ***
Comment 4 Patrick Silva 2018-09-09 16:57:29 UTC
crash can not be reproduced in plasma 5.13.5, Arch Linux.
Comment 5 Méven Car 2019-10-17 07:46:32 UTC
I don't reproduce the issue with Plasma 5.17.

Closing.
Please reopen if needed.