Qube Manager shuts down when trying to run non-existing application in a qube

Qubes OS release

4.1

Brief summary

If you use Run command in qube and enter non-existing application (or make an error in its name), Qube Manager shuts down.

Steps to reproduce

Open Qube Manager, right click on any running VM, choose Run command in qube and enter test. If the VM is not running, it starts first, then Qube Manager shuts down.

Expected behavior

No action (as it was in 4.0) or error (probably hard to implement).

Actual behavior

Feb 16 14:35:47 dom0 systemd[1]: Started Process Core Dump (PID 15089/UID 0).
Feb 16 14:35:47 dom0 systemd-coredump[15092]: Process 15036 (qubes-qube-mana) of user 1000 dumped core.
                                              
                                              Stack trace of thread 15087:
                                              #0  0x000075c3c90127d5 raise (libc.so.6 + 0x3c7d5)
                                              #1  0x000075c3c8ffb895 abort (libc.so.6 + 0x25895)
                                              #2  0x000075c3c770ca7f _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x91a7f)
                                              #3  0x000075c3c7c53bf2 _Z15pyqt5_err_printv.cold (QtCore.so + 0xbdbf2)
                                              #4  0x000075c3c5301e47 sip_api_call_procedure_method (sip.so + 0xfe47)
                                              #5  0x000075c3c7d5a416 _ZN10sipQThread3runEv (QtCore.so + 0x1c4416)
                                              #6  0x000075c3c7741680 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xc6680)
                                              #7  0x000075c3c8c82432 start_thread (libpthread.so.0 + 0x9432)
                                              #8  0x000075c3c90d76d3 __clone (libc.so.6 + 0x1016d3)
                                              
                                              Stack trace of thread 15038:
                                              #0  0x000075c3c90cc86f __poll (libc.so.6 + 0xf686f)
                                              #1  0x000075c3c6ffcaae g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0x52aae)
                                              #2  0x000075c3c6ffcbe3 g_main_context_iteration (libglib-2.0.so.0 + 0x52be3)
                                              #3  0x000075c3c7921aa3 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2a6aa3)
                                              #4  0x000075c3c78d483b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x25983b)
                                              #5  0x000075c3c7740417 _ZN7QThread4execEv (libQt5Core.so.5 + 0xc5417)
                                              #6  0x000075c3c252751b _ZN22QDBusConnectionManager3runEv (libQt5DBus.so.5 + 0x1951b)
                                              #7  0x000075c3c7741680 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xc6680)
                                              #8  0x000075c3c8c82432 start_thread (libpthread.so.0 + 0x9432)
                                              #9  0x000075c3c90d76d3 __clone (libc.so.6 + 0x1016d3)
                                              
                                              Stack trace of thread 15039:
                                              #0  0x000075c3c8c88e92 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfe92)
                                              #1  0x000075c3baeb420b util_queue_thread_func (iris_dri.so + 0x49d20b)
                                              #2  0x000075c3baeb3ccb impl_thrd_routine (iris_dri.so + 0x49cccb)
                                              #3  0x000075c3c8c82432 start_thread (libpthread.so.0 + 0x9432)
                                              #4  0x000075c3c90d76d3 __clone (libc.so.6 + 0x1016d3)
                                              
                                              Stack trace of thread 15040:
                                              #0  0x000075c3c8c88e92 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfe92)
                                              #1  0x000075c3baeb420b util_queue_thread_func (iris_dri.so + 0x49d20b)
                                              #2  0x000075c3baeb3ccb impl_thrd_routine (iris_dri.so + 0x49cccb)
                                              #3  0x000075c3c8c82432 start_thread (libpthread.so.0 + 0x9432)
                                              #4  0x000075c3c90d76d3 __clone (libc.so.6 + 0x1016d3)
                                              
                                              Stack trace of thread 15041:
                                              #0  0x000075c3c8c88e92 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfe92)
                                              #1  0x000075c3baeb420b util_queue_thread_func (iris_dri.so + 0x49d20b)
                                              #2  0x000075c3baeb3ccb impl_thrd_routine (iris_dri.so + 0x49cccb)
                                              #3  0x000075c3c8c82432 start_thread (libpthread.so.0 + 0x9432)
                                              #4  0x000075c3c90d76d3 __clone (libc.so.6 + 0x1016d3)
                                              
                                              Stack trace of thread 15042:
                                              #0  0x000075c3c8c88e92 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfe92)
                                              #1  0x000075c3baeb420b util_queue_thread_func (iris_dri.so + 0x49d20b)
                                              #2  0x000075c3baeb3ccb impl_thrd_routine (iris_dri.so + 0x49cccb)
                                              #3  0x000075c3c8c82432 start_thread (libpthread.so.0 + 0x9432)
                                              #4  0x000075c3c90d76d3 __clone (libc.so.6 + 0x1016d3)
                                              
                                              Stack trace of thread 15036:
                                              #0  0x000075c3c90cc86f __poll (libc.so.6 + 0xf686f)
                                              #1  0x000075c3c6ffcaae g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0x52aae)
                                              #2  0x000075c3c6ffcbe3 g_main_context_iteration (libglib-2.0.so.0 + 0x52be3)
                                              #3  0x000075c3c7921aa3 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2a6aa3)
                                              #4  0x000075c3c78d483b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x25983b)
                                              #5  0x000075c3c78dc4c6 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2614c6)
                                              #6  0x000075c3c4e77c11 meth_QApplication_exec_ (QtWidgets.so + 0x17ec11)
                                              #7  0x000075c3c8dbef69 cfunction_call_varargs (libpython3.8.so.1.0 + 0x123f69)
                                              #8  0x000075c3c8daf2d1 _PyObject_MakeTpCall (libpython3.8.so.1.0 + 0x1142d1)
                                              #9  0x000075c3c8dac0ad _PyEval_EvalFrameDefault (libpython3.8.so.1.0 + 0x1110ad)
                                              #10 0x000075c3c8db4df7 function_code_fastcall (libpython3.8.so.1.0 + 0x119df7)
                                              #11 0x000075c3c8da6fff _PyEval_EvalFrameDefault (libpython3.8.so.1.0 + 0x10bfff)
                                              #12 0x000075c3c8da5d84 _PyEval_EvalCodeWithName (libpython3.8.so.1.0 + 0x10ad84)
                                              #13 0x000075c3c8db4aa3 _PyFunction_Vectorcall (libpython3.8.so.1.0 + 0x119aa3)
                                              #14 0x000075c3c8da6fff _PyEval_EvalFrameDefault (libpython3.8.so.1.0 + 0x10bfff)
                                              #15 0x000075c3c8db4df7 function_code_fastcall (libpython3.8.so.1.0 + 0x119df7)
                                              #16 0x000075c3c8dabc97 _PyEval_EvalFrameDefault (libpython3.8.so.1.0 + 0x110c97)
                                              #17 0x000075c3c8db4df7 function_code_fastcall (libpython3.8.so.1.0 + 0x119df7)
                                              #18 0x000075c3c8da6bf7 _PyEval_EvalFrameDefault (libpython3.8.so.1.0 + 0x10bbf7)
                                              #19 0x000075c3c8da56e4 _PyEval_EvalCodeWithName (libpython3.8.so.1.0 + 0x10a6e4)
                                              #20 0x000075c3c8e21ddd PyEval_EvalCodeEx (libpython3.8.so.1.0 + 0x186ddd)
                                              #21 0x000075c3c8e21d8f PyEval_EvalCode (libpython3.8.so.1.0 + 0x186d8f)
                                              #22 0x000075c3c8e432a8 run_eval_code_obj (libpython3.8.so.1.0 + 0x1a82a8)
                                              #23 0x000075c3c8e42533 run_mod (libpython3.8.so.1.0 + 0x1a7533)
                                              #24 0x000075c3c8d2bd18 pyrun_file (libpython3.8.so.1.0 + 0x90d18)
                                              #25 0x000075c3c8d2af91 PyRun_SimpleFileExFlags (libpython3.8.so.1.0 + 0x8ff91)
                                              #26 0x000075c3c8d22238 Py_RunMain.cold (libpython3.8.so.1.0 + 0x87238)
                                              #27 0x000075c3c8e1566d Py_BytesMain (libpython3.8.so.1.0 + 0x17a66d)
                                              #28 0x000075c3c8ffd082 __libc_start_main (libc.so.6 + 0x27082)
                                              #29 0x00005af8daba709e _start (python3.8 + 0x109e)
                                              
                                              Stack trace of thread 15037:
                                              #0  0x000075c3c90cc86f __poll (libc.so.6 + 0xf686f)
                                              #1  0x000075c3c3bf838a _xcb_conn_wait (libxcb.so.1 + 0xd38a)
                                              #2  0x000075c3c3bfa71a xcb_wait_for_event (libxcb.so.1 + 0xf71a)
                                              #3  0x000075c3c2646c68 _ZN14QXcbEventQueue3runEv (libQt5XcbQpa.so.5 + 0x64c68)
                                              #4  0x000075c3c7741680 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xc6680)
                                              #5  0x000075c3c8c82432 start_thread (libpthread.so.0 + 0x9432)
                                              #6  0x000075c3c90d76d3 __clone (libc.so.6 + 0x1016d3)
Feb 16 14:35:47 dom0 systemd[1]: systemd-coredump@2-15089-0.service: Succeeded.

1 Like

This is long lasting issue I’ve been facing with, so I can confirm this too. I can’t recall at the moment iif there are more cases, but it also happens in next case:

  • open any app, for instance terminal in dispxxx, anyhow.
  • open any other app in the same dispxxx via Run command in qube in Qube manager, for instance thunar
  • close terminal (firstly opened app).

Qube dispxxx will shut down as expected (recently introduced mechanism related to new app menu?), but it will crash Qube manager, too.

QM also doenst update the VM status under several conditions in 4.1.
For example if a VM fails to start due to PCI pass-through errors etc.
VM will remain active in QM until QM is restarted.

1 Like