-
Notifications
You must be signed in to change notification settings - Fork 95
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
usage of multiple static variables is discouraged #33
Comments
This was referenced Apr 3, 2016
Merged
rhaschke
added a commit
to ubi-agni/robot_model
that referenced
this issue
Apr 7, 2016
- crashes on exit: ros/class_loader#33 - on-demand-unloading works with ros/class_loader#34
guihomework
pushed a commit
to ubi-agni/robot_model
that referenced
this issue
Aug 25, 2016
- crashes on exit: ros/class_loader#33 - on-demand-unloading works with ros/class_loader#34
rhaschke
added a commit
to ubi-agni/robot_model
that referenced
this issue
Sep 13, 2016
- crashes on exit: ros/class_loader#33 - on-demand-unloading works with ros/class_loader#34
rhaschke
added a commit
to ubi-agni/urdf
that referenced
this issue
Dec 19, 2017
- crashes on exit: ros/class_loader#33 - on-demand-unloading works with ros/class_loader#34
rhaschke
added a commit
to ubi-agni/urdf
that referenced
this issue
Aug 10, 2018
- crashes on exit: ros/class_loader#33 - on-demand-unloading works with ros/class_loader#34
rhaschke
added a commit
to ubi-agni/urdf
that referenced
this issue
Feb 8, 2019
- crashes on exit: ros/class_loader#33 - on-demand-unloading works with ros/class_loader#34
rhaschke
added a commit
to ubi-agni/urdf
that referenced
this issue
Oct 7, 2020
- crashes on exit: ros/class_loader#33 - on-demand-unloading works with ros/class_loader#34
rhaschke
added a commit
to ubi-agni/urdf
that referenced
this issue
Sep 21, 2022
- crashes on exit: ros/class_loader#33 - on-demand-unloading works with ros/class_loader#34
rhaschke
added a commit
to ubi-agni/urdf
that referenced
this issue
Sep 22, 2022
- crashes on exit: ros/class_loader#33 - on-demand-unloading works with ros/class_loader#34
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm double-posting this issue, which shows up in pluginlib usage: ros/pluginlib#37
Using static pluginlib
ClassLoader
defers lib unloading to program shutdown time.But as the order of static releases is undefined, the program might crash.
IMHO, class_loader shouldn't use a handful of unrelated static vars, but collect them within a singleton class, which is only freed when all loaded libs were unloaded.
The text was updated successfully, but these errors were encountered: