FS#67967 - [cups] Adding driverless printer causes coredump

Attached to Project: Arch Linux
Opened by Peter Weber (hoschi) - Tuesday, 22 September 2020, 13:26 GMT
Last edited by freswa (frederik) - Monday, 05 October 2020, 12:45 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Hello!
I'm using an HP Envy 5000 printer which supports driveless printing (IPP Everywhere). It already works on a workstation with Fedora and a laptop with Archlinux, but I cannot add the printer on my work laptop. It seems the setup process fails due to a coredump:

Additional info:
* package version(s): cups ~
* config and/or log files etc.:
Sep 22 15:10:59 mybox systemd[1]: systemd-coredump@0-2669-0.service: Succeeded.
Sep 22 15:10:59 mybox kernel: audit: type=1131 audit(1600780259.007:128): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-2669-0 comm="systemd" exe="/usr/lib/systemd/sy>
Sep 22 15:10:59 mybox audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-2669-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? term>
Sep 22 15:10:59 mybox systemd-coredump[2670]: Process 2660 (driverless) of user 209 dumped core.

Stack trace of thread 2660:
#0 0x00007effc3e6d39a __GI___strlen_sse2 (libc.so.6 + 0x9f39a)
#1 0x00007effc3fb5d8d log_printf (libcupsfilters.so.1 + 0x1ed8d)
#2 0x00007effc3fb6cce get_printer_attributes5 (libcupsfilters.so.1 + 0x1fcce)
#3 0x00007effc3fb6df4 get_printer_attributes4 (libcupsfilters.so.1 + 0x1fdf4)
#4 0x000055a6cf093d12 n/a (driverless + 0x3d12)
#5 0x000055a6cf0922c4 n/a (driverless + 0x22c4)
#6 0x00007effc3df6152 __libc_start_main (libc.so.6 + 0x28152)
#7 0x000055a6cf0923fe n/a (driverless + 0x23fe)
Sep 22 15:10:58 mybox gnome-control-c[1918]: cups-pk-helper: addition of printer ENVY-5000 failed: server-error-internal-error
Sep 22 15:10:58 mybox kernel: audit: type=1130 audit(1600780258.554:127): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-2669-0 comm="systemd" exe="/usr/lib/systemd/sy>
Sep 22 15:10:58 mybox kernel: audit: type=1334 audit(1600780258.554:126): prog-id=26 op=LOAD
Sep 22 15:10:58 mybox kernel: audit: type=1334 audit(1600780258.554:125): prog-id=25 op=LOAD
Sep 22 15:10:58 mybox audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-2669-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? ter>
Sep 22 15:10:58 mybox systemd[1]: Started Process Core Dump (PID 2669/UID 0).
Sep 22 15:10:58 mybox audit: BPF prog-id=26 op=LOAD
Sep 22 15:10:58 mybox audit: BPF prog-id=25 op=LOAD
Sep 22 15:10:58 mybox systemd[1]: Created slice system-systemd\x2dcoredump.slice.
Sep 22 15:10:58 mybox kernel: audit: type=1701 audit(1600780258.531:124): auid=4294967295 uid=209 gid=209 ses=4294967295 pid=2660 comm="driverless" exe="/usr/lib/cups/driver/driverless" sig=11>
Sep 22 15:10:58 mybox kernel: Code: f3 0f 1e fa 66 0f ef c0 66 0f ef c9 66 0f ef d2 66 0f ef db 48 89 f8 48 89 f9 48 81 e1 ff 0f 00 00 48 81 f9 cf 0f 00 00 77 66 <f3> 0f 6f 20 66 0f 74 e0 66 0>
Sep 22 15:10:58 mybox kernel: driverless[2660]: segfault at 55a6cf0084a0 ip 00007effc3e6d39a sp 00007ffc02fb7e08 error 4 in libc-2.32.so[7effc3df4000+14d000]
Sep 22 15:10:58 mybox audit[2660]: ANOM_ABEND auid=4294967295 uid=209 gid=209 ses=4294967295 pid=2660 comm="driverless" exe="/usr/lib/cups/driver/driverless" sig=11 res=1

* link to upstream bug report, if any

Steps to reproduce:
1.) Use the system-config-printer or gnome-control-center and add the visible printer
2.) A sensless "search for printer drivers" starts
3.) UI hangs
This task depends upon

Closed by  freswa (frederik)
Monday, 05 October 2020, 12:45 GMT
Reason for closing:  No response
Comment by Andreas Radke (AndyRTR) - Wednesday, 23 September 2020, 12:12 GMT
Please enable cupsd debug logging and check where the crash happens. To make sure it's actually cups crashing here please only use the cups webinterface to setup the printer.

Make sure your system full up to date (-Syu)

Loading...