Segmentation fault at exit
For some time, there has been an issue with a segmentation fault when programs exit. This appears te be happening in the RobWork destructor when saving an XML file. Typically the outcome is different if the program is run independently, through valgrind or through a debugger. The segmentation fault might only occur in one of these runs. Also, it can make a difference if plugins are loaded or not. This makes it difficult to debug the error. It is believed that the error happens due to the destruction order of static members. The destruction order is well-defined (opposite to the construction order), but the construction order is unknown. This might explain that the error only happens in some circumstances.