Bug 560499

Summary: [abrt] crash in icon_name_hash()
Product: [Fedora] Fedora Reporter: Rui Gouveia <rui.gouveia>
Component: gtk2Assignee: Matthias Clasen <mclasen>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dcbw, mclasen
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard: abrt_hash:375e05a498da26e298aaf4c67b9c4a45eae921cb
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-03 23:31:16 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:
Bug Depends On:    
Bug Blocks: 560496    
Attachments:
Description Flags
File: backtrace none

Description Rui Gouveia 2010-01-31 23:47:02 UTC
abrt 1.0.4 detected a crash.

architecture: i686
Attached file: backtrace
cmdline: nm-applet
component: NetworkManager
executable: /usr/bin/nm-applet
kernel: 2.6.31.5-127.fc12.i686
package: NetworkManager-gnome-1:0.7.997-2.git20091214.fc12
rating: 4
reason: Process was terminated by signal 8
release: Fedora release 12 (Constantine)

Comment 1 Rui Gouveia 2010-01-31 23:47:04 UTC
Created attachment 387916 [details]
File: backtrace

Comment 2 Dan Williams 2010-02-09 20:35:49 UTC
Program terminated with signal 8, Arithmetic exception.
#0  0x075dc644 in icon_name_hash (cache=<value optimized out>, 
    icon_name=<value optimized out>, directory_index=<value optimized out>)
    at gtkiconcache.c:212
        p = <value optimized out>
        h = 3009507036
#1  find_image_offset (cache=<value optimized out>, 
    icon_name=<value optimized out>, directory_index=<value optimized out>)
    at gtkiconcache.c:241
        chain_offset = <value optimized out>
        image_list_offset = <value optimized out>
        n_images = <value optimized out>
        i = <value optimized out>
#2  0x075dc8eb in _gtk_icon_cache_get_icon_flags (cache=0x8cb0b70, 
    icon_name=0x809165c "nm-no-connection", directory_index=92)
    at gtkiconcache.c:283


Note the arithmetic exception; that line roughly corresponds with:

for (p += 1; *p != '\0'; p++)
    h = (h << 5) - h + *p;

which doesn't look like it would ever cause a divide-by-zero, but Owen thought maybe a corrupt icon cache file caused n_buckets to be 0?

Comment 3 Matthias Clasen 2010-05-10 17:32:32 UTC
> Owen thought maybe a corrupt icon cache file caused n_buckets to be 0?    

Sounds likely

Comment 4 Michael Schwendt 2010-08-11 11:22:44 UTC
*** Bug 560502 has been marked as a duplicate of this bug. ***

Comment 5 Bug Zapper 2010-11-03 23:24:40 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 6 Bug Zapper 2010-12-03 23:31:16 UTC
Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.