Bugzilla – Bug 225339
Yast2 Loading printer database problems
Last modified: 2006-12-19 17:12:22 UTC
When I loaded Yast2 to add another printer it is hanging on check database for printers. With a progress bar "The list of installed drivers has changed. Building database of drivers." And has been stuck at 4% The last entries in the y2log are 2006-12-01 08:48:44 <1> on(5165) [YCP] Printerdb.ycp:340 Checking foomatic database 2006-12-01 08:48:44 <1> on(5165) [YCP] Printerdb.ycp:343 Database changed 2006-12-01 08:48:44 <1> on(5165) [agent-ppd] PPDdb.cc(createdbThread):419 CreateDbThread started 2006-12-01 08:48:56 <1> on(5165) [agent-ppd] PPDdb.cc(loadPrebuiltDatabase):1439 Database file parsed correctly by YCP parser 2006-12-01 08:48:56 <1> on(5165) [agent-ppd] PPDdb.cc(loadPrebuiltDatabase):1670 Database contents is OK Which gives me the impression that something else is causing yast2 to hang.
Created attachment 107899 [details] Y2Log
Attach files /var/lib/YaST2/ppd_db.ycp and /var/lib/YaST2/printers Also make a backtrace, please After that you can solve it by backarround - delete /var/lib/YaST2/ppd_db.ycp and start printer module again
Created attachment 107915 [details] ppd_db.ycp file
Created attachment 107916 [details] printers file
I can't reproduce it Attach backtrace please
Created attachment 107933 [details] Back Trace of Yast2 printer
(In reply to comment #0) > When I loaded Yast2 to add another printer it is hanging on check database for > printers. With a progress bar "The list of installed drivers has changed. > Building database of drivers." And has been stuck at 4% > > The last entries in the y2log are > > 2006-12-01 08:48:44 <1> on(5165) [YCP] Printerdb.ycp:340 Checking foomatic > database > 2006-12-01 08:48:44 <1> on(5165) [YCP] Printerdb.ycp:343 Database changed > 2006-12-01 08:48:44 <1> on(5165) [agent-ppd] PPDdb.cc(createdbThread):419 > CreateDbThread started > 2006-12-01 08:48:56 <1> on(5165) [agent-ppd] > PPDdb.cc(loadPrebuiltDatabase):1439 Database file parsed correctly by YCP > parser > 2006-12-01 08:48:56 <1> on(5165) [agent-ppd] > PPDdb.cc(loadPrebuiltDatabase):1670 Database contents is OK > > > Which gives me the impression that something else is causing yast2 to hang. > I got a similar problem, but after the last update, mi printer do'nt works, and the I try to reconfigure the printer, and got the same results: is hanging on check database for printers. With a progress bar "The list of installed drivers has changed. Building database of drivers." And has been stuck at 4%. After deletting the files /var/lib/YaST2/ppd_db.ycp and /var/lib/YaST2/printers the yast printer module works ok.
Sorry, but this is strace not backtrace. Backtrace you can create when set "ulimit -c unlimited" and after crash there will be core file or core.$PID (dumped core) in your current directory. Next start "gdb /usr/lib/YaST2/bin/y2base core" and attach here output
Same 4% deal here... let me know what I can do to help.
Sorry about the late reply I was off in Mexico getting Married. I have updated to 10.2 GM which seems to have fix problem. I have been unable to reproduce the problem to supply the back trace.
I can supply a backtrace of my machine doing it. Can someone give me a link to instructions on how to create a backtrace? Thanks! Shaun
*** This bug has been marked as a duplicate of bug 229231 ***