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 737864 - GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' fa...
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
3.14.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-10-03 21:54 UTC by Paul Menzel
Modified: 2014-10-19 14:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paul Menzel 2014-10-03 21:54:40 UTC
Using Debian Sid/unstable with Evince 3.14.0, opening a PDF file the following is printed to the terminal.

    (evince:17251): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

Using `G_DEBUG=fatal-warnings`, GDB stops at and the backtrace below is obtained.

    Program received signal SIGTRAP, Trace/breakpoint trap.
    g_logv (log_domain=0xb711f956 "GLib-GObject", log_level=G_LOG_LEVEL_CRITICAL, format=0x0, args=0x0)
        at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./glib/gmessages.c:1046
    1046	/build/glib2.0-BmD7JP/glib2.0-2.42.0/./glib/gmessages.c: Datei oder Verzeichnis nicht gefunden.
    (gdb) set logging true /tmp/20141003--evince--t-a-a-bt-f.txt

Thread 1 (Thread 0xb651d880 (LWP 18101))

  • #0 g_logv
    at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./glib/gmessages.c line 1046
  • #1 g_log
    at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./glib/gmessages.c line 1079
  • #2 g_return_if_fail_warning
  • #3 g_object_unref
    at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./gobject/gobject.c line 3068
  • #4 ev_window_update_links_model
    at /build/evince-xXhHZk/evince-3.14.0/./shell/ev-window.c line 4031
  • #5 ev_window_run_fullscreen
    at /build/evince-xXhHZk/evince-3.14.0/./shell/ev-window.c line 4153
  • #6 setup_model_from_metadata
    at /build/evince-xXhHZk/evince-3.14.0/./shell/ev-window.c line 1227
  • #7 ev_window_open_uri
  • #8 ev_application_open_uri_in_window
    at /build/evince-xXhHZk/evince-3.14.0/./shell/ev-application.c line 568
  • #9 _ev_application_open_uri_at_dest
    at /build/evince-xXhHZk/evince-3.14.0/./shell/ev-application.c line 603
  • #10 on_register_uri_cb
    at /build/evince-xXhHZk/evince-3.14.0/./shell/ev-application.c line 370
  • #11 g_simple_async_result_complete
    at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./gio/gsimpleasyncresult.c line 763
  • #12 g_dbus_connection_call_done
    at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./gio/gdbusconnection.c line 5508
  • #13 g_simple_async_result_complete
    at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./gio/gsimpleasyncresult.c line 763
  • #14 complete_in_idle_cb
    at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./gio/gsimpleasyncresult.c line 775
  • #15 g_idle_dispatch
    at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./glib/gmain.c line 5367
  • #16 g_main_dispatch
    at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./glib/gmain.c line 3111
  • #17 g_main_context_dispatch
    at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./glib/gmain.c line 3710
  • #18 g_main_context_iterate
    at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./glib/gmain.c line 3781
  • #19 g_main_context_iteration
    at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./glib/gmain.c line 3842
  • #20 g_application_run
    at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./gio/gapplication.c line 2282
  • #21 main
    at /build/evince-xXhHZk/evince-3.14.0/./shell/main.c line 316

Comment 1 José Aliste 2014-10-04 12:30:53 UTC
This happens when we open the file directly to fullscreen, for instance, by running evince -f file.pdf
Comment 2 Carlos Garcia Campos 2014-10-19 14:06:08 UTC
Thanks for the bug report, I've just pushed a fix to git master.