-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Dev mode freezes when quitting and console log colors are switched off #19392
Comments
Hello @dirkweil, I couldn't reproduce this on a Linux setup. When this happens on your setup, could you get a thread dump of the Java process corresponding to this dev run and attach that thread dump to this issue? That might have some hints on what's going on. |
I wasn't able to consistently reproduce this issue, but on one occasion, I did see this "hang". I took a thread dump and here's what it looks like:
|
I've raised #19403 with a potential fix. I haven't been able to consistently reproduce this, so I don't know if we will need anything more to fix this. |
Describe the bug
That is a very strange bug and I'm not sure, if I got it right:
If you
quarkus.log.console.color=false
,q
for termination the application,Expected behavior
After pressing
q
in dev mode, the application should terminate.Actual behavior
If console log coloring is disabled, pressing
q
in dev mode seems to run into some endless loop.How to Reproduce?
Steps to reproduce:
mvn io.quarkus:quarkus-maven-plugin:2.1.2.Final:create
using all defaults.quarkus.log.console.color=false
toapplication.properties
,mvn clean quarkus:dev
(theclean
seems to have some influence; without it, the problem does not appear every time ...)q
Output of
uname -a
orver
Windows 10 Pro
Output of
java -version
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.9.1+1, mixed mode)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.1.2.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.1
Additional information
No response
The text was updated successfully, but these errors were encountered: