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

Listener crash on Windows 10 #855

Closed
rex-schilasky opened this issue Jun 16, 2021 · 2 comments
Closed

Listener crash on Windows 10 #855

rex-schilasky opened this issue Jun 16, 2021 · 2 comments

Comments

@rex-schilasky
Copy link

Required information

Operating system:
Microsoft Windows 10 Enterprise
Version 10.0.19042 Build 19042

Compiler version:
Microsoft Visual Studio Professional 2019
Version 16.10.2

Observed result or behaviour:
Instantiation of iox::popo::Listener leads to unexpected error.

Expected result or behaviour:
Listener should run on Windows 10 platform.

Conditions where it occurred / Performed steps:
Compile (VS2019 - Debug) an run following sample.

#include "iceoryx_posh/runtime/posh_runtime.hpp"
#include "iceoryx_posh/popo/listener.hpp"

int main()
{
  iox::runtime::PoshRuntime::initRuntime("LISTENER-TEST");
  iox::popo::Listener listener;
  return 0;
}

listener-crash

@elfenpiff
Copy link
Contributor

elfenpiff commented Jun 16, 2021

@rex-schilasky This should be fixed now with the merge of PR #834 to master - could you please confirm this.

The problem was that the mutex and semaphore was not inter process capable which is a requirement for the WaitSet and Listener. But now everything should work as expected.

@rex-schilasky
Copy link
Author

It's working as expected now. Thank you for that fast fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants