[
https://issues.apache.org/jira/browse/GUACAMOLE-1354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17362200#comment-17362200
]
Mike Jumper commented on GUACAMOLE-1354:
----------------------------------------
{quote}
In guac_rdp_print_job_wait_for_ack(), the call of pthread_cond_wait() freezes
the current guacd process.
{quote}
Again, to be clear, you are not referring to the guacd process freezing here,
but only to the connection of the user specifically printing the document (all
other connections are unaffected), and only to the printing portion of the
connection (even the affected connection does not hang)?
> Printing problem that freezes the guacd
> ---------------------------------------
>
> Key: GUACAMOLE-1354
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-1354
> Project: Guacamole
> Issue Type: Bug
> Components: guacamole-client, guacamole-server
> Affects Versions: 1.3.0
> Environment: Windows Server 2019 Datacenter, Ubuntu 18.04, Chrome:
> 90.0.4430.212, Windows 10 Pro 20H2
> Reporter: Jimmy
> Priority: Minor
> Attachments: guacd-printing.log, image-2021-05-25-11-05-36-823.png,
> image-2021-05-28-16-15-17-531.png
>
>
> I found the printing problem that freezes the guacd when printing quickly and
> successively.
>
> *[Test environment]*
> RDP Server: Windows Server 2019 Datacenter
> Server: Ubuntu 18.04
> Guacamole Client:
> [#6644955f|https://github.com/apache/guacamole-client/commit/6644955fff07db7844f0b495b4abfabf2b700e21]
> on master branch
> Guacamole Server:
> [#44145f68|https://github.com/apache/guacamole-server/commit/44145f681aa3cf08e9cf01e99a68096c77bcab39]
> on master branch
> Chrome: 90.0.4430.212
> User: Windows 10 Pro, 20H2
> *[Test case]*
> # Connect to Windows Server 2019 through Apache guacamole.
> # Open *Notepad*.
> # Type some text.
> # Press Ctrl+P and select *Guacamole Printer.*
> # Click *"Print"* button.
> !image-2021-05-25-11-05-36-823.png!
> When repeating step 4 and 5 quickly and successively, we can see this issue
> soon.
> I attach the guacamole server log when encountering the freeze issue.
> *[Rough Analysis]*
> When the guacd doesn't receive *GUAC_RDP_PRINT_JOB_ACK_RECEIVED* from the
> guacamole client due to unknown reason, *guac_rdp_print_job_wait_for_ack()*
> function suspends execution of the *guac_rdp_print_job_output_thread()*
> thread for ever.
>
> Thanks.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)