Bug 637142

Summary: glade3 3.7.1 crashes loading complex GUI's
Product: [Fedora] Fedora Reporter: Sandro Mani <manisandro>
Component: glade3Assignee: Huzaifa S. Sidhpurwala <huzaifas>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: hiemanshu, huzaifas, rpandit
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-16 10:06:44 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
Example glade UI file none

Description Sandro Mani 2010-09-24 13:00:32 UTC
Created attachment 449409 [details]
Example glade UI file

Description of problem:
If a glade xml file reaches a certain complexity, the program can crash on subsequent attempts to open the file.

Version-Release number of selected component (if applicable):
glade3-3.7.1-2.fc14.x86_64

How reproducible:
Always

Steps to Reproduce:
1. See attached example
2.
3.
  
Actual results:
The program outputs messages about several failed assertions then segfaults, for example:
[...]
(glade-3:9673): GladeUI-CRITICAL **: glade_widget_get_children: assertion `GLADE_IS_WIDGET (widget)' failed

(glade-3:9673): GladeUI-CRITICAL **: glade_widget_get_from_gobject: assertion `G_IS_OBJECT (object)' failed
Segmentation fault (core dumped)


Expected results:
Should not crash

Additional info:
Not only does the program fail to open complex guis, but also GUI's saved with 3.7.1 display horribly in 3.6.7, since HBox is stored as VBox with property "Horizontal" in 3.7.1, but 3.6.7 displays it as a VBox nevertheless.
Possibly it would be a good idea to revert to 3.6.7 until the problem is fixed, as Ubuntu did.

Comment 1 Rakesh Pandit 2010-12-16 10:06:44 UTC
Thanks for your patience and for your report. Even though this was reported earlier, I will mark it as duplicate of Bz#646111 because I had been updating it there for some time.

Thanks,

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