[SOLVED] Application hangs when trying to print until splwow64.exe gets killed

Joined
May 4, 2022
Posts
9
Hello,

we are currently having problems with an application in our Windows Server 2016 Citrix environment.
As soon as the user wants to print and presses the print button within the application to open the printer menu, the application hangs (no response).

It was noticeable that as soon as all mapped network printers (located on print servers) were removed within the user's profile, the printer menu of the application could be opened without any problems.
However, until now no specific printer or driver could be identified as the cause of the problem.


Below some technical information that came to my attention during troubleshooting:

If the user presses the print button within the application, it can be seen in the task manager that the splwow64.exe for the corresponding user hangs (Analyze wait chain). --> attached Screenshot_1.JPG
If the splwow64.exe gets killed, the application unfreezes and the printer dialog opens.

I analyzed the splwow64.exe and the application via the PID with the tool "WaitingON" (GitHub - leonardomsft/WaitingOn). --> attached Screenshot_2.jpg
There you can see that Thread 31232 is blocked by RPC Control\LRPC-757f9d3c2774ab46aa.

I downloaded the Microsoft Process Explorer and looked for the spoolsv.exe (PID 3320).
There i could find the ALPC Port RPC Control\LRPC-757f9d3c2774ab46aa. --> attached Screenshot_3.jpg

As soon as i clicked on "Close Handle" the Error "Win32Exception: The RPC-Server is unavailable" appeared. --> attached Screenshot_4.jpg
After i acknowledged the Error the application unfreezed and the printer menu opened.

I also created a Dump from the splwow64.exe and the spoolsv.exe and analyzed it with the Microsoft DebugDiag Tool.
The result are in the attached DebugDiag.zip

Do you guys have any ideas to resolve this issue?
Many thanks in advance.
 

Attachments

  • Screenshot_1.JPG
    Screenshot_1.JPG
    17.5 KB · Views: 4
  • Screenshot_2.JPG
    Screenshot_2.JPG
    52.4 KB · Views: 4
  • Screenshot_3.JPG
    Screenshot_3.JPG
    38.3 KB · Views: 3
  • Screenshot_4.jpg
    Screenshot_4.jpg
    12.1 KB · Views: 4
  • DebugDiag.zip
    DebugDiag.zip
    502.7 KB · Views: 2

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top