http://bugs.orocos.org/show_bug.cgi?id=940
Summary: TypeInfoRepository is not thread-safe, leading to
segfaults in complex lua scripts
Product: Toolchain
Version: master
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P3
Component: RTT
AssignedTo: orocos-dev [..] ...
ReportedBy: peter [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0
Created attachment 784
--> http://bugs.orocos.org/attachment.cgi?id=784
Fixup that only works on gnulinux and win32 targets
When we're running complex lua scripts (like in iTaSC controllers) multiple
scripts start importing types and crash the TypeInfoRepository. The only
solution is to protect it with a Mutex, which this patch does, but not in a
nice way for Xenomai targets. The mutex needs to be contructed non-static with
the type repos object itself.
[Bug 940] TypeInfoRepository is not thread-safe, leading to segf
http://bugs.orocos.org/show_bug.cgi?id=940
Peter Soetens <peter [..] ...> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED