[Bug 41190] New: wine hangs at startup if no CUPS daemon running.
https://bugs.winehq.org/show_bug.cgi?id=41190 Bug ID: 41190 Summary: wine hangs at startup if no CUPS daemon running. Product: Wine Version: 1.9.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: xuzhen(a)fastmail.com Distribution: Ubuntu Created attachment 55422 --> https://bugs.winehq.org/attachment.cgi?id=55422 strace log Since 1.9.16, winecfg and some other apps hangs at startup on my system. strace showed that it trying to connect to tcp port 631. After installed CUPS daemon, everything works again. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41190 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |printing -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41190 --- Comment #1 from Bruno Jesus <00cpxxx(a)gmail.com> --- If the port is closed it should receive an error instantly and give up. From your log I see the attempt: connect(12, {sa_family=AF_INET6, sin6_port=htons(631), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 EINPROGRESS (Operation now in progress) Then it tries to write something on the socket: send(12, "POST / HTTP/1.1\r\nContent-Length:"..., 169, 0) = -1 ECONNREFUSED (Connection refused) As expected it does not work. Specially because: access("/var/run/cups/cups.sock", R_OK) = -1 ENOENT (No such file or directory) Wine uses a library to talk to cups, it does not connect using TCP directly (AFAIK). If you upgraded libcups recently you are maybe running into bug 41131. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41190 --- Comment #2 from xuzhen <xuzhen(a)fastmail.com> --- Thanks for the information. The version of libcups on my system is 2.2rc1. I compiled a very simple program copied from CUPS's document, and it reproduced this issue. I've reported this bug to https://github.com/apple/cups/issues/4870 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41190 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #3 from Bruno Jesus <00cpxxx(a)gmail.com> --- (In reply to xuzhen from comment #2)
Thanks for the information.
The version of libcups on my system is 2.2rc1. I compiled a very simple program copied from CUPS's document, and it reproduced this issue.
I've reported this bug to https://github.com/apple/cups/issues/4870
Thanks for testing. *** This bug has been marked as a duplicate of bug 41131 *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41190 Frédéric Delanoy <frederic.delanoy(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Frédéric Delanoy <frederic.delanoy(a)gmail.com> --- Closing DUPLICATE bugs. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org