Bug 217259

Summary: YaST2 x86-64 - Printer segfaults
Product: [openSUSE] openSUSE 10.2 Reporter: Kevin Valko <kvalko>
Component: YaST2Assignee: Michal Zugec <mzugec>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: andreas.hanke
Version: Beta 1 plus   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: strace log (bz2)
save_y2logs y2logs.tgz
Installed yast2* packages

Description Kevin Valko 2006-11-02 06:17:21 UTC
When launching "Printer" from yast2, the module launches briefly and then crashes while initializing.

In KDE, the window briefly appears and then disappears.
In text-mode, the module crashes after launch with the following error (entered by hand):

/sbin/YaST2:  line 267:  4496 Segmentation fault     $ybindir/y2base  menu ncurses $NCTHREADS

From /var/log/YaST2/y2log:

2006-11-02 00:55:02 <1> tardis(4496) [YCP] Printerdb.ycp:340 Checking foomatic database
2006-11-02 00:55:02 <1> tardis(4496) [YCP] Printerdb.ycp:343 Database changed
2006-11-02 00:55:02 <1> tardis(4496) [agent-ppd] PPDdb.cc(createdbThread):419 CreateDbThread started
2006-11-02 00:55:03 <1> tardis(4496) [agent-ppd] PPDdb.cc(loadPrebuiltDatabase):1439 Database file parsed correctly by YCP parser
2006-11-02 00:55:03 <1> tardis(4496) [agent-ppd] PPDdb.cc(loadPrebuiltDatabase):1670 Database contents is OK

Currently running x86-64 Beta 1 + updates from factory as of Nov 1.

Please advise any other info required...
Comment 1 Andreas Hanke 2006-11-02 06:22:43 UTC
Please provide the output of "rpm -q yast2-printer".
Comment 2 Kevin Valko 2006-11-02 15:59:39 UTC
Here you go:

tardis:~ # rpm -q yast2-printer
yast2-printer-2.14.4-2

Comment 3 Andreas Hanke 2006-11-02 21:41:07 UTC
Please reproduce the bug and attach the YaST logfiles afterwards (complete content of /var/log/YaST2, compressed as tar.bz2):

http://en.opensuse.org/Bugs/YaST
Comment 4 Tobias Burnus 2006-11-06 21:13:32 UTC
Created attachment 104026 [details]
strace log (bz2)
Comment 5 Tobias Burnus 2006-11-06 21:13:45 UTC
Created attachment 104027 [details]
save_y2logs y2logs.tgz

I get the same error. Attached is y2logs.tar.gz
Comment 6 Tobias Burnus 2006-11-06 21:16:57 UTC
Created attachment 104028 [details]
Installed yast2* packages

For some reasons a mixture of i586 and x86_64 packages.
(This is a AMD64 system.)

The crash occurs shortly after the dialog with "building printer database" appears.
Comment 7 Michal Zugec 2006-11-08 19:01:06 UTC
Sorry for that - it's a bug I thought was fixed, but not.
Workarround is to delete /var/lib/YaST2/ppd_db.ycp before run yast2-printer module
Fixed in version 2.14.10

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