Bug 365506

Summary: Factory: crashes after user step
Product: [openSUSE] openSUSE 11.0 Reporter: Stephan Kulow <coolo>
Component: InstallationAssignee: Steffen Winterfeldt <snwint>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Blocker    
Priority: P5 - None CC: aschnell, jsuchome, mvidner, peter, vuntz
Version: Alpha 2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2log

Description Stephan Kulow 2008-02-28 09:32:19 UTC
The user module crashes the installation. The log says:
[Y2Perl] Shutting down embedded Perl Interpreter 
.. Caught Segmentation Fault

The backtrace is full of (recursive) libperl symbols. I guess perl doesn't like to be shutdown.
Comment 1 Jiří Suchomel 2008-02-28 11:30:14 UTC
Created attachment 197629 [details]
y2log
Comment 2 Stephan Kulow 2008-02-28 13:07:13 UTC
Thanks, my X server crashed on distupgrade, so I didn't have it available.
Comment 3 Stephan Kulow 2008-02-28 21:56:36 UTC
*** Bug 365337 has been marked as a duplicate of this bug. ***
Comment 4 Martin Vidner 2008-02-29 16:17:33 UTC
I can reproduce the bug. Y2DEBUG shows that ag_crack gets called and then suddenly zypp is cleaning up and then Perl dies, leaving some assertion failures (on tty10 because yast runs in gdb). strange.
Comment 5 Stephan Kulow 2008-03-03 16:40:24 UTC
not sure I would trust my instsys debugging abilities, but just commenting out the destructor didn't seem to help.
Comment 6 Martin Vidner 2008-03-04 10:03:50 UTC
*** Bug 366511 has been marked as a duplicate of this bug. ***
Comment 7 Martin Vidner 2008-03-04 10:11:17 UTC
I suspect that Perl got an error and wants to shut down. A complication is that the many assertion failures may hide earlier Perl error messages.

Let's try redirecting the output to a file.
BTW Arvin do you know already about GDB starting unconditionally?

To reproduce, boot from http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/boot/boot.iso 
Comment 8 Martin Vidner 2008-03-04 13:18:57 UTC
I redirected the output to a file:
(gdb) r installation '("initial")' qt --noborder --auto-fonts --fullscreen > /root/out 2>&1

and found:
/usr/lib/cracklib_dict.pwd: No such file or directory
PWOpen: No such file or directory
Attempt to free temp prematurely: SV 0x1237489 [...perl assertion failures...]

That file is a dangling symlink to ../share/cracklib/pw_dict.pwd

Maybe some code could be made more robust. In perl:
  eval {
   crackme();
  }
  if $@ y2error...
Comment 9 Jiří Suchomel 2008-03-04 13:25:16 UTC
(In reply to comment #8 from Martin Vidner)
> I redirected the output to a file:
> (gdb) r installation '("initial")' qt --noborder --auto-fonts --fullscreen >
> /root/out 2>&1
> 
> and found:
> /usr/lib/cracklib_dict.pwd: No such file or directory
> PWOpen: No such file or directory
> Attempt to free temp prematurely: SV 0x1237489 [...perl assertion failures...]
> 
> That file is a dangling symlink to ../share/cracklib/pw_dict.pwd

Steffen, please include also the linked files from cracklib.rpm (fate 
302980, comment 55).
Comment 10 Steffen Winterfeldt 2008-03-04 13:37:16 UTC
oops, package was missing in BuildRequires