cupsd crashed with SIGSEGV in _cups_strcasecmp()

Bug #855026 reported by Till Kamppeter
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Appeared suddenly. I sent some print jobs (test pages), created and removed queues locally and on a remote server, all for development work on system-config-printer. I did not perceive any wrong behavior for most actions. All jobs came out of the printers and all queue modifications got applied. Only one attempt of creating a queue failed (caused the crash?), but succeeded when repeating some seconds later (Upstart restarted CUPS?).

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: cups 1.5.0-6
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Tue Sep 20 20:20:45 2011
ExecutablePath: /usr/sbin/cupsd
MachineType: LENOVO 7417CTO
Papersize: a4
PccardctlIdent:
 Socket 0:
   product info: "MoGo Mouse BT", " ", "", ""
PccardctlStatus:
 Socket 0:
   5.0V 16-bit PC Card
   Subdevice 0 (function 0) [unbound]
ProcAttrCurrent: /usr/sbin/cupsd (enforce)
ProcCmdline: /usr/sbin/cupsd -F
ProcEnviron: PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.0.0-11-generic root=/dev/mapper/hostname-root ro quiet splash vt.handoff=7
SegvAnalysis:
 Segfault happened at: 0x7fe95ff407f8 <_cups_strcasecmp+8>: movzbl (%rsi),%ecx
 PC (0x7fe95ff407f8) ok
 source "(%rsi)" (0x00000041) not located in a known VMA region (needed readable region)!
 destination "%ecx" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: cups
StacktraceTop:
 _cups_strcasecmp () from /usr/lib/x86_64-linux-gnu/libcups.so.2
 ?? () from /usr/lib/x86_64-linux-gnu/libcups.so.2
 ?? () from /usr/lib/x86_64-linux-gnu/libcups.so.2
 ?? ()
 ?? ()
Title: cupsd crashed with SIGSEGV in _cups_strcasecmp()
UpgradeStatus: Upgraded to oneiric on 2009-12-18 (641 days ago)
UserGroups:

dmi.bios.date: 10/13/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7UET79WW (3.09 )
dmi.board.name: 7417CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7UET79WW(3.09):bd10/13/2009:svnLENOVO:pn7417CTO:pvrThinkPadT400:rvnLENOVO:rn7417CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 7417CTO
dmi.product.version: ThinkPad T400
dmi.sys.vendor: LENOVO
mtime.conffile..etc.cups.cupsd.conf: 2011-09-19T18:40:54.178026

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 _cups_strcasecmp () from /tmp/tmpZ0_5ps/usr/lib/x86_64-linux-gnu/libcups.so.2
 ?? () from /tmp/tmpZ0_5ps/usr/lib/x86_64-linux-gnu/libcups.so.2
 ?? () from /tmp/tmpZ0_5ps/usr/lib/x86_64-linux-gnu/libcups.so.2
 ?? ()
 ?? ()

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in cups (Ubuntu):
status: New → Invalid
Revision history for this message
Apport retracing service (apport) wrote : Crash report cannot be processed

Thank you for your report!

However, processing it in order to get sufficient information for the
developers failed (it does not generate an useful symbolic stack trace). This
might be caused by some outdated packages which were installed on your system
at the time of the report:

outdated debug symbol package for libavahi-common3: package version 0.6.30-4ubuntu1 dbgsym version 0.6.30-0ubuntu2
outdated debug symbol package for libtiff4: package version 3.9.5-1ubuntu1 dbgsym version 3.9.4-5ubuntu6
outdated debug symbol package for libnih1: package version 1.0.3-4ubuntu2 dbgsym version 1.0.3-1ubuntu1
outdated debug symbol package for libslang2: package version 2.2.4-2ubuntu1 dbgsym version 2.2.2-4ubuntu2
outdated debug symbol package for libk5crypto3: package version 1.9.1+dfsg-1ubuntu1 dbgsym version 1.8.3+dfsg-5ubuntu2.1
outdated debug symbol package for libavahi-client3: package version 0.6.30-4ubuntu1 dbgsym version 0.6.30-0ubuntu2
outdated debug symbol package for passwd: package version 1:4.1.4.2+svn3283-3ubuntu2 dbgsym version 1:4.1.4.2+svn3283-3ubuntu1
outdated debug symbol package for libkrb5-3: package version 1.9.1+dfsg-1ubuntu1 dbgsym version 1.8.3+dfsg-5ubuntu2.1
outdated debug symbol package for libgssapi-krb5-2: package version 1.9.1+dfsg-1ubuntu1 dbgsym version 1.8.3+dfsg-5ubuntu2.1
outdated debug symbol package for procps: package version 1:3.2.8-10ubuntu5 dbgsym version 1:3.2.8-10ubuntu3
outdated debug symbol package for libkrb5support0: package version 1.9.1+dfsg-1ubuntu1 dbgsym version 1.8.3+dfsg-5ubuntu2.1
outdated debug symbol package for libnih-dbus1: package version 1.0.3-4ubuntu2 dbgsym version 1.0.3-1ubuntu1
outdated debug symbol package for module-init-tools: package version 3.16-1ubuntu1 dbgsym version 3.12-1ubuntu6

Please upgrade your system to the latest package versions. If you still
encounter the crash, please file a new report.

Thank you for your understanding, and sorry for the inconvenience!

tags: removed: need-amd64-retrace
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

These are CUPS' last words before its crash according to /var/log/cups/error_log (in debug mode);

D [20/Sep/2011:20:20:43 +0200] cupsdReadClient: 16 POST /admin/ HTTP/1.1
D [20/Sep/2011:20:20:43 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [20/Sep/2011:20:20:43 +0200] cupsdAuthorize: No authentication data provided.
D [20/Sep/2011:20:20:43 +0200] cupsdReadClient: 16 1.1 CUPS-Add-Modify-Printer 1
D [20/Sep/2011:20:20:43 +0200] CUPS-Add-Modify-Printer ipp://localhost/printers/0009
D [20/Sep/2011:20:20:43 +0200] cupsdIsAuthorized: username=""
D [20/Sep/2011:20:20:43 +0200] Returning HTTP Unauthorized for CUPS-Add-Modify-P
rinter (ipp://localhost/printers/0009) from localhost
D [20/Sep/2011:20:20:43 +0200] cupsdSendHeader: 16 WWW-Authenticate: Basic realm
="CUPS", trc="y"
D [20/Sep/2011:20:20:43 +0200] cupsdReadClient: 16 WAITING Closing on EOF
D [20/Sep/2011:20:20:43 +0200] cupsdCloseClient: 16
D [20/Sep/2011:20:20:43 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Acti
ve clients"
D [20/Sep/2011:20:20:43 +0200] cupsdAcceptClient: 16 from localhost (Domain)
D [20/Sep/2011:20:20:43 +0200] cupsdAcceptClient: 19 from localhost (Domain)
D [20/Sep/2011:20:20:43 +0200] cupsdReadClient: 16 WAITING Closing on EOF
D [20/Sep/2011:20:20:43 +0200] cupsdCloseClient: 16
D [20/Sep/2011:20:20:43 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Not
busy"
D [20/Sep/2011:20:20:43 +0200] cupsdReadClient: 19 POST /admin/ HTTP/1.1
D [20/Sep/2011:20:20:43 +0200] cupsdSetBusyState: newbusy="Active clients", busy
="Not busy"
D [20/Sep/2011:20:20:43 +0200] cupsdAuthorize: Authorized as till using PeerCred
D [20/Sep/2011:20:20:43 +0200] cupsdReadClient: 19 1.1 CUPS-Add-Modify-Printer 1
D [20/Sep/2011:20:20:43 +0200] CUPS-Add-Modify-Printer ipp://localhost/printers/
D [20/Sep/2011:20:20:43 +0200] cupsdIsAuthorized: username="till"
I [20/Sep/2011:20:20:43 +0200] Setting 0009 device-uri to "file:/tmp/printout" (
was "file:///dev/null".)
D [20/Sep/2011:20:20:43 +0200] cupsdMarkDirty(-----S)
D [20/Sep/2011:20:20:43 +0200] cupsdSetBusyState: newbusy="Active clients and di
rty files", busy="Active clients"
D [20/Sep/2011:20:20:43 +0200] cupsdMarkDirty(P-----)
D [20/Sep/2011:20:20:43 +0200] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [20/Sep/2011:20:20:43 +0200] cannot open /etc/cups/ppd/0009.ppd
D [20/Sep/2011:20:20:43 +0200] cupsdMarkDirty(P-----)
D [20/Sep/2011:20:20:43 +0200] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [20/Sep/2011:20:20:43 +0200] load_ppd: Loading /etc/cups/ppd/0009.ppd...
D [20/Sep/2011:20:20:43 +0200] Calling DeleteDevice(cups-0009)
D [20/Sep/2011:20:20:43 +0200] failed to DeleteDevice: org.freedesktop.DBus.Error.InvalidArgs:Type of message, `(s)', does not match expected type `(o)'
D [20/Sep/2011:20:20:43 +0200] cannot open /etc/cups/ppd/0009.ppd
D [20/Sep/2011:20:20:43 +0200] cupsdRegisterPrinter(p=0x7fe965c052e0(0009))

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :
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.