It might be difficult to reproduce this bug, but it is very critical. I did the following:
- I added two US video devices to the Ultrasound plugin (with open CV ids "0" and "2", if I remember correctly).
- Closed the the plugin and MITK
after restart MITK crashed whenever I tried to open the Ultrasound plugin. Even blueberry clean or restarting the computer didn't help. I found out that the persistence (class mitk::USDevicePersistence) was the problem, because I could fix the problem by commenting out the loading method in this class.
Unfortunately I couldn't reproduce the bug yet. However such a problem should NEVER happen. Maybe someone has an idea how to fix this.
I already have one idea to make this more stable: any persistence data should also be deleted if "blueberry clean" is called.