Comment 10 for bug 893676

Revision history for this message
Lars Karlitski (larsu) wrote :

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.