Bug 974478 - gnome-boxes fails with Memory fault
Summary: gnome-boxes fails with Memory fault
Keywords:
Status: CLOSED DUPLICATE of bug 978727
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-boxes
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Christophe Fergeau
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-14 09:03 UTC by Persona non grata
Modified: 2017-11-28 12:18 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-08-29 09:23:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Persona non grata 2013-06-14 09:03:04 UTC
Description of problem:
gnome-boxes fails with Memory fault.


Version-Release number of selected component (if applicable):
gnome-boxes-3.6.3-1.fc18.x86_64

How reproducible:
Every time


Steps to Reproduce:
1. run gnome-boxes

Actual results:
$ gnome-boxes
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.

(gnome-boxes:7679): Gtk-WARNING **: Invalid icon size 0


(gnome-boxes:7679): Gtk-CRITICAL **: gtk_icon_info_load_icon: assertion `icon_info != NULL' failed

(gnome-boxes:7679): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(gnome-boxes:7679): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(gnome-boxes:7679): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(gnome-boxes:7679): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(gnome-boxes:7679): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
Memory fault
$ 


Expected results:
I guess it should work.

Comment 1 Christophe Fergeau 2013-06-19 13:06:02 UTC
(In reply to Milan Bartos from comment #0)
> Description of problem:
> gnome-boxes fails with Memory fault.
> 
> 
> Version-Release number of selected component (if applicable):
> gnome-boxes-3.6.3-1.fc18.x86_64
> 
> How reproducible:
> Every time
> 
> 
> Steps to Reproduce:
> 1. run gnome-boxes
> 
> Actual results:
> $ gnome-boxes
> GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will
> not be saved or shared with other applications.

This indicates that at least dconf is not installed on your system for some reason, which could mean the boxes package is missing some dependencies. The next warnings could be cause by such issues as well...



> 
> (gnome-boxes:7679): Gtk-WARNING **: Invalid icon size 0
> 
> 
> (gnome-boxes:7679): Gtk-CRITICAL **: gtk_icon_info_load_icon: assertion
> `icon_info != NULL' failed
> 
> (gnome-boxes:7679): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion
> `GDK_IS_PIXBUF (pixbuf)' failed
> 
> (gnome-boxes:7679): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion
> `GDK_IS_PIXBUF (pixbuf)' failed
> 
> (gnome-boxes:7679): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion
> `GDK_IS_PIXBUF (pixbuf)' failed
> 
> (gnome-boxes:7679): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride:
> assertion `GDK_IS_PIXBUF (pixbuf)' failed
> 
> (gnome-boxes:7679): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels:
> assertion `GDK_IS_PIXBUF (pixbuf)' failed
> Memory fault
> $ 
> 
> 
> Expected results:
> I guess it should work.

Comment 2 Persona non grata 2013-06-20 05:29:36 UTC
I've installed dconf and output changed a bit:

$ gnome-boxes 

(gnome-boxes:2319): Gtk-WARNING **: Invalid icon size 0


(gnome-boxes:2319): Gtk-CRITICAL **: gtk_icon_info_load_icon: assertion `icon_info != NULL' failed

(gnome-boxes:2319): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(gnome-boxes:2319): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(gnome-boxes:2319): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(gnome-boxes:2319): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(gnome-boxes:2319): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
Segmentation fault
$ 


> This indicates that at least dconf is not installed on your system for some reason
It's not in Requires. So if it's really necessary, I'll fill a bug for that.

Comment 3 Zeeshan Ali 2013-06-24 13:37:52 UTC
(In reply to Milan Bartos from comment #2)
> I've installed dconf and output changed a bit:
> 
> $ gnome-boxes 
> 
> (gnome-boxes:2319): Gtk-WARNING **: Invalid icon size 0
> 
> 
> (gnome-boxes:2319): Gtk-CRITICAL **: gtk_icon_info_load_icon: assertion
> `icon_info != NULL' failed
> 
> (gnome-boxes:2319): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion
> `GDK_IS_PIXBUF (pixbuf)' failed
> 
> (gnome-boxes:2319): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion
> `GDK_IS_PIXBUF (pixbuf)' failed
> 
> (gnome-boxes:2319): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion
> `GDK_IS_PIXBUF (pixbuf)' failed
> 
> (gnome-boxes:2319): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride:
> assertion `GDK_IS_PIXBUF (pixbuf)' failed
> 
> (gnome-boxes:2319): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels:
> assertion `GDK_IS_PIXBUF (pixbuf)' failed
> Segmentation fault
> $ 

My first guess would be that you are missing gnome-themes-standard. We should probably require that too. If not then please provide a backtrace for the first warning here. You'll need to run it as `G_DEBUG=fatal-warnings gdb gnome-boxes`.

> 
> > This indicates that at least dconf is not installed on your system for some reason
> It's not in Requires. So if it's really necessary, I'll fill a bug for that.

Yes, please.

Comment 4 Persona non grata 2013-06-27 06:12:17 UTC
It seems that installing gnome-themes-standard fixed it. I've filled bug to that: https://bugzilla.redhat.com/show_bug.cgi?id=978727

Comment 5 Persona non grata 2013-08-29 06:45:32 UTC
I think this bug can be closed as bug #978727 is fixed.

Comment 6 Christophe Fergeau 2013-08-29 09:23:50 UTC

*** This bug has been marked as a duplicate of bug 978727 ***

Comment 7 Jeroen 2017-11-28 12:18:28 UTC
This error appears if you have compiled `gdk-pixbuf` with dynamic modules at runtime, but it can't find a required loader where it expects to find it. It can happen if you statically linked gdk-pixbuf into your application but didn't ship the loader files.

Best solution is to recompile gdk-pixbuf with all loaders embedded into the library:

    ./configure --disable-modules --with-included-loaders=yes


Note You need to log in before you can comment on or make changes to this bug.