Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1151122

Summary: gdk_pixbuf_new_from_stream_finish did not set GError when returning NULL
Product: Red Hat Enterprise Linux 7 Reporter: Shatadru Bandyopadhyay <sbandyop>
Component: gdk-pixbuf2Assignee: Debarshi Ray <debarshir>
Status: CLOSED CURRENTRELEASE QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: tpelka
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:e25c20095a002f4e98a25cb93e25b1cc1d7433b9
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-14 07:38:06 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: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description Shatadru Bandyopadhyay 2014-10-09 15:42:41 UTC
Version-Release number of selected component:
control-center-3.8.6-15.el7

Additional info:
reporter:       libreport-2.1.11
backtrace_rating: 4
cmdline:        gnome-control-center background
crash_function: picture_scaled
executable:     /usr/bin/gnome-control-center
kernel:         3.10.0-123.8.1.el7.x86_64
runlevel:       N 5
type:           CCpp
uid:            23304

Truncated backtrace:
Thread no. 1 (5 frames)
 #0 picture_scaled at bg-pictures-source.c:164
 #1 g_simple_async_result_complete at gsimpleasyncresult.c:777
 #2 complete_in_idle_cb_for_thread at gsimpleasyncresult.c:845
 #6 g_main_context_iteration at gmain.c:3766
 #7 g_application_run at gapplication.c:1623

Comment 1 Shatadru Bandyopadhyay 2014-10-09 15:42:45 UTC
Created attachment 945368 [details]
File: backtrace

Comment 2 Shatadru Bandyopadhyay 2014-10-09 15:42:46 UTC
Created attachment 945369 [details]
File: cgroup

Comment 3 Shatadru Bandyopadhyay 2014-10-09 15:42:49 UTC
Created attachment 945370 [details]
File: core_backtrace

Comment 4 Shatadru Bandyopadhyay 2014-10-09 15:42:51 UTC
Created attachment 945371 [details]
File: dso_list

Comment 5 Shatadru Bandyopadhyay 2014-10-09 15:42:53 UTC
Created attachment 945372 [details]
File: environ

Comment 6 Shatadru Bandyopadhyay 2014-10-09 15:42:54 UTC
Created attachment 945373 [details]
File: limits

Comment 7 Shatadru Bandyopadhyay 2014-10-09 15:42:57 UTC
Created attachment 945374 [details]
File: maps

Comment 8 Shatadru Bandyopadhyay 2014-10-09 15:42:59 UTC
Created attachment 945375 [details]
File: open_fds

Comment 9 Shatadru Bandyopadhyay 2014-10-09 15:43:01 UTC
Created attachment 945376 [details]
File: proc_pid_status

Comment 10 Shatadru Bandyopadhyay 2014-10-09 15:43:02 UTC
Created attachment 945377 [details]
File: var_log_messages

Comment 12 Shatadru Bandyopadhyay 2014-11-10 18:40:09 UTC
Another user experienced a similar problem:

Step to reproduce
~~~~
1. Open "Change Background" 
2. Click on the Background
3. Click on the "Pictures" Tab


reporter:       libreport-2.1.11
backtrace_rating: 4
cmdline:        gnome-control-center background
crash_function: picture_scaled
executable:     /usr/bin/gnome-control-center
kernel:         3.10.0-123.9.2.el7.x86_64
package:        control-center-3.8.6-15.el7
reason:         gnome-control-center killed by SIGSEGV
runlevel:       N 5
type:           CCpp
uid:            23304

Comment 14 Tomas Pelka 2015-05-14 07:38:06 UTC
Cant reproduce with control-center-3.14.4-2.el7

Comment 15 Debarshi Ray 2015-05-18 13:28:24 UTC
It crashed when trying to print a WARNING with an error message:

Core was generated by `gnome-control-center background'.
Program terminated with signal 11, Segmentation fault.
#0  0x000000000045bfa8 in picture_scaled (source_object=0x7f9e9400d920, res=<optimized out>, user_data=0x3ea6630) at bg-pictures-source.c:164
164	        g_warning ("Failed to load image: %s", error->message);


A closer look suggests that gdk_pixbuf_new_from_stream_finish encountered a failure, returned a NULL pointer but did not set the GError:

Thread 1 (Thread 0x7f9ece50ea40 (LWP 29475)):
#0  0x000000000045bfa8 in picture_scaled (source_object=0x7f9e9400d920, res=<optimized out>, user_data=0x3ea6630) at bg-pictures-source.c:164
        bg_source = <optimized out>
        item = <optimized out>
        error = 0x0
        pixbuf = 0x0
        software = <optimized out>
        uri = <optimized out>
        iter = {stamp = 0, user_data = 0x7f9ec77d8900 <g_source_callback_funcs>, user_data2 = 0x2566950, user_data3 = 0x7f9e8c001130}
        store = <optimized out>
#1  0x00007f9ec8432947 in g_simple_async_result_complete (simple=0x7f9e94002dd0) at gsimpleasyncresult.c:777
        current_source = 0x7f9e8c011ed0
        current_context = 0x0
        __PRETTY_FUNCTION__ = "g_simple_async_result_complete"
#2  0x00007f9ec84329c9 in complete_in_idle_cb_for_thread (_data=0x5625b70) at gsimpleasyncresult.c:845
        data = 0x5625b70
        simple = 0x7f9e94002dd0

Comment 16 Debarshi Ray 2015-05-18 13:29:49 UTC
Updating the summary and component for posterity.