|
Bugzilla – Full Text Bug Listing |
| Summary: | yast2 dumps core | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.2 | Reporter: | Steffen Winterfeldt <snwint> |
| Component: | YaST2 | Assignee: | Ladislav Slezák <lslezak> |
| Status: | RESOLVED FIXED | QA Contact: | Stanislav Visnovsky <visnov> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | mvidner, suse-beta |
| Version: | Alpha 2 | ||
| Target Milestone: | --- | ||
| Hardware: | i386 | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | yast2 logs | ||
|
Description
Steffen Winterfeldt
2006-07-24 10:20:40 UTC
Created attachment 94294 [details]
yast2 logs
reassigned to Stano, but he is on vacation [Interpreter] Packages.ycp:653 Invalid cast of YCP value 'nil'! Should be but is not Integer! Pkg::SourceCreateBase returned nil, Pkg::SourceProvideFile did not cope with nil as source id. I don't know which of these (or both) should be fixed. The problem is in the file generated by generateYCPWrappers script. The generated code looks like this: return m_instance->CallbackStartProvide(m_param1->asString()); If m_param1 is nil the conversion to string causes abort(). I have a patch ready - the generated code now contains a nil test before conversion. (The other YCP types are checked in compile time.) Fixed in yast2-core-2.13.30 - there should be an error message in the log now, returned value is nil |