Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-1354

Printing problem that freezes the guacd

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.3.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows Server 2019 Datacenter, Ubuntu 18.04, Chrome: 90.0.4430.212, Windows 10 Pro 20H2

      Description

      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 on master branch
      Guacamole Server: #44145f68 on master branch
      Chrome: 90.0.4430.212
      User: Windows 10 Pro, 20H2

      [Test case]

      1. Connect to Windows Server 2019 through Apache guacamole.
      2. Open Notepad.
      3. Type some text.
      4. Press Ctrl+P and select Guacamole Printer.
      5. Click "Print" button.

      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.

        Attachments

        1. guacd-printing.log
          9 kB
          Jimmy
        2. image-2021-05-25-11-05-36-823.png
          15 kB
          Jimmy
        3. image-2021-05-28-16-15-17-531.png
          158 kB
          Jimmy

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              MyJimmy Jimmy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: