Skip to content
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

--hpx:help triggers unusual error with clang build #2931

Closed
biddisco opened this issue Oct 5, 2017 · 3 comments
Closed

--hpx:help triggers unusual error with clang build #2931

biddisco opened this issue Oct 5, 2017 · 3 comments

Comments

@biddisco
Copy link
Contributor

biddisco commented Oct 5, 2017

hello world gives error when --hpx:help is used and when hpx is compiled with clang.
most unusual.

bin/hello_world --hpx:help
... usual help output is dumped here ...
terminating with uncaught exception of type std::__1::system_error: recursive_mutex lock failed: Invalid argument
Aborted (core dumped)
@biddisco biddisco changed the title --hpx:help trigger unusual error with clang build --hpx:help triggers unusual error with clang build Oct 5, 2017
@kleinhenz
Copy link
Contributor

I am also getting this error on macOS with clang 5.0.0

@hkaiser
Copy link
Member

hkaiser commented Dec 6, 2017

Does this happen in Debug as well? Would it be possible to pinpoint the recursive_mutex instance it's complaining about?

@hkaiser hkaiser added this to the 1.2.0 milestone Dec 6, 2017
@msimberg msimberg mentioned this issue Dec 7, 2017
28 tasks
@kleinhenz
Copy link
Contributor

I get the same error in the Debug build of hpx but unfortunately the error does not appear when run in lldb so I wasn't able to get a backtrace.

@msimberg msimberg modified the milestones: 1.2.0, 1.1.0 Dec 8, 2017
sithhell pushed a commit that referenced this issue Dec 8, 2017
runtime termination in the presence of --hpx:help or --hpx:version needs to
happen after the runtime has been initialized.
sithhell added a commit that referenced this issue Dec 9, 2017
@sithhell sithhell closed this as completed Dec 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants