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

Comments

Projects
None yet
5 participants
@biddisco
Copy link
Contributor

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

This comment has been minimized.

Copy link
Contributor

commented Dec 6, 2017

I am also getting this error on macOS with clang 5.0.0

@hkaiser

This comment has been minimized.

Copy link
Member

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 referenced this issue Dec 7, 2017

Closed

Fix failing tests #3044

28 of 28 tasks complete
@kleinhenz

This comment has been minimized.

Copy link
Contributor

commented Dec 7, 2017

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 added a commit that referenced this issue Dec 8, 2017

Fixing #2931
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 Dec 9, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.