GNOME Bugzilla – Bug 682653
Critical warning about non-registered application
Last modified: 2012-09-13 07:49:53 UTC
I've started to get this in some ephy unit tests: (/home/xan/git/epiphany/build/tests/test-ephy-session:9865): GLib-GIO-CRITICAL **: g_application_list_actions: assertion `application->priv->is_registered' failed Program received signal SIGTRAP, Trace/breakpoint trap. 0x00007ffff5141bfd in g_logv (log_domain=0x7ffff53eb541 "GLib-GIO", log_level=G_LOG_LEVEL_CRITICAL, format=0x7ffff51c63ec "%s: assertion `%s' failed", args=0x7fffffffcec8) at gmessages.c:967 967 G_BREAKPOINT (); (gdb) bt
+ Trace 230734
Two things: - I believe the test is not doing anything particularly stupid. A GApplication is created, then a GtkApplicationWindow is created with that application as parameter. The test claims the app is not registered, but I haven't gone out of my way to not do that AFAICT. - In any case I *think* we did not change anything in ephy that could cause this, and that some change in GTK+/glib has triggered it. I'll try to bisect it.
Turns out the two failing tests (session and shell) were not registering the application explicitly. Doing that fixes them. They have been like that forever, so I assume something has changed somewhere in the stack that makes this fail now, but not sure what: bisecting glib and gtk+ didn't give me anything. So reassigning.
Fixed in git, closing.
There is now bug 683923 about this in GTK+.