Bug 346872

Summary: installation crashes on PPC
Product: [openSUSE] openSUSE 11.0 Reporter: peter czanik <peter>
Component: InstallationAssignee: Michael Andres <ma>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Blocker    
Priority: P5 - None CC: bugproxy, harbaugh, locilka, mohd.omar
Version: Alpha 2   
Target Milestone: ---   
Hardware: PowerPC   
OS: Other   
URL: http://
See Also: https://bugzilla.linux.ibm.com/show_bug.cgi?id=41196
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: yast2 logs
yast2 got signall 11

Description peter czanik 2007-12-07 17:59:57 UTC
Created attachment 186455 [details]
yast2 logs

Tested on two different PPC machines, installation (yast2 with sig11) crashes soon after license is accepted. YaST2 logs attached.
Comment 1 peter czanik 2007-12-07 18:01:12 UTC
Forgot to mention, it is factory synced this morning (=alpha0).
Comment 2 Lukas Ocilka 2007-12-10 10:51:11 UTC
clients/inst_system_analysis.ycp:490 Pkg Builtin called: TargetFinish
PkgModuleFunctions.cc(zypp_ptr):260 Initializing Zypp library...
...
[liby2] genericfrontend.cc(signal_handler):60 got signal 11 at YCP file /mounts/instsys/usr/share/YaST2/clients/inst_system_analysis.ycp:490

In my opinion, it was caused by zypp.
Comment 3 Cyril Hrubis 2007-12-10 16:26:59 UTC
*** Bug 346818 has been marked as a duplicate of this bug. ***
Comment 4 Toni Harbaugh-Blackford 2007-12-15 20:57:29 UTC
Since my bug (346818) was closed, I will enter the stack trace from the
core dump in that bug here.  The segfault occurred in memcmp():

inst-sys:/ # gdb /usr/lib/YaST2/bin/y2base core
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "ppc-suse-linux"...
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /mounts/instsys/usr/lib/YaST2/plugin/libpy2wfm.so.2...(no debugging symbols found)...done.
.
.
.
Reading symbols from /mounts/instsys/usr/lib/YaST2/plugin/libpy2ag_anyagent.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/YaST2/plugin/libpy2ag_anyagent.so.2

(no debugging symbols found)
Core was generated by `y2base installation ("initial") ncurses --nothreads'.
Program terminated with signal 11, Segmentation fault.
#0  0x0f6088b0 in memcmp () from /lib/libc.so.6
(gdb) bt
#0  0x0f6088b0 in memcmp () from /lib/libc.so.6
#1  0x0ee6d194 in zypp::Locale::code () from /usr/lib/libzypp.so.401
#2  0x0ee4a694 in zypp::zypp_detail::defaultTextLocale () from /usr/lib/libzypp.so.401
#3  0x0ee492e0 in zypp::zypp_detail::ZYppImpl::ZYppImpl () from /usr/lib/libzypp.so.401
#4  0x0eeb6630 in zypp::ZYppFactory::getZYpp () from /usr/lib/libzypp.so.401
#5  0x0ede0714 in zypp::getZYpp () from /usr/lib/libzypp.so.401
#6  0x0dcb9af0 in PkgModuleFunctions::zypp_ptr () from /usr/lib/YaST2/plugin/libpy2Pkg.so.2
#7  0x0dd062c0 in PkgModuleFunctions::TargetFinish () from /usr/lib/YaST2/plugin/libpy2Pkg.so.2
#8  0x0dcbec3c in Y2PkgFunction::evaluateCall () from /usr/lib/YaST2/plugin/libpy2Pkg.so.2
#9  0x0fd38a5c in YEFunction::evaluate () from /usr/lib/libycp.so.3
#10 0x0fd4918c in YSExpression::evaluate () from /usr/lib/libycp.so.3
#11 0x0fd6e748 in YBlock::evaluate () from /usr/lib/libycp.so.3
#12 0x0fd1d860 in YCPCodeRep::evaluate () from /usr/lib/libycp.so.3
#13 0x0ffcc980 in Y2WFMComponent::doActualWork () from /usr/lib/YaST2/plugin/libpy2wfm.so.2
#14 0x0ffcda40 in Y2WFMComponent::CallFunction () from /usr/lib/YaST2/plugin/libpy2wfm.so.2
#15 0x0ffd2710 in ?? () from /usr/lib/YaST2/plugin/libpy2wfm.so.2
#16 0x0fd35fc0 in YEBuiltin::evaluate () from /usr/lib/libycp.so.3
#17 0x0fd26010 in YEPropagate::evaluate () from /usr/lib/libycp.so.3
#18 0x0fd495ac in YSAssign::evaluate () from /usr/lib/libycp.so.3
#19 0x0fd6e748 in YBlock::evaluate () from /usr/lib/libycp.so.3
#20 0x0fd48de0 in YSBlock::evaluate () from /usr/lib/libycp.so.3
#21 0x0fd5b1f4 in YSWhile::evaluate () from /usr/lib/libycp.so.3
#22 0x0fd6e748 in YBlock::evaluate () from /usr/lib/libycp.so.3
#23 0x0fd36ed4 in Y2YCPFunction::evaluateCall () from /usr/lib/libycp.so.3
#24 0x0fd38a5c in YEFunction::evaluate () from /usr/lib/libycp.so.3
#25 0x0fd495ac in YSAssign::evaluate () from /usr/lib/libycp.so.3
#26 0x0fd6e748 in YBlock::evaluate () from /usr/lib/libycp.so.3
#27 0x0fd36ed4 in Y2YCPFunction::evaluateCall () from /usr/lib/libycp.so.3
#28 0x0fd38a5c in YEFunction::evaluate () from /usr/lib/libycp.so.3
#29 0x0fd495ac in YSAssign::evaluate () from /usr/lib/libycp.so.3
#30 0x0fd6e748 in YBlock::evaluate () from /usr/lib/libycp.so.3
#31 0x0fd1d860 in YCPCodeRep::evaluate () from /usr/lib/libycp.so.3
#32 0x0ffcc980 in Y2WFMComponent::doActualWork () from /usr/lib/YaST2/plugin/libpy2wfm.so.2
#33 0x0ffcda40 in Y2WFMComponent::CallFunction () from /usr/lib/YaST2/plugin/libpy2wfm.so.2
#34 0x0ffd2710 in ?? () from /usr/lib/YaST2/plugin/libpy2wfm.so.2
#35 0x0fd35fc0 in YEBuiltin::evaluate () from /usr/lib/libycp.so.3
#36 0x0fd495ac in YSAssign::evaluate () from /usr/lib/libycp.so.3
#37 0x0fd6e748 in YBlock::evaluate () from /usr/lib/libycp.so.3
#38 0x0fd48de0 in YSBlock::evaluate () from /usr/lib/libycp.so.3
#39 0x0fd5b78c in YSIf::evaluate () from /usr/lib/libycp.so.3
#40 0x0fd6e748 in YBlock::evaluate () from /usr/lib/libycp.so.3
#41 0x0fd1d860 in YCPCodeRep::evaluate () from /usr/lib/libycp.so.3
#42 0x0ffcc980 in Y2WFMComponent::doActualWork () from /usr/lib/YaST2/plugin/libpy2wfm.so.2
#43 0x0fc90600 in main () from /usr/lib/liby2.so.2
#44 0x0f5a4fd8 in ?? () from /lib/libc.so.6
#45 0x0f5a51fc in __libc_start_main () from /lib/libc.so.6
#46 0x00000000 in ?? ()
Comment 5 omar mohammed 2007-12-17 08:37:14 UTC
Created attachment 187813 [details]
yast2 got signall 11

I have got the same error while Installation on P5 , attaching the screenshot.

--Regards Omar
Comment 6 Lukas Ocilka 2007-12-17 08:44:45 UTC
As I can see on the screen~shot, YaST crashed at line 490, in client inst_system_analysis.ycp see comment #2.
Comment 9 Michael Andres 2007-12-17 13:24:38 UTC
Fixed defaultTextLocale so it does not access any (not yet initialized) static variables. 

Fixed in libzypp-4.1.6

Comment 11 omar mohammed 2007-12-18 05:52:04 UTC
Hi Michal ,

             Can I get a patch for my NFS repo?

--Regards Omar
Comment 12 Toni Harbaugh-Blackford 2007-12-25 02:49:54 UTC
Do you have some idea when the installation images will be updated to include
the new libzypp?  libzypp-4.1.6 finally made it to the rsync sites on 12/22/07,
but the installation images are still stuck at 12/17/07 versions.
Comment 13 LTC BugProxy 2008-01-21 12:41:14 UTC
------- Comment From mohd.omar@in.ibm.com 2008-01-21 07:36 EDT-------
Hi Novell,

I want to know whether this issue got resolved in Alpha1? bcoz, I have
blocker issue for Alpha1 too. Which might not be related to this problem.But
here also Yast crashes. Will update with bug no.s as soon as mirroring will
finish up.

--Regards
Omar
Comment 14 LTC BugProxy 2008-01-23 05:49:11 UTC
------- Comment From mohd.omar@in.ibm.com 2008-01-23 00:46 EDT-------

>Does Alpha1 have libzypp-4.1.6?  Sorry, I don't have the isos but if it does...
libzypp-4.1.8-3.ppc.rpm present in Alpha1 DVD ISO. But installable image should
build up with this package.Isn't so?

I faced some other issues with Alpha1...
https://bugzilla.novell.com/show_bug.cgi?id=355123
https://bugzilla.novell.com/show_bug.cgi?id=355120

--Regards
Omar
Comment 15 Michael Andres 2008-01-23 09:52:03 UTC
Yes. (the other issues are unrelated to this bug)
Comment 16 LTC BugProxy 2008-02-13 15:10:10 UTC
------- Comment From mohd.omar@in.ibm.com 2008-02-13 10:03 EDT-------
I am able to install openSUSE-11.0-Alpha2 without any issues.I think this
problem got fixed.

--Regards
Omar
Comment 17 LTC BugProxy 2008-02-13 17:16:58 UTC
------- Comment From mranweil@us.ibm.com 2008-02-13 12:16 EDT-------
Great, let's close it with the fixes to libzypp.