Bug 131564

Summary: yast segfaults on software management and system update
Product: [openSUSE] SUSE Linux 10.1 Reporter: Kay Sievers <kasievers>
Component: YaST2Assignee: Stanislav Visnovsky <visnov>
Status: RESOLVED DUPLICATE QA Contact: Klaus Kämpf <kkaempf>
Severity: Normal    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2log
hwinfo

Description Kay Sievers 2005-10-31 15:32:21 UTC
sbin/yast: line 207:  5768 Segmentation fault      $ybindir/y2base menu ncurses

Program received signal SIGSEGV, Segmentation fault.
0x415467aa in RepPtrStore<Regex_t, Regex_t>::_assign () from /usr/lib/YaST2/plugin/libpy2ag_ini.so.2


#0  0x415467aa in RepPtrStore<Regex_t, Regex_t>::_assign () from /usr/lib/YaST2/plugin/libpy2ag_ini.so.2
#1  0x41536e16 in Regex::~Regex () from /usr/lib/YaST2/plugin/libpy2ag_ini.so.2
#2  0x4172b37a in ProcPart::getMatchingEntries () from /usr/lib/liby2storage.so.2
#3  0x416943d2 in Disk::checkPartedOutput () from /usr/lib/liby2storage.so.2
#4  0x4169b4b7 in Disk::detectPartitions () from /usr/lib/liby2storage.so.2
#5  0x41647ddb in Storage::autodetectDisks () from /usr/lib/liby2storage.so.2
#6  0x4164c466 in Storage::detectDisks () from /usr/lib/liby2storage.so.2
#7  0x4164f0ce in Storage::detectObjects () from /usr/lib/liby2storage.so.2
#8  0x4164f5d4 in Storage::initialize () from /usr/lib/liby2storage.so.2
#9  0x41663b1e in Storage::getContainers () from /usr/lib/liby2storage.so.2
#10 0x41590228 in _wrap_StorageInterface_getContainers (my_perl=0x8a27490, cv=0x8bca1c4) at LibStorage_wrap.cc:9706
...
Comment 1 Kay Sievers 2005-10-31 15:33:13 UTC
Ah, it's the version in STABLE from the 30.Okt 2005.
Comment 2 Michael Gross 2005-10-31 15:51:18 UTC
Please also attach the yast-logfiles and describe the exact way (step by step) how this problem can be reduced.
Comment 3 Kay Sievers 2005-10-31 16:56:09 UTC
:) Not sure how it can be "reduced", but I hope we can do... :)

I started "yast" on the console and pressed "Software Management"
in the right column. Than it segfaults, same for "System Update".

/var/log/YaST2/y2log ends with:

2005-10-31 17:52:23,950 INFO  libstorage - Disk.cc(scanPartedLine):493 Fields Num:10 Start:6228 End:7295 Type:0
2005-10-31 17:52:23,950 INFO  libstorage - Disk.cc(scanPartedLine):494 TInfo:,ext3,type=83,
2005-10-31 17:52:23,950 INFO  libstorage - Disk.cc(scanPartedLine):599 Fields Num:10 Id:83 Ptype:2 Start:6228 Size:1068
2005-10-31 17:52:23,950 INFO  libstorage - Volume.cc(Volume):33 constructed volume /dev/sda10 on disk sda
2005-10-31 17:52:23,950 INFO  libstorage - Partition.cc(Partition):24 constructed partition /dev/sda10 on disk sda
2005-10-31 17:52:23,950 INFO  libstorage - Disk.cc(checkPartedOutput):652 /proc/partititons regex sdap?[0-9]+
Comment 4 Michael Gross 2005-10-31 17:22:14 UTC
Give more information about your system's configuration (attach [not: inline] the output of hwinfo) and the complete Yast2-logfile. Also: don't change the status from NEED to ASSI. Thanks.
Comment 5 Kay Sievers 2005-10-31 18:30:38 UTC
Created attachment 56027 [details]
y2log
Comment 6 Kay Sievers 2005-10-31 18:32:52 UTC
Created attachment 56028 [details]
hwinfo
Comment 7 Kay Sievers 2005-11-01 12:51:56 UTC
Replacing the single file:
  /usr/lib/YaST2/plugin/libpy2ag_ini.so.2

with the version from 10.0 makes it working again.
Comment 8 Klaus Kämpf 2005-11-02 08:24:56 UTC
might be related to bug #131530
Comment 9 Stanislav Visnovsky 2005-11-16 07:10:13 UTC
it is a duplicate.

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