Thanks for all the info, it is as I expected, your cupsd.conf has
"Browsing No" because you do not use printer sharing. Then the DNS-SD
host name is not set in the daemon's internal variable DNSSDHostName and
this variable I compared with the host name of the URI of the potential
new queue to see whether I have to change it to "localhost" for the case
that the printer is a local service (IPP-over-USB, Printer Application,
...). This caused the crash. Now I have added a fallback to the internal
variable ServerName if DNSSDHostName is NULL.

I could reproduce the bug by doing the command

cupsctl --no-share-printers

(I had printer sharing on for my OpenPrinting work) and re-trying to
access an IPP printer through GTK's print dialog which caused the crash
then for me.

I have the fix now ready and with it the crash goes away.

I will update the Pull Request on CUPS upstream
(https://github.com/OpenPrinting/cups/pull/353) and also the patch on
the Ubuntu package.

Thanks for the bug report.

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

Title:
  cupsd crashed with SIGSEGV in __strcmp_evex()

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


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

Reply via email to