G_application_run: assertion '!application->priv->must_quit_now' failed

Can someone tell me why this happens?

(process:9417): GLib-GIO-CRITICAL **: 12:36:03.446: g_application_run: assertion '!application->priv->must_quit_now' failed

The only way to solve is to reboot, but it happens again

Hi,

Which app? what version of GLib?

Looks like that:

  • either the application called g_application_quit() then tries to call g_application_run() again after, which is incorrect
  • or you hit some memory corruption

Hi,

It’s my application

pkg-config glib-2.0 --modversion
2.80.0

  • either the application called g_application_quit() then tries to call g_application_run() again after, which is incorrect
    Yes of course but this is not the case IMHO

  • or you hit some memory corruption
    Maybe, how can I check this ?

If you have GLibs debug symbols, you can try to set a watchpoint on must_quit_now with a debugger.

Or you could try to provide a minimal reproducer so we can have a look.

Ok the problem was case 1 :slight_smile:
Solved

Thank you all

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.