class_loader icon indicating copy to clipboard operation
class_loader copied to clipboard

SEVERE WARNING!!! in tests

Open rotu opened this issue 5 years ago • 0 comments

The MultiClassLoaderTest.noWarningOnLazyLoad test case produces a scary looking warning.

Judging by the name of the case, (1) the warning should not happen (2) the test case is broken for failing to detect this warning.

7: [ RUN      ] MultiClassLoaderTest.noWarningOnLazyLoad
7: Warning: class_loader.ClassLoader: SEVERE WARNING!!! Attempting to unload library while objects created by this loader exist in the heap! You should delete your objects before attempting to unload the library or destroying the ClassLoader. The library will NOT be unloaded.
7:          at line 158 in /tmp/ws/src/ros/class_loader/src/class_loader.cpp
7: Warning: class_loader.ClassLoader: SEVERE WARNING!!! Attempting to unload library while objects created by this loader exist in the heap! You should delete your objects before attempting to unload the library or destroying the ClassLoader. The library will NOT be unloaded.
7:          at line 158 in /tmp/ws/src/ros/class_loader/src/class_loader.cpp
7: Meow
7: Bark
7: Beep boop
7: [       OK ] MultiClassLoaderTest.noWarningOnLazyLoad (0 ms)

rotu avatar Apr 14 '20 20:04 rotu