cupsd crashed with SIGSEGV in dbus_message_iter_append_basic()

Bug #754567 reported by Christie Martin
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Binary package hint: cups

I had just finished a distribution update and upon logging in I received this error message.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: cups 1.4.6-4
ProcVersionSignature: Ubuntu 2.6.38-8.41-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
CrashCounter: 1
CupsErrorLog:
 E [08/Apr/2011:04:42:24 -0700] Avahi client failed, closing client to allow a clean restart
 E [08/Apr/2011:04:43:36 -0700] [Job 185] Job aborted because the destination printer/class has gone away.
 E [08/Apr/2011:05:09:34 -0700] [Job 184] Unable to queue job for destination "officejet-4200-series@192.168.1.64"!
Date: Fri Apr 8 04:10:01 2011
ExecutablePath: /usr/sbin/cupsd
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No destinations added.
Lsusb:
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 002: ID 413c:2003 Dell Computer Corp. Keyboard
 Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Compaq Presario
Papersize: letter
PpdFiles:
 officejet-4200-series-Fax: HP Fax hpijs
 officejet-4200-series: HP Officejet 4200 Series, hpcups 3.11.1
ProcAttrCurrent: /usr/sbin/cupsd (enforce)
ProcCmdline: /usr/sbin/cupsd -F
ProcEnviron: PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=ea9408e0-b5cc-4dfb-9133-f4d339387d20 ro quiet splash vt.handoff=7
SegvAnalysis:
 Segfault happened at: 0x276706: movdqu (%edi),%xmm1
 PC (0x00276706) ok
 source "(%edi)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%xmm1" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: cups
StacktraceTop:
 ?? () from /lib/i386-linux-gnu/libc.so.6
 ?? () from /lib/i386-linux-gnu/libdbus-1.so.3
 ?? () from /lib/i386-linux-gnu/libdbus-1.so.3
 dbus_message_iter_append_basic () from /lib/i386-linux-gnu/libdbus-1.so.3
 ?? ()
Title: cupsd crashed with SIGSEGV in dbus_message_iter_append_basic()
UpgradeStatus: Upgraded to natty on 2011-03-30 (9 days ago)
UserGroups:

dmi.bios.date: 12/03/2001
dmi.bios.vendor: Compaq
dmi.bios.version: 686Y2 v2.06
dmi.board.name: 077Ch
dmi.board.vendor: Compaq
dmi.chassis.asset.tag: U202BBXZB016
dmi.chassis.type: 3
dmi.chassis.vendor: Compaq
dmi.modalias: dmi:bvnCompaq:bvr686Y2v2.06:bd12/03/2001:svnCompaq:pnPresario:pvrCTOAAAAA:rvnCompaq:rn077Ch:rvr:cvnCompaq:ct3:cvr:
dmi.product.name: Presario
dmi.product.version: CTOAAAAA
dmi.sys.vendor: Compaq

Revision history for this message
Christie Martin (ianswermyemail) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 __strlen_sse2_bsf () at ../sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S:52
 marshal_string (str=0x21d82e34, insert_at=0, type=115, value=0x21d461d8, byte_order=108, pos_after=0xbf9233ac) at dbus-marshal-basic.c:778
 _dbus_marshal_write_basic (str=0x21d82e34, insert_at=0, type=115, value=0x21d461d8, byte_order=108, pos_after=0xbf9233ac) at dbus-marshal-basic.c:858
 _dbus_type_writer_write_basic_no_typecode (writer=0xbf92339c, type=115, value=0x21d461d8) at dbus-marshal-recursive.c:1589
 _dbus_type_writer_write_basic (writer=0xbf92339c, type=115, value=0x21d461d8) at dbus-marshal-recursive.c:2311

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):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Tim, can this be caused by the Avahi patch? Are there any updates/fixes for the Avahi patch?

visibility: private → public
Revision history for this message
Tim Waugh (twaugh) wrote :

Possibly it is; difficult to say what's going wrong without a symbolic stack trace.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

It is possible that the proposed fix of bug #759031 can also fix this bug.

Revision history for this message
Martin Pitt (pitti) wrote :

Potentially fixed with the upload below. Can you test this version and see if it still happens? Thanks!

cups (1.4.6-5) unstable; urgency=low

  [ Till Kamppeter ]
  * debian/patches/cups-avahi.dpatch: Updated the patch to add Avahi support
    to the newest state of the art from
    http://twaugh.fedorapeople.org/cups-avahi/ (upstream of the patch),
    in the hope to fix CUPS crashers like LP #759031, #754567, #711875,
    #751770.

  [ Martin Pitt ]
  * debian/local/apparmor-profile: Add cap_dac_read_search for cups-pdf. This
    circumvents the sandboxing even more, but with cups-pdf's architecture
    there is no way around it. (LP: #295536)

 -- Martin Pitt <email address hidden> Mon, 18 Apr 2011 19:22:20 +0200

Changed in cups (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for cups (Ubuntu) because there has been no activity for 60 days.]

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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