Bug 202903

Summary: yast printer segfaults
Product: [openSUSE] openSUSE 10.2 Reporter: Dénes Mátételki <cs0rbagomba>
Component: YaST2Assignee: Michal Zugec <mzugec>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: burnus, eric, gh55, hugo.costelha, stefan.fent
Version: Alpha 3   
Target Milestone: ---   
Hardware: x86   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Hardware info
Yast2 logs
just another yast2 printer crash

Description Dénes Mátételki 2006-08-31 12:44:30 UTC
OpenSuse 10.2 Beta3.
I've plugged in my HP Laserjet 1020.

Yast pops up a window, that he detected it, but because of the bug kde su don't accept correct password (https://bugzilla.novell.com/show_bug.cgi?id=198408), I had to type in as a root: yast2 printer.

The printer initialization window came in (with the check-marks), and when the little window come in (with progress bar), yast crashes with:

# yast2 printer
Segmentation fault at Printerdb.ycp:375
/sbin/yast2: line 233: 20222 Szegmens hiba           $ybindir/y2base $module "$@" qt "$Y2_GEOMETRY" $Y2QT_ARGS
#

("Szegmens hiba" means segmantation fault in hungarian)
Comment 1 Johannes Meixner 2006-08-31 13:21:52 UTC
Provide the YaST log files, see
http://en.opensuse.org/Bugs/YaST
Comment 2 Dénes Mátételki 2006-08-31 13:41:56 UTC
Created attachment 97633 [details]
Hardware info

Hardware info.
Comment 3 Dénes Mátételki 2006-08-31 13:43:55 UTC
Created attachment 97634 [details]
Yast2 logs

Only y2log changed.
Comment 5 Klaus Singvogel 2006-09-07 12:02:37 UTC
blackbird.suse.de has SUSE Linux 10.1 (64bit machine) and I have this problem:

/sbin/yast: line 233:  4006 Speicherzugriffsfehler  $ybindir/y2base menu ncurses $NCTHREADS

This occurs during generation of the printer database.
Comment 6 Klaus Singvogel 2006-09-07 12:04:51 UTC
Before I forget: this machine is very unstable (hardware problems). Login and debug should be reduced to a minimum.
I have installed all updates.
Comment 7 Johannes Meixner 2006-09-11 14:13:36 UTC
Christoph Thiel got the same bug.
Comment 8 Christoph Thiel 2006-09-11 14:18:24 UTC
(on SLED 10)
Comment 9 Johannes Meixner 2006-10-13 08:17:46 UTC
Stefan Fent told me that he has also a segfault
but a different error message
(a quotation from a mail which I got from Stefan):
--------------------------------------------------------------------------
(Alpha4plus):

g159:~ # yast2 printer
/sbin/yast2: line 233: 29332 Abgebrochen  $ybindir/y2base $module "$@
" qt "$Y2_GEOMETRY" $Y2QT_ARGS

y2log:
[...]

2006-10-12 17:02:12 <1> g159(29332) [YCP] Printerdb.ycp:340
 Checking foomatic database
2006-10-12 17:02:12 <1> g159(29332) [YCP] Printerdb.ycp:343
 Database changed
2006-10-12 17:02:12 <1> g159(29332) [agent-ppd]
 PPDdb.cc(createdbThread):419 CreateDbThread started
2006-10-12 17:02:12 <1> g159(29332) [agent-ppd]
 PPDdb.cc(loadPrebuiltDatabase):1439
Database file parsed correctly by YCP parser 2006-10-12 17:02:12 <1>
 g159(29332) [agent-ppd] PPDdb.cc(loadPrebuiltDatabase):1670
  Database contents is OK
--------------------------------------------------------------------------
For me this does not look like a segfault but nevertheless
I posted it to have you informed.
Comment 10 Johannes Meixner 2006-10-13 14:38:43 UTC
Created attachment 101433 [details]
just another yast2 printer crash

I don't know if all those crashes have the same reason or if they are all different.

I only want to have you informed
(the more data the more hope to find the actual reason ;-)
Comment 11 Silviu Marin-Caea 2006-10-13 17:02:23 UTC
This is what it does on my machine (x86_64, alpha5)

Command: /sbin/yast2 printer &
Segmentation fault at Printerdb.ycp:376
/sbin/yast2: line 233: 11218 Segmentation fault      $ybindir/y2base $module "$@" qt "$Y2_GEOMETRY" $Y2QT_ARGS
silviu:~ # rpm -q yast2-printer
yast2-printer-2.14.2-7
Comment 12 Michal Zugec 2006-10-24 13:15:27 UTC
delete /var/lib/YaST2/ppd_db.ycp file
and start printer module
database will be rebuilded correctly
Comment 13 Michal Zugec 2006-10-24 13:15:35 UTC
*** Bug 210913 has been marked as a duplicate of this bug. ***
Comment 14 Michal Zugec 2006-10-24 13:16:04 UTC
*** Bug 214586 has been marked as a duplicate of this bug. ***
Comment 15 Michal Zugec 2006-10-24 16:04:27 UTC

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