CUPS crashes randomly in compare_printers at printers.c:3589

Bug #261897 reported by emersom
8
Affects Status Importance Assigned to Milestone
cupsys (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: cupsys

I'm using Ubuntu 8.04 on a Dell Dimension 5150 (Pentium4 2.8GHz, 1GB@533MHz of RAM, Geforce 7600GT KO) and CUPS seems to crash randomly and I have to restart it with "sudo /etc/init.d/cupsys restart", or else I can't conect with my printer.
The version of the package:

cupsys:
  Instalado: 1.3.7-1ubuntu3
  Candidato: 1.3.7-1ubuntu3
  Tabela de versão:
 *** 1.3.7-1ubuntu3 0
        500 http://br.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

ProblemType: Crash
Architecture: i386
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/sbin/cupsd
NonfreeKernelModules: nvidia
Package: cupsys 1.3.7-1ubuntu3
ProcAttrCurrent: /usr/sbin/cupsd (enforce)
ProcCmdline: /usr/sbin/cupsd
ProcEnviron: PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
Signal: 11
SourcePackage: cupsys
StacktraceTop:
 strcasecmp () from /lib/tls/i686/cmov/libc.so.6
 ?? ()
 ?? () from /usr/lib/libcups.so.2
 ?? () from /usr/lib/libcups.so.2
 ?? ()
Title: cupsd crashed with SIGSEGV in strcasecmp()
Uname: Linux 2.6.24-21-generic i686
UserGroups: vboxusers

Tags: apport-crash
Revision history for this message
emersom (emersomrc) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:strcasecmp () from /lib/tls/i686/cmov/libc.so.6
compare_printers (first=0x80b2880, second=0x80ccc28, data=0x0) at printers.c:3589
cups_array_find (a=0x80aee58, e=0x80b2880, prev=0, rdiff=0xbfb25638) at array.c:996
cups_array_add (a=0x80aee58, e=0x80b2880, insert=0) at array.c:830
cupsdAddPrinter (name=0xbfb256f1 "OfficeJet_4300") at printers.c:136

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Changed in cupsys:
importance: Undecided → Medium
Revision history for this message
arno_b (arno.b) wrote :

Please, can you give the printers you have (copy here the text of this page http://localhost:631/printers/).

And can you attach the cupsys log: This is a file where CUPSYS writes information about what it is doing. Almost all printing problems can be diagnosed from the error log, so it is the first place to look to start solving problems. To be useful, you must change the logging level:

   1.Select "System" -> "Administration" -> "Printing" in the main menu of your desktop. The printer setup tool system-config-printer will open. Select "Server Settings" in the list on the left. Then check the check box "Save debugging information for troubleshooting" and click "Apply".
   2. In /etc/cups/cupsd.conf, find the line "LogLevel ..."; change it to" LogLevel debug"; save.
   3. 'sudo /etc/init.d/cupsys restart'
   4. Try to print something.
   5. Add /var/log/cups/error_log as an attachment to the bug report.

Revision history for this message
emersom (emersomrc) wrote :

The printers that I have:

Description: OfficeJet_4300
Location: Carol
Printer Driver: HP OfficeJet 4300 Foomatic/hpijs (recommended)
Printer State: idle, accepting jobs, not published.
Device URI: smb://GRUPO/CAROL/hp4300

Description: PDF
Location:
Printer Driver: Generic PDF file generator
Printer State: idle, accepting jobs, not published.
Device URI: cups-pdf:/

Description: hp psc 2400 series
Location:
Printer Driver: HP PSC 2400 Foomatic/hpijs (recommended)
Printer State: idle, accepting jobs, published.
Device URI: hp:/usb/psc_2400_series?serial=MY3C9K349Z6T

Description: Fax queue for hp psc 2400 series
Location:
Printer Driver: HP Fax - HPLIP 2.7.7.dfsg.1
Printer State: idle, accepting jobs, published.
Device URI: hpfax:/usb/psc_2400_series?serial=MY3C9K349Z6T

Description: Fax queue for hp psc 2400 series
Location:
Printer Driver: HP Fax - HPLIP 2.7.7.dfsg.1
Printer State: stopped, accepting jobs, published.
Device URI: hpfax:/usb/psc_2400_series?serial=MY3C9K349Z6T

I realized all the procedures that you suggested and I'm sending the error_log as attachment.

Revision history for this message
emersom (emersomrc) wrote :
Revision history for this message
Phillip Susi (psusi) wrote :

Hardy has reached end of life, and this package is not present in later releases. Closing all related bugs.

Changed in cupsys (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.