[Bug 607844] New: YaST got signal 11 at YCP file Storage.ycp:4244
http://bugzilla.novell.com/show_bug.cgi?id=607844 http://bugzilla.novell.com/show_bug.cgi?id=607844#c0 Summary: YaST got signal 11 at YCP file Storage.ycp:4244 Classification: openSUSE Product: openSUSE 11.3 Version: Milestone 6 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: AutoYaST AssignedTo: aschnell@novell.com ReportedBy: ug@novell.com QAContact: qa@suse.de CC: fehr@novell.com Found By: --- Blocker: --- Created an attachment (id=363789) --> (http://bugzilla.novell.com/attachment.cgi?id=363789) logs I was running: yast2 ayast_setup setup filename=/var/adm/autoinstall/cache/installedSystem.xml and I got a segfault in Storage.ycp Logs attached -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=607844 http://bugzilla.novell.com/show_bug.cgi?id=607844#c1 Arvin Schnell <aschnell@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |aschnell@novell.com InfoProvider| |ug@novell.com --- Comment #1 from Arvin Schnell <aschnell@novell.com> 2010-05-21 12:17:57 UTC --- The backtrace shows problems with getPartitionAlignment. Those functions are new in Milestone 7. Please check the composition of the installation medium. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=607844 http://bugzilla.novell.com/show_bug.cgi?id=607844#c2 --- Comment #2 from Arvin Schnell <aschnell@novell.com> 2010-05-21 12:51:07 UTC --- I suspect you all GetPartitionAlignment() before libstorage is initialized (by InitLibstorage(). I could add lazy initialization in GetPartitionAlignment() but it would be better if autoyast calls InitLibstorage() since you can handle error then, e.g. libstorage could be locked by another process. Maybe could also try to init libstorage in read-only mode if you don't have to modify the system. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=607844 http://bugzilla.novell.com/show_bug.cgi?id=607844#c3 --- Comment #3 from Uwe Gansert <ug@novell.com> 2010-05-21 12:59:16 UTC --- yes, there is a good chance that libstorage is not initialized when I call GetPartitionAlignment. How do I have to use InitLibstorage? Just like this? if( ! Storage::InitLibstorage() ) // something bad happend -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=607844 http://bugzilla.novell.com/show_bug.cgi?id=607844#c4 --- Comment #4 from Arvin Schnell <aschnell@novell.com> 2010-05-21 13:04:18 UTC --- InitLibstorage() takes one parameter "readonly". If so far libstorage was lazy initialized, e.g. by a call to GetTargetMap(), readonly was false. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=607844 http://bugzilla.novell.com/show_bug.cgi?id=607844#c5 Uwe Gansert <ug@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|ug@novell.com | Resolution| |FIXED --- Comment #5 from Uwe Gansert <ug@novell.com> 2010-05-21 13:11:01 UTC --- fixed in autoyast 2.19.10 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=607844 http://bugzilla.novell.com/show_bug.cgi?id=607844#c6 Jaroslaw Zachwieja <grok@warwick.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |grok@warwick.ac.uk Blocks| |606728 --- Comment #6 from Jaroslaw Zachwieja <grok@warwick.ac.uk> 2010-05-21 14:22:58 UTC --- Any chance to get it pushed out to d.o.o/factory/repo/ ? This blocks most autoyast-related bug squshing :) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=607844 http://bugzilla.novell.com/show_bug.cgi?id=607844#c7 --- Comment #7 from Uwe Gansert <ug@novell.com> 2010-05-21 14:27:02 UTC --- this is the patch. Hope it helps --- trunk/autoinstallation/src/modules/AutoinstGeneral.ycp (original) +++ trunk/autoinstallation/src/modules/AutoinstGeneral.ycp Fri May 21 15:07:18 2010 @@ -298,6 +298,7 @@ SetSignatureHandling(); // FIXME: seriously FIXME! We need a real Read() function + Storage::InitLibstorage(false); storage["partition_alignment"] = Storage::GetPartitionAlignment(); } return; -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=607844 http://bugzilla.novell.com/show_bug.cgi?id=607844#c8 Jaroslaw Zachwieja <grok@warwick.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #8 from Jaroslaw Zachwieja <grok@warwick.ac.uk> 2010-05-21 14:46:42 UTC --- I've patched it, rebooted (we're talking stage2 here) and it's still segfaulting. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=607844 http://bugzilla.novell.com/show_bug.cgi?id=607844#c9 --- Comment #9 from Jaroslaw Zachwieja <grok@warwick.ac.uk> 2010-05-21 14:47:54 UTC --- Created an attachment (id=363815) --> (http://bugzilla.novell.com/attachment.cgi?id=363815) Screenshot after segfault. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=607844 http://bugzilla.novell.com/show_bug.cgi?id=607844#c10 --- Comment #10 from Uwe Gansert <ug@novell.com> 2010-05-21 14:49:52 UTC --- I forgot to mention, you habe to recompile the file via: ycpc -c /usr/share/YaST2/modules/AutoinstGeneral.ycp did you do that? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=607844 http://bugzilla.novell.com/show_bug.cgi?id=607844#c11 Jaroslaw Zachwieja <grok@warwick.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #11 from Jaroslaw Zachwieja <grok@warwick.ac.uk> 2010-05-21 14:56:09 UTC --- Yup, that got the install going. Thanks for that! :) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=607844 http://bugzilla.novell.com/show_bug.cgi?id=607844#c12 --- Comment #12 from Jaroslaw Zachwieja <grok@warwick.ac.uk> 2010-05-21 14:58:43 UTC --- One thing. There are still some issues that aren't clarified by patch+recompile method, we really need it in d.o.o/factory asap. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=607844 http://bugzilla.novell.com/show_bug.cgi?id=607844#c13 Jaroslaw Zachwieja <grok@warwick.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED --- Comment #13 from Jaroslaw Zachwieja <grok@warwick.ac.uk> 2010-05-21 15:52:38 UTC --- I've patched it in while stage1 was during installation (autoyast got installed about 70% in) and let the installation continue as usual. It finished without issues and rebooted. After reboot stage2 started as expected. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=607844 http://bugzilla.novell.com/show_bug.cgi?id=607844#c Jaroslaw Zachwieja <grok@warwick.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|606728 | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com