Bug 2282034

Summary: [abrt] xsane: gtk_image_set_from_pixmap(): xsane killed by SIGSEGV
Product: [Fedora] Fedora Reporter: bf2006a
Component: xsaneAssignee: Nils Philippsen <nphilipp>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 40CC: bf2006a, bgilbert, jridky, nphilipp, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/8e5255c88d7ab8d6ff149d253b9cb5f0b419328
Whiteboard: abrt_hash:f6bfda39381f208f81aaf7b81f801ae728a1eaeb;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-21 10:50:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: maps
none
File: dso_list
none
File: os_info
none
File: environ
none
File: open_fds
none
File: mountinfo
none
File: exploitable
none
File: limits
none
File: backtrace
none
File: core_backtrace
none
File: cpuinfo
none
File: proc_pid_status
none
File: var_log_messages none

Description bf2006a 2024-05-20 22:22:43 UTC
Description of problem:
Xsane segfaults on launch with gdk-pixbuf2-2.42.11-1.fc40.x86_64 and gdk-pixbuf2-modules-2.42.11-1.fc40.x86_64,  when previously it had worked with version 2.42-10-8 of the aforementioned packages.  This seems to be related to: https://bugzilla.redhat.com/show_bug.cgi?id=2276464 . 

Version-Release number of selected component:
xsane-0.999-50.fc40

Additional info:
reporter:       libreport-2.17.15
backtrace_rating: 4
uid:            1000
package:        xsane-0.999-50.fc40
kernel:         6.8.10-300.fc40.x86_64
reason:         xsane killed by SIGSEGV
crash_function: gtk_image_set_from_pixmap
rootdir:        /
cmdline:        /usr/bin/xsane
executable:     /usr/bin/xsane
runlevel:       N 5
comment:        Xsane segfaults on launch with gdk-pixbuf2-2.42.11-1.fc40.x86_64 and gdk-pixbuf2-modules-2.42.11-1.fc40.x86_64,  when previously it had worked with version 2.42-10-8 of the aforementioned packages.  This seems to be related to: https://bugzilla.redhat.com/show_bug.cgi?id=2276464 . 
type:           CCpp
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-xsane-101338.scope
journald_cursor: s=5f2b941b75d24da5a572dd9d4a1667b5;i=250315e;b=f06bb9e0f1aa44f8803f9d6ae93f0c27;m=133183c471;t=618e8be8ac8a1;x=8d629f6b210bd98e

Truncated backtrace:
Thread no. 1 (4 frames)
 #0 gtk_image_set_from_pixmap at /usr/src/debug/gtk2-2.24.33-18.fc40.x86_64/gtk/gtkimage.c:858
 #1 gtk_image_new_from_pixmap at /usr/src/debug/gtk2-2.24.33-18.fc40.x86_64/gtk/gtkimage.c:606
 #2 xsane_init at ../../src/xsane.c:6046
 #3 xsane_interface at ../../src/xsane.c:6143

Comment 1 bf2006a 2024-05-20 22:22:46 UTC
Created attachment 2034191 [details]
File: maps

Comment 2 bf2006a 2024-05-20 22:22:48 UTC
Created attachment 2034192 [details]
File: dso_list

Comment 3 bf2006a 2024-05-20 22:22:49 UTC
Created attachment 2034193 [details]
File: os_info

Comment 4 bf2006a 2024-05-20 22:22:50 UTC
Created attachment 2034194 [details]
File: environ

Comment 5 bf2006a 2024-05-20 22:22:51 UTC
Created attachment 2034195 [details]
File: open_fds

Comment 6 bf2006a 2024-05-20 22:22:52 UTC
Created attachment 2034196 [details]
File: mountinfo

Comment 7 bf2006a 2024-05-20 22:22:53 UTC
Created attachment 2034197 [details]
File: exploitable

Comment 8 bf2006a 2024-05-20 22:22:55 UTC
Created attachment 2034198 [details]
File: limits

Comment 9 bf2006a 2024-05-20 22:22:56 UTC
Created attachment 2034199 [details]
File: backtrace

Comment 10 bf2006a 2024-05-20 22:22:57 UTC
Created attachment 2034200 [details]
File: core_backtrace

Comment 11 bf2006a 2024-05-20 22:22:58 UTC
Created attachment 2034201 [details]
File: cpuinfo

Comment 12 bf2006a 2024-05-20 22:22:59 UTC
Created attachment 2034202 [details]
File: proc_pid_status

Comment 13 bf2006a 2024-05-20 22:23:00 UTC
Created attachment 2034203 [details]
File: var_log_messages

Comment 14 Zdenek Dohnal 2024-05-21 10:50:12 UTC
Hi,

yes, it is connected to the #2276464 - disabled XPM caused this issue. Ben from the issue will bring gdk-pixbuf2-extras into Fedora to make it work even when gdk-pixbuf2 will disable the loaders permanently.

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

Comment 15 Benjamin Gilbert 2024-05-21 11:03:18 UTC
gdk-pixbuf2-2.42.11-1.fc40 was unpushed from updates-testing and never made it to stable.  For Fedora 40 the fix is to downgrade to gdk-pixbuf2-2.42.10-8.fc40.  The new package will only be necessary for Fedora 41+.