Some Qt apps crash in mir_create_menu_window_spec (parent == NULL)

Bug #1701563 reported by Alan Griffiths
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
New
Undecided
Unassigned
mir (Ubuntu)
New
Undecided
Unassigned
Nominated for Artful by Alan Griffiths
qtubuntu (Ubuntu)
New
Undecided
Unassigned
Nominated for Artful by Alan Griffiths

Bug Description

$ sudo apt install miral-examples kate
$ miral-app
[in the app terminal] $ gdb kate

Expect: kate runs
Actual:

Thread 1 "kate" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
58 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff25da77f in __GI_raise (sig=sig@entry=6)
    at ../sysdeps/unix/sysv/linux/raise.c:58
#1 0x00007ffff25dc37a in __GI_abort () at abort.c:89
#2 0x00007fffe1463b78 in mir::require(bool) ()
    at ./src/include/common/mir/require.h:28
#3 0x00007fffe1463b78 in mir_create_menu_window_spec (connection=
    0x555555959f40, width=640, height=480, parent=0x0, rect=0x7fffffffcb90, edge=mir_edge_attachment_any) at ./src/client/mir_surface_api.cpp:79
#4 0x00007fffe1716f31 in ()
    at /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqpa-ubuntumirclient.so
#5 0x00007fffe17180eb in ()
    at /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqpa-ubuntumirclient.so
#6 0x00007fffe170506b in ()
    at /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqpa-ubuntumirclient.so
#7 0x00007ffff3f200c9 in QWindowPrivate::create(bool) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#8 0x00007ffff46e5585 in QWidgetPrivate::create_sys(unsigned long long, bool, bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9 0x00007ffff46e4d7d in QWidget::create(unsigned long long, bool, bool) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007ffff46e51e9 in QWidget::winId() const ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

New behavior on Artful: calling mir_create_menu_window_spec() with parent == nullptr

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: Qt apps crash in mir_create_menu_window_spec (parent == NULL)

Probably the same as bug 1671047 (and others I can't find right now).

summary: - On Artful Kate crashes when run on Mir
+ Qt apps crash in mir_create_menu_window_spec (parent == NULL)
summary: - Qt apps crash in mir_create_menu_window_spec (parent == NULL)
+ Some Qt apps crash in mir_create_menu_window_spec (parent == NULL)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.