Bug 299826

Summary: yast crashes
Product: [openSUSE] openSUSE 10.3 Reporter: Stephan Kulow <coolo>
Component: YaST2Assignee: Martin Vidner <mvidner>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Blocker    
Priority: P5 - None    
Version: Beta 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: gdb backtrace

Description Stephan Kulow 2007-08-13 15:16:09 UTC
Yast crashes after installing some packages. Generating 114M core
Comment 1 Stephan Kulow 2007-08-13 15:16:51 UTC
Created attachment 157107 [details]
gdb backtrace
Comment 2 Stephan Kulow 2007-08-13 15:53:44 UTC
there is nothing in the log beside installing packages and updating the progressmeter
Comment 3 Stephan Kulow 2007-08-13 16:14:11 UTC
Looking at the code (gdb wasn't helping) the endless recursion is obvious.

Suggested patch
 YCPValue
 Y2UINamespace::ChangeWidget( const YCPTerm & widget_id, const YCPTerm & property, const YCPValue & new_value )
 {
-    return ChangeWidget( widget_id, property, new_value );
+    return ChangeWidget( widget_id, (YCPTerm)property, new_value );
 }

I'm testing it right now
Comment 4 Stephan Kulow 2007-08-14 11:12:33 UTC
I changed the patch afterwards. Fixed?
Comment 5 Martin Vidner 2007-08-15 08:27:19 UTC
Thanks, I have merged the patch to SVN.