Results 1 to 8 of 8

Thread: Gtk-WARNING in terminal

  1. #1
    Join Date
    Feb 2009
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Post Gtk-WARNING in terminal

    Hello,
    i'm getting some weird error in terminal after i'm opening a text file with gedit, it's says:

    Code:
    (gedit:12429): Gtk-WARNING **: Invalid size in gtk-icon-sizes: 0,0
    than after i'm closing gedit, it's show me this:
    Code:
    (gedit:12429): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed
    
    (gedit:12429): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed
    
    (gedit:12429): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed
    anyway to fix this? i've tried reinsalling gedit but it didn't help...

    Thanks!
    Last edited by r5r4y; September 12th, 2009 at 10:28 AM.

  2. #2
    Join Date
    Dec 2005
    Location
    Western Australia
    Beans
    11,480
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Gtk-WARNING in terminal

    Linux programs don't tend to get corrupted on disk, so reinstalling them generally doesn't solve anything.

    The warnings you mention are perfectly normal and nothing to worry about, they've been a part of Gnome for at least as long as I've been using it.
    I try to treat the cause, not the symptom. I avoid the terminal in instructions, unless it's easier or necessary. My instructions will work within the Ubuntu system, instead of breaking or subverting it. Those are the three guarantees to the helpee.

  3. #3
    Join Date
    Feb 2009
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Gtk-WARNING in terminal

    hmm... part of gnome???
    strange, because when i did clean install 3 months ago, i didn't saw those errors...

  4. #4
    NoaHall is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Mar 2009
    Beans
    1,562
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Gtk-WARNING in terminal

    I wouldn't worry about them - it''s probably something to do with Theme conflicts, but generally, there's no way to fix, and there's no point in fixing.

  5. #5
    Join Date
    Feb 2009
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Gtk-WARNING in terminal

    Quote Originally Posted by NoaHall View Post
    I wouldn't worry about them - it''s probably something to do with Theme conflicts, but generally, there's no way to fix, and there's no point in fixing.
    hmm... Thanks, it's seems you guys are right, i've changed the theme to back to default human theme and the first error:

    Code:
    (gedit:12429): Gtk-WARNING **: Invalid size in gtk-icon-sizes: 0,0
    didn't apper... but the other two:

    Code:
    (gedit:6617): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed
    
    (gedit:6617): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed
    
    (gedit:6617): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed
    the numbers in the start changing everytime, perhaps those are really part of gnome...

  6. #6
    Join Date
    Mar 2006
    Beans
    20
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Gtk-WARNING in terminal

    These are both valid (if relatively unimportant) bugs.

    The first is failing to check the return value when it tries to get a specific icon(s) from the theme (list has size 0, but it's still trying to get icons out of it). The second is related to the destruction of widgets as the window is being torn down. The hierarchy of the window has been corrupted somehow, which is what you are seeing. You could try searching this on launchpad, as it probably should be fixed at some point (esp considering that window tear-down *could* lead to a segfault in nastier scenarios down the line)

    As for the first number, that is the process ID of the particular instance of gedit, which is why it changes.

    These are only "part of gnome" as much as gedit is owned by gnome. Otherwise, they're just bugs.

  7. #7
    Join Date
    Jul 2008
    Location
    Woodstock Cape Town RSA
    Beans
    1,030
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Gtk-WARNING in terminal

    It is 2011, I'm still sitting with exactly the same bug, is there any wonder that Ubuntu is slowing down, as relatively unimportant bugs, tie up processors and GPUs with important seconds of our time?

    GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed
    RIP?

  8. #8
    Join Date
    Dec 2008
    Location
    Chennai
    Beans
    2
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Gtk-WARNING in terminal

    In 2012 still part of gnome

    (<unknown>:2204): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •