-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Mirth Connect Admin locks up on 4.2 with channel source JS Reader when scrolling through the code #5765
Comments
Workaround: |
Same workaround #4333 Symptoms are similar in that the MC Client freezes but it happens in a different area of the application. |
I reproduced the problem on MC 4.3.0 and MCAL 1.3.1 on Windows in AWS Workspaces. Thread dump from the MC Client process is attached. |
Ok so this is wild. Try this process as a workaround:
Longer test case:
Having these two instances of the client running should show any differences between the two. This failure mode seems to be consistent with I got on a video call with @tonygermano and he saw it happen live. What it seems like is that MC Client is looking for stderr or stdout and doesn't have it. Something with how MCAL is launching MC Client isn't letting it write to that output stream. In Linux or MacOS I would run |
It sounds like stdout and stderr are getting redirected from the child process even when "Show Console" is set to "No". If that is the case, the buffers likely aren't being read. The buffers will fill and eventually the child writes will block, at least on Windows. |
If @ab-20-m is right, the child process can hang if the parent process isn't processing the child process's stdout and stderr streams. Odd that the event queue is writing to a file. If we could (officially) look at the source for MCAL we could see hwo they are launching the child process. It's starting to sound like the process-launch code isn't quite right. |
@pladesma @lmillergithub I'm pretty sure this is a duplicate of #4333 . Unless RS-9061 was created to handle the ClassCastException rather than the application hang. It's really two different issues. |
#5789 is another instance of this problem |
Describe the bug
Launch mirth admin, go to channels, select channel that is a JS Reader source, scroll in the code for 10-15 seconds. Admin locks up and must be closed via task manager. Mirth version 4.2, able to reproduce any time.
Expected behavior
Mirth Admin to not lock up
Actual behavior
Mirth Admin locks up
Screenshots
![image](https://user-images.githubusercontent.com/95831888/235482770-39627696-9942-4640-9993-f5d25f7b5e62.png)
Environment (please complete the following information):
![image](https://user-images.githubusercontent.com/95831888/235482962-330c2e54-eb77-4352-9b3e-2294f9944772.png)
Workaround(s)
Are there one or more workarounds for this issue currently?
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: