question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GLib-GObject-CRITICAL G_IS_VALUE

See original GitHub issue

Do the GLib-GObject crash? the error log just gets filled with this for 1000 of lines then all is fine

(sharp:4364): GLib-GObject-WARNING **: /tmp/buildd/glib2.0-2.33.12+really2.32.4/./gobject/gtype.c:4206: type id `0' is invalid

(sharp:4364): GLib-GObject-WARNING **: can't peek value table for type `<invalid>' which is not currently referenced

(sharp:4364): GLib-GObject-WARNING **: /tmp/buildd/glib2.0-2.33.12+really2.32.4/./gobject/gvalue.c:192: cannot initialize GValue with type `(null)', this t$

(sharp:4364): GLib-GObject-CRITICAL **: g_value_copy: assertion `G_IS_VALUE (src_value)' failed


(sharp:4364): GLib-GObject-WARNING **: /tmp/buildd/glib2.0-2.33.12+really2.32.4/./gobject/gtype.c:4206: type id `0' is invalid

(sharp:4364): GLib-GObject-WARNING **: can't peek value table for type `<invalid>' which is not currently referenced

(sharp:4364): GLib-GObject-WARNING **: /tmp/buildd/glib2.0-2.33.12+really2.32.4/./gobject/gvalue.c:192: cannot initialize GValue with type `(null)', this t$

(sharp:4364): GLib-GObject-CRITICAL **: g_value_copy: assertion `G_IS_VALUE (src_value)' failed

(sharp:4364): GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed


(sharp:4364): GLib-GObject-WARNING **: can't peek value table for type `<invalid>' which is not currently referenced

(sharp:4364): GLib-GObject-WARNING **: /tmp/buildd/glib2.0-2.33.12+really2.32.4/./gobject/gvalue.c:192: cannot initialize GValue with type `(null)', this t$

(sharp:4364): GLib-GObject-CRITICAL **: g_value_copy: assertion `G_IS_VALUE (src_value)' failed

(sharp:4364): GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed

(sharp:4364): GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed

(sharp:4364): GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed

(sharp:4364): GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed

(sharp:4364): GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed

(sharp:4364): GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed

(sharp:4364): GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:25 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
lovellcommented, Jun 12, 2017

Thanks, my money would be on node-sass, which depends on libsass which depends on glib.

If so, a couple of options are:

  1. ensure sharp is require’d before node-sass, or vice versa.
  2. use a global install of both libsass and libvips
0reactions
karlpatrickespiritucommented, Dec 18, 2017

Hi not using any node-sass. But getting this issue:

(sharp:1265): GLib-GObject-WARNING **: gtype.c:4273: type id '0' is invalid

(sharp:1265): GLib-GObject-WARNING **: can't peek value table for type '<invalid>' which is not currently referenced

(sharp:1265): GLib-GObject-WARNING **: gvalue.c:184: cannot initialize GValue with type '(null)', this type has no GTypeValueTable implementation

(sharp:1265): GLib-GObject-CRITICAL **: g_value_transform: assertion 'G_IS_VALUE (dest_value)' failed

Only getting this randomly. Most of the time the resizer works just fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

g_value_unset: assertion `G_IS_VALUE (value)' failed in vips ...
In vips 8.9, I get the following error, when saving to a GIF $ vips resize some.jpg lala.gif 1 (vips:8): GLib-GObject-CRITICAL ...
Read more >
GLib-GObject-CRITICAL **...: g_object_unref: assertion ...
On master, opening a . pat file prints the CRITICAL in the title. The problem is that g_object_unref () is wrongly called on...
Read more >
GLib-GObject-CRITICAL warnings - Stack Overflow
I found the problem. This code was ported from an original implementation in C, and I had a requirement before to use an...
Read more >
GLib-CRITICAL assert when I use spice-client-glib-2.0. (#148)
I am use spice-client-glib-2.0 for the first time, I want to coding a spice client by qt.but I refer to spciy's code implementation...
Read more >
1088895 – GLib-GObject-CRITICAL error messages when ...
NULL' failed g_value_get_long: assertion 'G_VALUE_HOLDS_LONG (value)' failed ... cimserver sometimes outputs GLib-GObject-CRITICAL error messages.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found