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

util::plugin is throwing an error when a symbol is not found #784

Closed
sithhell opened this issue Jun 12, 2013 · 1 comment
Closed

util::plugin is throwing an error when a symbol is not found #784

sithhell opened this issue Jun 12, 2013 · 1 comment

Comments

@sithhell
Copy link
Member

Currently, when loading components, we check for specific symbol in the shared libraries of components. If a symbol is not found, util::plugin throws. This is annoying when trying to debug an application were an exception is thrown with gdb. You usually do a "catch throw", unfortunately, this will also catch those exceptions from util::plugin.

The suggestion would be to use the error_code technique as done in other places already, for example the parcelport.

@sithhell
Copy link
Member Author

The following gist contains backtraces to occurrences of those thrown exceptions:
https://gist.github.com/sithhell/5768768

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

2 participants