[Bug 1965112] Re: cupsd crashed with SIGSEGV in __strcmp_evex()

2022-03-16 Thread Till Kamppeter
I have uploaded cups 2.4.1op1-1ubuntu3 with the updated patch now, and
also updated the upstream pull request:

https://github.com/OpenPrinting/cups/pull/353

Please test as soon as the update arrives.

** Changed in: cups (Ubuntu)
   Status: In Progress => Fix Committed

-- 
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

[Bug 1965112] Re: cupsd crashed with SIGSEGV in __strcmp_evex()

2022-03-16 Thread Till Kamppeter
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

[Bug 1965112] Re: cupsd crashed with SIGSEGV in __strcmp_evex()

2022-03-16 Thread Till Kamppeter
** Changed in: cups (Ubuntu)
   Status: New => In Progress

-- 
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

[Bug 1965112] Re: cupsd crashed with SIGSEGV in __strcmp_evex()

2022-03-16 Thread Matthias Klose
doko@xe1:~$ driverless
ipp://HP%20LaserJet%20500%20colorMFP%20M570dw%20(6C84AD)._ipp._tcp.local/
doko@xe1:~$ driverless --std-ipp-uris
ipp://NPI6C84AD.local:631/ipp/printer
doko@xe1:~$ lpstat -v
lpstat: No destinations added.

$ ps aux | grep cups-browsed
root   94786  0.0  0.0 172744 11908 ?Ssl  11:00   0:00 
/usr/sbin/cups-browsed
doko  110175  0.0  0.0   9560  2428 pts/4S+   17:21   0:00 grep 
--color=auto cups-browsed

Trying to print a png image with eog

** Attachment added: "error_log"
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1965112/+attachment/5569701/+files/error_log

-- 
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

[Bug 1965112] Re: cupsd crashed with SIGSEGV in __strcmp_evex()

2022-03-16 Thread Matthias Klose
$ cupsctl 
_debug_logging=1
_remote_admin=0
_remote_any=0
_share_printers=0
_user_cancel_any=0
BrowseLocalProtocols=dnssd
DefaultAuthType=Basic
ErrorPolicy=retry-job
IdleExitTimeout=60
JobPrivateAccess=default
JobPrivateValues=default
MaxLogSize=0
PageLogFormat=
SubscriptionPrivateAccess=default
SubscriptionPrivateValues=default
WebInterface=Yes


** Attachment added: "cupsd.conf"
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1965112/+attachment/5569712/+files/cupsd.conf

** Changed in: cups (Ubuntu)
   Status: Incomplete => New

-- 
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

[Bug 1965112] Re: cupsd crashed with SIGSEGV in __strcmp_evex()

2022-03-16 Thread Till Kamppeter
Can you also attach your /etc/cups/cupsd.conf file?

And please also post the output of the command

cupsctl

-- 
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

[Bug 1965112] Re: cupsd crashed with SIGSEGV in __strcmp_evex()

2022-03-16 Thread Till Kamppeter
Could you run the following commands:

driverless

driverless --std-ipp-uris

lpstat -v

and post the output here.

On which print queue are you printing?

Are you running cups-browsed?

Then switch CUPS into debug mode:

cupsctl --debug-logging

Print a job as you did when the crash happened. When it fails again,
take the /var/log/cups/error_log file and attach it to this bug report.
DO NOT compress or package it.

Could you also tell me how you printed the job? Which application? GTK
print dialog? Any other print dialog?

** Changed in: cups (Ubuntu)
   Status: New => Incomplete

-- 
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

[Bug 1965112] Re: cupsd crashed with SIGSEGV in __strcmp_evex()

2022-03-16 Thread Till Kamppeter
** Information type changed from Private to Public

-- 
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