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

Configure option --with-smp-linux breaks loadable-module support #1

Open
serguei-patchkovskii opened this issue Mar 29, 2021 · 2 comments
Assignees

Comments

@serguei-patchkovskii
Copy link
Member

Using configure --with-smp-linux produces an executable which will hang if loadable modules are used, and a program is loaded from the command line (i.e. combination of options dx -mdf ... -program ...). The workaround is to start OpenDX with the top-level picker menu (dx -mdf ...), then load the desired program with "Run Visual Programs ..."). Alternatively, do not use --with-smp-linux

The problem appears to be limited to the loadable-module initialization code: once the startup is successful, visual programs and loadable modules function normally.

@serguei-patchkovskii
Copy link
Member Author

The issue appears fixed in the v4.4.5-sourceforge branch, which completely changes threading model on Linux (from multi-process to multi-threaded). Folding the fixes from the sourceforge branch will require some significant work though ...

@serguei-patchkovskii
Copy link
Member Author

A test merge of the v4.4.5-sourceforge does not eliminate the problem (although apparently it allows OpenDX to start sometimes, suggesting a race condition during initialization).

@serguei-patchkovskii serguei-patchkovskii self-assigned this Apr 6, 2021
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

1 participant