Skip to content

test_pthread_exit_process suspicious log message on Node #14993

@kleisauke

Description

@kleisauke

It prints this message:

printf("done join -- should never get here\n");

Which probably shouldn't happen, since the exit(42); call in the thread is expected to bring down the whole process.

Reproducer:

$ ./tests/runner wasm2.test_pthread_exit_process -v 2>&1 | grep -B3 -A2 "should never get here"
-- begin program output --
main
calling exit
done join -- should never get here
onExit status: 42
-- end program output --

Although, on the browser it seems to work fine. Tested with:

$ ./tests/runner browser.test_pthread_exit_process --browser="/usr/bin/google-chrome --enable-logging=stderr --v=1" 2>&1 | grep -B3 -A2 "should never get here"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions