After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 728413 - Crash under gtk_application_impl_dbus_inhibit()
Crash under gtk_application_impl_dbus_inhibit()
Status: RESOLVED DUPLICATE of bug 728140
Product: gtk+
Classification: Platform
Component: Class: GtkApplication
3.12.x
Other Linux
: Normal critical
: ---
Assigned To: gtkdev
gtkdev
: 730861 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-04-17 10:53 UTC by Milan Crha
Modified: 2014-05-30 16:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test.c (1.33 KB, text/plain)
2014-04-17 10:53 UTC, Milan Crha
Details

Description Milan Crha 2014-04-17 10:53:55 UTC
Created attachment 274591 [details]
test.c

I've just installed current Fedora rawhide, which includes

   gnome-shell-3.12.1-1.fc21.x86_64
   gtk3-3.12.1-1.fc21.x86_64
   glib2-2.40.0-1.fc21.x86_64

and when an application calls gtk_application_inhibit() the process spawns couple critical warnings on console:

> (test:3966): GLib-CRITICAL **: g_variant_get_type: assertion 'value != NULL'
> failed
>
> (test:3966): GLib-CRITICAL **: g_variant_type_is_subtype_of: assertion
> 'g_variant_type_check (type)' failed
>
> (test:3966): GLib-CRITICAL **: g_variant_get_type_string: assertion 'value
> != NULL' failed
> 
> (test:3966): GLib-ERROR **: g_variant_new: expected GVariant of type 'u'
> but received value has type '(null)'

which finally ends with a

> Program received signal SIGTRAP, Trace/breakpoint trap.

and below backtrace. The attached is a reproducer, compile params are at the first line of it.

  • #0 g_logv
    from /lib64/libglib-2.0.so.0
  • #1 g_log
    from /lib64/libglib-2.0.so.0
  • #2 g_variant_valist_new_nnp
    from /lib64/libglib-2.0.so.0
  • #3 g_variant_valist_new
    from /lib64/libglib-2.0.so.0
  • #4 g_variant_valist_new
    from /lib64/libglib-2.0.so.0
  • #5 g_variant_new_va
    from /lib64/libglib-2.0.so.0
  • #6 g_variant_new
    from /lib64/libglib-2.0.so.0
  • #7 gtk_application_impl_dbus_inhibit
  • #8 call_inhibit
    at test.c line 20
  • #9 g_timeout_dispatch
    from /lib64/libglib-2.0.so.0
  • #10 g_main_context_dispatch
    from /lib64/libglib-2.0.so.0
  • #11 g_main_context_iterate.isra
    from /lib64/libglib-2.0.so.0
  • #12 g_main_context_iteration
    from /lib64/libglib-2.0.so.0
  • #13 g_application_run
    from /lib64/libgio-2.0.so.0
  • #14 main
    at test.c line 53

Comment 1 Allison Karlitskaya (desrt) 2014-04-17 11:51:41 UTC
Likely dup of 728140 (which was caused by bug 728023).
Comment 2 Allison Karlitskaya (desrt) 2014-04-17 11:51:57 UTC
Bug 728140, sorry.
Comment 3 Milan Crha 2014-04-22 06:30:23 UTC
Downstream bug report from 3.12.1:
https://bugzilla.redhat.com/show_bug.cgi?id=1088899

It has one duplicate as well. It is with gtk3-3.12.1-1.fc21.x86_64.
Comment 4 Matthias Clasen 2014-04-22 23:43:30 UTC

*** This bug has been marked as a duplicate of bug 728140 ***
Comment 5 Milan Crha 2014-05-30 16:11:05 UTC
*** Bug 730861 has been marked as a duplicate of this bug. ***