ok - some feedback here - ubuntu gnome 16.10 beta 2 with an apt full-
update installed in virtualbox  VM + virtualbox guest additions and
dkms.

1. Settings - Printer icon - no crash.  It detects my HP Wifi based printer on 
the "add a new printer" dialog
2. Selecting the printer and clicking the add button displays the message 
"failed to add new printer"

Looking at journal -ae --full these are the relevant trace issues:

Oct 01 17:52:16 dad-VirtualBox dbus[596]: [system] Activating service 
name='org.opensuse.CupsPkHelper.Mechanism' (using servicehelper)
Oct 01 17:52:16 dad-VirtualBox dbus[596]: [system] Successfully activated 
service 'org.opensuse.CupsPkHelper.Mechanism'
Oct 01 17:52:16 dad-VirtualBox audit[2274]: AVC apparmor="DENIED" 
operation="capable" profile="/usr/sbin/cupsd" pid=2274 comm="usb" capability=35 
 ca
Oct 01 17:52:16 dad-VirtualBox kernel: audit_printk_skb: 39 callbacks suppressed
Oct 01 17:52:16 dad-VirtualBox kernel: audit: type=1400 
audit(1475340736.806:25): apparmor="DENIED" operation="capable" 
profile="/usr/sbin/cupsd" pid
Oct 01 17:52:17 dad-VirtualBox gnome-control-center.desktop[2240]: mkdir failed 
on directory /var/cache/samba: Permission denied
Oct 01 17:52:26 dad-VirtualBox dbus-daemon[1097]: Activating service 
name='org.fedoraproject.Config.Printing'
Oct 01 17:52:26 dad-VirtualBox org.fedoraproject.Config.Printing[1097]: 
/usr/bin/scp-dbus-service: 3: exec: /usr/share/system-config-printer/scp-dbus
Oct 01 17:52:26 dad-VirtualBox dbus-daemon[1097]: Activated service 
'org.fedoraproject.Config.Printing' failed: Process 
org.fedoraproject.Config.Prin
Oct 01 17:52:26 dad-VirtualBox gnome-control-c[2240]: 
GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process 
org.fedoraproject.Config.Prin
Oct 01 17:52:26 dad-VirtualBox dbus-daemon[1097]: Activating service 
name='org.fedoraproject.Config.Printing'
Oct 01 17:52:26 dad-VirtualBox org.fedoraproject.Config.Printing[1097]: 
/usr/bin/scp-dbus-service: 3: exec: /usr/share/system-config-printer/scp-dbus
Oct 01 17:52:26 dad-VirtualBox dbus-daemon[1097]: Activated service 
'org.fedoraproject.Config.Printing' failed: Process 
org.fedoraproject.Config.Prin
Oct 01 17:52:26 dad-VirtualBox gnome-control-c[2240]: 
GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process 
org.fedoraproject.Config.Prin
Oct 01 17:52:26 dad-VirtualBox /hpfax[2304]: [2304]: error: Failed to create 
/var/spool/cups/tmp/.hplip
Oct 01 17:52:26 dad-VirtualBox dbus-daemon[1097]: Activating service 
name='org.fedoraproject.Config.Printing'
Oct 01 17:52:26 dad-VirtualBox org.fedoraproject.Config.Printing[1097]: 
/usr/bin/scp-dbus-service: 3: exec: /usr/share/system-config-printer/scp-dbus
Oct 01 17:52:26 dad-VirtualBox dbus-daemon[1097]: Activated service 
'org.fedoraproject.Config.Printing' failed: Process 
org.fedoraproject.Config.Prin
Oct 

To solve the 'cupsd DENIED' type messages I did:

sudo apt install apparmor-utils

To solve the /var/cache/samba permission denied I did:

sudo apt install samba-common

To solve the daemon messages "Oct 01 17:52:26 dad-VirtualBox
org.fedoraproject.Config.Printing[1097]: /usr/bin/scp-dbus-service: 3:
exec: /usr/share/system-config-printer/scp-dbus"

sudo apt install system-config-printer-gnome

After installing the above, the next time I clicked the printer icon,
choose my HP WIFI printer and clicked the add button I see a
notification OSD message that the printer has been added before the
dialog disappears:

Oct 01 18:02:18 dad-VirtualBox dbus[596]: [system] Activating service 
name='org.opensuse.CupsPkHelper.Mechanism' (using servicehelper)
Oct 01 18:02:18 dad-VirtualBox dbus[596]: [system] Successfully activated 
service 'org.opensuse.CupsPkHelper.Mechanism'
Oct 01 18:02:25 dad-VirtualBox dbus-daemon[1097]: Activating service 
name='org.fedoraproject.Config.Printing'
Oct 01 18:02:26 dad-VirtualBox dbus-daemon[1097]: Successfully activated 
service 'org.fedoraproject.Config.Printing'
Oct 01 18:02:35 dad-VirtualBox colord[1640]: failed to get session [pid 571]: 
No such device or address
Oct 01 18:02:35 dad-VirtualBox kernel: gnome-control-c[5073]: segfault at 
100ee40c ip 00007f533cc10f06 sp 00007fffb9dbf468 error 4 in libc-2.24.s
Oct 01 18:03:05 dad-VirtualBox org.fedoraproject.Config.Printing[1097]: 
/usr/share/system-config-printer/scp-dbus-service.py:26: PyGIWarning: Gdk
Oct 01 18:03:05 dad-VirtualBox org.fedoraproject.Config.Printing[1097]:   from 
gi.repository import Gdk
Oct 01 18:03:05 dad-VirtualBox org.fedoraproject.Config.Printing[1097]: 
/usr/share/system-config-printer/scp-dbus-service.py:27: PyGIWarning: Gtk
Oct 01 18:03:05 dad-VirtualBox org.fedoraproject.Config.Printing[1097]:   from 
gi.repository import Gtk

i.e. you can see the segfault

Running system-printer-config from a command line actually displays that
I have now my HP printer installed.

I can use gedit to print successfully - just can't go back into
settings-printer icon because of the segfault

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

Title:
  gnome-control-center crashed with SIGSEGV in strlen()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-gnome/+bug/1618290/+subscriptions

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

Reply via email to