Found the problem: when generating a d-bus message, CUPS's dbus notifier
ignores parameters which contain invalid utf8 strings, but sends the
message anyway. This results in a PrinterStateChanged message with less
than the needed 6 parameters. This in turn crashes gnome-settings-
daemon.

Attached is a patch for CUPS which doesn't send the malformed d-bus
message in the first place.  This means that you won't get notifications
for that print job, but it will work nevertheless.

@Till, I think this is worth SRUing.

@watgrad, I still don't know where the invalid utf8 string comes from in
your case. Your PPD files are valid. Maybe it's the name of the document
you were trying to print?  Please look for strange characters in the
list of completed print jobs:

  http://localhost:631/jobs?which_jobs=completed

I'm adding gnome-settings-daemon to the list of affected packages, as it
shouldn't crash when receiving a malformed message.

** Patch added: "dont-send-malformed-dbus-messages.patch"
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+attachment/2612620/+files/dont-send-malformed-dbus-messages.patch

** Changed in: cups (Ubuntu)
       Status: Confirmed => In Progress

** Also affects: gnome-settings-daemon (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: gnome-settings-daemon (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/893676

Title:
  Cups disrupts unity window theme

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to