Bug 446813

Summary: Assertion failures, occasional termination; regression from Fedora 8
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: glib2Assignee: Matthias Clasen <mclasen>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.16.3-7.fc9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-02 06:34:13 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:

Description Tim Waugh 2008-05-16 09:12:24 UTC
Description of problem:
This small program:

==>
#!/usr/bin/python
import gtk.gdk
gtk.gdk.threads_init()
a = gtk.FileChooserButton ('title')
<==

often gives assertion failures, and occasionally terminates abnormally.

The assertion failure output looks like this:

==>
test.py:4: Warning: IA__g_object_new_valist: object class `GThemedIcon' has no
property named `names'
  a = gtk.FileChooserButton ('title')

(test.py:8759): GLib-GIO-CRITICAL **: g_themed_icon_constructed: assertion
`themed->names != NULL && themed->names[0] != NULL' failed
<==

or sometimes like this:

==>
./test.py:4: Warning: IA__g_object_new_valist: object class `GThemedIcon' has no
property named `names'
  a = gtk.FileChooserButton ('title')

(test.py:8935): GLib-GIO-CRITICAL **: g_themed_icon_constructed: assertion
`themed->names != NULL && themed->names[0] != NULL' failed

(test.py:8935): GLib-GIO-CRITICAL **: g_themed_icon_constructed: assertion
`themed->names != NULL && themed->names[0] != NULL' failed

(test.py:8935): GLib-CRITICAL **: g_strv_length: assertion `str_array != NULL'
failed
<==

while the abort output looks like this:

==>

GLib-GObject-ERROR **: g_type_plugin_*() invalidly modified type `GThemedIcon'
aborting...
<==

This test case was distilled from system-config-printer, and this bug has the
effect of occasionally causing that program to occasionally abort.

Version-Release number of selected component (if applicable):
glib2-2.16.3-5.fc9.x86_64

How reproducible:
About 40% of the time.

Steps to Reproduce:
1. ./test.py
  
Actual results:
Assertions, errors, mayhem.

Expected results:
No output, normal exit.

Additional info:
Works fine in Fedora 8.

Comment 1 Fedora Update System 2008-06-17 03:31:22 UTC
glib2-2.16.3-6.fc9 has been submitted as an update for Fedora 9

Comment 2 Fedora Update System 2008-06-18 03:14:56 UTC
glib2-2.16.3-7.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update glib2'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-5422

Comment 3 Tim Waugh 2008-06-19 08:14:43 UTC
Fix verified.  Thanks!

Comment 4 Fedora Update System 2008-07-02 06:34:08 UTC
glib2-2.16.3-7.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.