[ 
https://issues.apache.org/jira/browse/GUACAMOLE-1354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17353362#comment-17353362
 ] 

Jimmy commented on GUACAMOLE-1354:
----------------------------------

{quote}Do you mean that the specific RDP connection involved hangs?
 Assuming this is reproducible, I don't see how/why this would result in the 
entire guacd service hanging.
{quote}
Yes. I incorrectly checked. The entire guacd service doesn't freeze. Only the 
specific RDP connection involved hangs.
{quote}I would expect this to affect only the user that happens to be very 
aggressively printing.
{quote}
I checked this issue again.
 Although a user doesn't prints a document quickly and successively, this is 
easily reproducible.
 Instead of printing with mouse, when using keyboard quickly, this issue is 
more frequently reproducible.
 That's, after opening the document, when pressing *Ctrl+P* and pressing 
*Enter* quickly, this issue is more frequently reproducible.

 

Also, as you see the following image, you can see that the relevant RDP 
connection isn't killed still after killing the entire connection by *Ctrl+C*.

!image-2021-05-28-16-15-17-531.png!

 

> 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: Major
>             Fix For: 1.4.0
>
>         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)

Reply via email to