Some Qt apps crash in mir_create_menu_window_spec (parent == NULL)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
New
|
Undecided
|
Unassigned | ||
mir (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
qtubuntu (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
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/
58 ../sysdeps/
(gdb) bt
#0 0x00007ffff25da77f in __GI_raise (sig=sig@entry=6)
at ../sysdeps/
#1 0x00007ffff25dc37a in __GI_abort () at abort.c:89
#2 0x00007fffe1463b78 in mir::require(bool) ()
at ./src/include/
#3 0x00007fffe1463b78 in mir_create_
0x555555959f40, width=640, height=480, parent=0x0, rect=0x7fffffff
#4 0x00007fffe1716f31 in ()
at /usr/lib/
#5 0x00007fffe17180eb in ()
at /usr/lib/
#6 0x00007fffe170506b in ()
at /usr/lib/
#7 0x00007ffff3f200c9 in QWindowPrivate:
at /usr/lib/
#8 0x00007ffff46e5585 in QWidgetPrivate:
#9 0x00007ffff46e4d7d in QWidget:
at /usr/lib/
#10 0x00007ffff46e51e9 in QWidget::winId() const ()
at /usr/lib/
New behavior on Artful: calling mir_create_ menu_window_ spec() with parent == nullptr