! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
(ristretto:11001): GLib-GObject-CRITICAL **: g_value_get_pointer: assertion `...
Status:
RESOLVED: FIXED
Product:
Ristretto
Component:
Application

Comments

Description Greg Sieranski 2008-03-21 20:36:39 CET
opening ristretto either by itself or with an image causes the following error to  be displayed:

(ristretto:11001): GLib-GObject-CRITICAL **: g_value_get_pointer: assertion `G_VALUE_HOLDS_POINTER (value)' failed
Comment 1 Greg Sieranski 2008-03-21 20:43:10 CET
Created attachment 1563 
image showing the error

Here is a screen shot showing the error when only the program is opened
Comment 2 Greg Sieranski 2008-03-21 20:43:43 CET
Created attachment 1564 
the error when opening an image

error when opening an image
Comment 3 Stephan Arts editbugs 2008-03-21 22:39:31 CET
This is a problem which is known to arise with fedora 8. (and ubuntu gutsy before it was officially released)

It had to do with glib/gtk or something. But I never found out what it is.

Could you get the compile-options and dependencies of your gtk and glib installations?
Comment 4 Greg Sieranski 2008-03-24 17:47:05 CET
$ pkg-config --libs gtk+-2.0
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  

$ pkg-config --cflags gtk+-2.0
-I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include

$ pkg-config --libs glib-2.0
-lglib-2.0 

$ pkg-config --cflags glib-2.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  
Comment 5 Stephan Arts editbugs 2008-03-24 22:06:47 CET
Hmm, are you running ristretto on a 64-bit system?

That's some interesting new information.
Comment 6 Greg Sieranski 2008-03-25 12:52:19 CET
Under hardware I have it as x86_64. Here are the machine specs:

$ cat cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 CPU         T7600  @ 2.33GHz
stepping        : 6
cpu MHz         : 2327.502
cache size      : 4096 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips        : 4659.87
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 CPU         T7600  @ 2.33GHz
stepping        : 6
cpu MHz         : 2327.502
cache size      : 4096 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips        : 4654.85
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:


Comment 7 Stephan Arts editbugs 2008-03-25 13:39:34 CET
Are you in the position to test the exact same thing on a 32-bit system.
Comment 8 Greg Sieranski 2008-03-25 14:50:11 CET
The only 32bit machine I have access to is using gnome not xfce. I could compile it on that system if you would like. 
Comment 9 Stephan Arts editbugs 2008-03-25 15:10:23 CET
(In reply to comment #8)
> The only 32bit machine I have access to is using gnome not xfce. I could
> compile it on that system if you would like. 
> 

Please,

I expect that the bug resides inside 64-bit glib. (eg, a problem which has been partially fixed upstream)
But I am not sure, so I hope you can give me some confirmation about that.
Comment 10 Greg Sieranski 2008-03-26 20:43:13 CET
I get the same error on a 32-bit machine using Fedora 8 under gnome:

/usr/lib/pkgconfig$ pkg-config --cflags glib-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
/usr/lib/pkgconfig$ pkg-config --libs glib-2.0
-lglib-2.0  
/usr/lib/pkgconfig$ pkg-config --cflags gtk+-2.0
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
/usr/lib/pkgconfig$ pkg-config --libs gtk+-2.0
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0

/usr/lib/pkgconfig$ rpm -q glib2-devel
glib2-devel-2.14.6-1.fc8
/usr/lib/pkgconfig$ rpm -q gtk2-devel
gtk2-devel-2.12.5-1.fc8
Comment 11 Stephan Arts editbugs 2008-11-17 21:59:46 CET
fixed a long time ago.

Bug #3956

Reported by:
Greg Sieranski
Reported on: 2008-03-21
Last modified on: 2009-07-14

People

Assignee:
Stephan Arts
CC List:
0 users

Version

Version:
unspecified

Attachments

image showing the error (24.87 KB, image/png)
2008-03-21 20:43 CET , Greg Sieranski
no flags
the error when opening an image (27.93 KB, image/png)
2008-03-21 20:43 CET , Greg Sieranski
no flags

Additional information