Bug 2277751

Summary: GdkPixbuf-WARNING: Error loading XPM image loader: Image type “xpm” is not supported
Product: [Fedora] Fedora Reporter: Cristian Ciupitu <cristian.ciupitu>
Component: vimAssignee: Benjamin Gilbert <bgilbert>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: andre.maute, bgilbert, carl, gchamoul, zdohnal
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: vim-9.1.571-3.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-27 22:42:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Cristian Ciupitu 2024-04-29 12:11:22 UTC
Description of problem:
When I start gvim it prints a lot of warnings & errors.

Version-Release number of selected component (if applicable):
vim-X11-9.1.354-1.fc40.x86_64

How reproducible:
Every time

Steps to Reproduce:
Just start gvim in a terminal

Actual results:
(gvim:119881): GdkPixbuf-WARNING **: 15:05:52.277: Error loading XPM image loader: Image type “xpm” is not supported

(gvim:119881): GdkPixbuf-WARNING **: 15:05:52.277: Error loading XPM image loader: Image type “xpm” is not supported

(gvim:119881): GdkPixbuf-WARNING **: 15:05:52.277: Error loading XPM image loader: Image type “xpm” is not supported

(gvim:119881): GLib-GObject-CRITICAL **: 15:05:52.277: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(gvim:119881): GLib-GObject-CRITICAL **: 15:05:52.277: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(gvim:119881): GLib-GObject-CRITICAL **: 15:05:52.277: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(gvim:119881): Gdk-CRITICAL **: 15:05:52.277: gdk_x11_window_set_icon_list: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(gvim:119881): GLib-GObject-CRITICAL **: 15:05:52.277: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(gvim:119881): GLib-GObject-CRITICAL **: 15:05:52.277: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(gvim:119881): GLib-GObject-CRITICAL **: 15:05:52.277: g_object_unref: assertion 'G_IS_OBJECT (object)' failed


Expected results:
No error messages

Additional info:
gtk3-3.24.41-1.fc40.x86_64
gdk-pixbuf2-2.42.11-1.fc40.x86_64
glib2-2.80.0-1.fc40.x86_64
libXpm-3.5.17-3.fc40.x86_64

Comment 1 Zdenek Dohnal 2024-07-08 12:39:43 UTC

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

Comment 2 Zdenek Dohnal 2024-07-08 12:41:04 UTC
It was caused by gdk-pixbuf2 rebase which did not build old types without announcement - the update was unpushed and the change is reverted afaik.

Comment 3 a3emdot 2024-07-08 18:41:42 UTC
(In reply to Zdenek Dohnal from comment #2)
> It was caused by gdk-pixbuf2 rebase which did not build old types without
> announcement - the update was unpushed and the change is reverted afaik.

FYI. it was unpushed only for Fedora 39 and Fedora 40 not for rawhide

Comment 4 Benjamin Gilbert 2024-07-26 06:44:14 UTC
On F41+ vim-X11 will need to add a dependency on gdk-pixbuf2-modules-extra; see https://src.fedoraproject.org/rpms/vim/pull-request/31.  Reopening.

Comment 5 Fedora Update System 2024-07-26 08:51:56 UTC
FEDORA-2024-011d208b2b (vim-9.1.571-3.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-011d208b2b

Comment 6 Fedora Update System 2024-07-26 10:45:31 UTC
FEDORA-2024-011d208b2b (vim-9.1.571-3.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Cristian Ciupitu 2024-07-27 22:33:46 UTC
It's still happening with:
vim-X11-9.1.571-1.fc40.x86_64
gdk-pixbuf2-2.42.11-1.fc40.x86_64
gdk-pixbuf2-modules-2.42.11-1.fc40.x86_64
gdk-pixbuf2-xlib-2.40.2-9.fc40.x86_64

Comment 8 Benjamin Gilbert 2024-07-27 22:42:29 UTC
gdk-pixbuf2-2.42.11-1.fc40 was only available from updates-testing, and was unpushed before it reached stable.  If you're affected by this problem in F39 or F40, the fix is to downgrade gdk-pixbuf2 and gdk-pixbuf2-modules to the current stable version.

Comment 9 Cristian Ciupitu 2024-07-28 19:13:28 UTC
For the record, I've downgraded to:
  gdk-pixbuf2-2.42.10-8.fc40.x86_64
  gdk-pixbuf2-modules-2.42.10-8.fc40.x86_64
and the problem is gone.

Comment 10 Zdenek Dohnal 2024-07-29 07:46:49 UTC
Thanks, Benjamin!