|
Bugzilla – Full Text Bug Listing |
| Summary: | yast tv crashes when searching kernel modules | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.2 | Reporter: | Heiko Schmidt <heiko.schmidt> |
| Component: | YaST2 | Assignee: | Martin Vidner <mvidner> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Critical | ||
| Priority: | P5 - None | CC: | lslezak, mantel, paul, tschmidt |
| Version: | RC 1 | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Beta-Customer | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
yast-log
y2logs |
||
|
Description
Heiko Schmidt
2006-11-29 22:46:10 UTC
Please attach your yast log files. http://en.opensuse.org/Bugs/YaST Thank you. Created attachment 108600 [details]
yast-log
I cannot reproduce it in the final version (RC5), yast displays list of the kernel modules correctly. Please, run 'Y2DEBUG=1 yast2 tv' command and attach yast logs again. Done, see attachment Output was: # Y2DEBUG=1 yast2 tv Segmentation fault at Tv.ycp:546 /sbin/yast2: line 274: 4944 Speicherzugriffsfehler $ybindir/y2base $module "$@" "$SELECTED_GUI" "$Y2_GEOMETRY" $Y2QT_ARGS Created attachment 108788 [details]
y2logs
Do not forget to assign the bug back when the requested information is provided. *** Bug 231854 has been marked as a duplicate of this bug. *** Note same error occurs during install when TV cards are autodetected, causing yast in install mode to crash out. Error is exactly the same as Heiko above. Upon restart yast steps back to the 'check for updates' stage. Strange! Further to previous comment - observing this behaviour in openSuSE 10.2 final release. Not apparant in 10.1 released version either. It seems that 80211.ko kernel module makes problems in yast.
Yast crashes in regexp call:
foreach(string regexp, regexps, {
if (regexpmatch(m, regexp))
because m is 80211 (integer, although declared as string!) -- it seems that either YCP interpreter or modinfo agent is broken.
Indeed, the modinfo agent has the classic bug of producing numbers out of strings that look like numbers. Fixed for 10.3 in yast2-core-2.15.3 and for SLE10 SP1 in yast2-core-2.13.35.
The fix is this:
--- /usr/lib/YaST2/servers_non_y2/ag_modinfo.orig 2006-08-22 10:27:46.000000000 +0200
+++ /usr/lib/YaST2/servers_non_y2/ag_modinfo 2007-01-22 10:47:20.000000000 +0100
@@ -43,7 +43,7 @@
push @list, $file;
}
}
- ycp::Return ( \@list );
+ ycp::Return ( \@list, 1 );
}
elsif ( ycpCommandIsRead )
{
*** Bug 287042 has been marked as a duplicate of this bug. *** |