gnome-control-center segfault on network printer add

Bug #1237527 reported by Henry H. Snow
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When trying to add a network printer, gnome-control-center will segfault. Steps to reproduce:

1) Open gnome-control-center, click "Printers".
2) Click "Add New Printer"
3) Wait for network printers to populate the list
4) Select printer, eg FS-C5150DN, click "Add".
5) segfault (or presented with "Printers" is not responding force quit dialogue)

This is not limited to just a Kyocera printer, Brother and HP both

If I run from the command line:
:~$ gnome-control-center

(gnome-control-center:4960): printers-cc-panel-WARNING **: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/scp-dbus-service exited with status 1

(gnome-control-center:4960): printers-cc-panel-WARNING **: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/scp-dbus-service exited with status 1

(gnome-control-center:4960): printers-cc-panel-WARNING **: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/scp-dbus-service exited with status 1

(gnome-control-center:4960): printers-cc-panel-WARNING **: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/scp-dbus-service exited with status 1

(gnome-control-center:4960): printers-cc-panel-WARNING **: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/scp-dbus-service exited with status 1

(gnome-control-center:4960): printers-cc-panel-WARNING **: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/scp-dbus-service exited with status 1

(gnome-control-center:4960): printers-cc-panel-WARNING **: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/scp-dbus-service exited with status 1

(gnome-control-center:4960): printers-cc-panel-WARNING **: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/scp-dbus-service exited with status 1

(gnome-control-center:4960): printers-cc-panel-WARNING **: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/scp-dbus-service exited with status 1

(gnome-control-center:4960): printers-cc-panel-WARNING **: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/scp-dbus-service exited with status 1

(gnome-control-center:4960): GLib-GIO-CRITICAL **: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed

(gnome-control-center:4960): printers-cc-panel-WARNING **: Failed to get session bus: (null)

(gnome-control-center:4960): printers-cc-panel-WARNING **: Installation of the new printer failed.
Segmentation fault (core dumped)

I'll spin up a vm w/ a clean install to confirm.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: gnome-control-center 1:3.6.3-0ubuntu43
ProcVersionSignature: Ubuntu 3.11.0-12.18-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu1
Architecture: amd64
Date: Wed Oct 9 13:11:17 2013
InstallationDate: Installed on 2013-10-01 (8 days ago)
InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Beta amd64 (20130930)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-control-center
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_gnome-control-center: deja-dup 27.3.1-0ubuntu1
---
ApportVersion: 2.12.5-0ubuntu1
Architecture: amd64
DistroRelease: Ubuntu 13.10
InstallationDate: Installed on 2013-10-09 (0 days ago)
InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Beta amd64 (20131009)
MarkForUpload: True
Package: gnome-control-center 1:3.6.3-0ubuntu43
PackageArchitecture: amd64
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 3.11.0-12.18-generic 3.11.3
Tags: saucy
Uname: Linux 3.11.0-12-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
usr_lib_gnome-control-center: deja-dup 27.3.1-0ubuntu1

Revision history for this message
Henry H. Snow (hhsnow) wrote :
affects: gnome-control-center (Ubuntu) → system-config-printer (Ubuntu)
Revision history for this message
Henry H. Snow (hhsnow) wrote :

confirming that this occurs with a fresh install of ubuntu gnome nightly (09-Oct-2013 15:48) with package upgrade

tags: added: apport-collected
description: updated
Revision history for this message
Henry H. Snow (hhsnow) wrote : Dependencies.txt

apport information

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

Tim, can you have a look?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in system-config-printer (Ubuntu):
status: New → Confirmed
Revision history for this message
Henry H. Snow (hhsnow) wrote :

As of these versions, gnome-control-center and system-config-printer no longer segfault on printer add. I receive an error popup "Failed to add new printer." instead. I'm also able to add discovered network printers via system-config-printers (even though it takes about 5 minutes to do driver lookups). No crash is good!

gnome-control-center:
  Installed: 1:3.6.3-0ubuntu44
system-config-printer-gnome:
  Installed: 1.4.2+20130920-0ubuntu1

Would you prefer this bug be resolved and a new one opened for the printer install errors, or leave this one open?

Revision history for this message
Jiri Popelka (jpopelka) wrote :

I've just noticed the looong driver lookup on Fedora too and I found this in debug output:
(<class 'pycurl.error'>, error(7, 'Failed connect to www.openprinting.org:443; Connection timed out')

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

www.openprinting.org is temporarily down. Currently a new server will get set up for it and in the next days it should get working again. Sorry for the inconvenience.

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.