ahoereth / RobotTrajectoryAnalyzerCpp

Robot Trajectory Analysis using the UIMA C++ Framework.
0 stars 0 forks source link

Error on AE cleanup in AnnotationGateway class #4

Open ahoereth opened 9 years ago

ahoereth commented 9 years ago

Deleting the TypeSystem on class destruction results in

Error in `./devel/lib/rta_nodes/acceleration_topic': corrupted double-linked list: 0x00000000026fb7b0

When not deleting it the following occurs:

Inconsistency detected by ld.so: dl-close.c: 762: _dl_close: Assertion `map->l_init_called' failed!

ahoereth commented 9 years ago

Probably related: https://bugs.launchpad.net/ubuntu/+source/krb5/+bug/1231459/comments/3

Seems to be a problem with threads and therefore with the mongo client - can't reproduce the error for raw UIMACPP applications.

GDB output on AE destruction regarding threads:

[...] JointStatePopulator::destroy() [Thread 0x7fffedb45700 (LWP 20173) exited] [Thread 0x7fffef348700 (LWP 20166) exited] [Thread 0x7fffeeb47700 (LWP 20167) exited] Inconsistency detected by ld.so: dl-close.c: 762: _dl_close: Assertion `map->l_init_called' failed! [Thread 0x7fffee346700 (LWP 20168) exited] [Inferior 1 (process 20161) exited with code 0177]