Bug 66431 - Segfault in gtk.glade.XML
Summary: Segfault in gtk.glade.XML
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: pygtk2
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Matt Wilson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 67217
TreeView+ depends on / blocked
 
Reported: 2002-06-10 15:05 UTC by Tim Waugh
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-06-22 03:38:09 UTC
Embargoed:


Attachments (Terms of Use)

Description Tim Waugh 2002-06-10 15:05:41 UTC
Description of Problem: 
Python programs using gtk.glade.XML crash on .glade files that should work. 
 
Version-Release number of selected component (if applicable): 
python-2.2.1-7 
glade2-1.1.0-3 
libglade2-1.99.12-4 
pygtk2-1.99.10-3 
 
How Reproducible: 
100% 
 
Steps to Reproduce: 
1. Start glade-2 
2. Project->New 
3. "New Gnome Project" 
4. From Palette, select 'Gnome' features 
5. Click on the 'Gnome Application Window' button 
6. Save with default file name. 
7. cd ~/Projects/project1 
8. python 
>>> import gtk.glade 
>>> gtk.glade.XML("project1.glade") 
 
Actual Results: 
 
(:14672): GLib-GObject-WARNING **: invalid cast from (NULL) pointer to 
`GObject' 
 
(:14672): GLib-GObject-CRITICAL **: file gobject.c: line 975 (g_object_get): 
assertion `G_IS_OBJECT (object)' failed 
Segmentation fault 
 
Expected Results: 
No segfault, just another prompt. 
 
Additional Information: 
This is holding up the printconf pygtk2 port.

Comment 1 Tim Waugh 2002-06-17 14:03:03 UTC
This seems to be fixed now, at a cursory test.


Note You need to log in before you can comment on or make changes to this bug.