Skip to content

Thread dump messed up when running an app using quarkus:run #42164

Open
@starksm64

Description

Describe the bug

I created a threadump using ctrl-\ while running an quarkus-fx app using mvn quarkus:run and it is largely unreadable due to the thread traces being interleaved. This was true even after I set quarkus.log.console.stderr=true

When I run with java -jar target/quarkus-app/quarkus-run.jar the threadump looks normal.

Expected behavior

Ideally a readable threadump would be seen on the console

Actual behavior

The threadump output has an interleaving of the thread stack traces

How to Reproduce?

I can provide this if this is not an obvious known problem with the maven plugin capturing output.

Output of uname -a or ver

Darwin Scotts-Mac-Studio.local 21.6.0 Darwin Kernel Version 21.6.0: Wed Apr 24 06:05:14 PDT 2024; root:xnu-8020.240.18.708.4~1/RELEASE_ARM64_T6000 arm64

Output of java -version

openjdk version "21.0.1" 2023-10-17 LTS OpenJDK Runtime Environment Temurin-21.0.1+12 (build 21.0.1+12-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.1+12 (build 21.0.1+12-LTS, mixed mode)

Quarkus version or git rev

3.12.2

Build tool (ie. output of mvnw --version or gradlew --version)

Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae) Maven home: /Users/starksm/bin/apache-maven-3.9.6 Java version: 21.0.1, vendor: Eclipse Adoptium, runtime: /Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "12.7.5", arch: "aarch64", family: "mac"

Additional information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    area/devtoolsIssues/PR related to maven, gradle, platform and cli tooling/pluginskind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions