Page MenuHomePhabricator

Using File-Open on an mitk Scene file crashes the workbench
Closed, DuplicatePublic

Description

Using File -> Open on a sene file kills the workbench.

Event Timeline

There still seems to be a aignificant problem when loading scenes

  1. Load Scenefile in Debug: Crash always
  2. Load SceneFile in Release, by File->Open: Crash
  3. Load SceneFile in Release by Drag and drop: No crash, Processbar gets stuck at something like 80%

Debugging suggests that there are uninitialized members in SceneReader.Read()

Fixed, nodes are copied internally now to avoid corruption of the data storage

User maerz has pushed new remote branch:

bug-18274-UsingFileOpenOnAnMitkSceneFileCrashesTheWorkbench

Keno, sorry but I accidentally also fixed this bug in T18286. However, I fixed two additional bugs in the same context of scene reading and my solution regarding the corruption of the data storage get along without an extra copy. Hence, I would suggest to select my branch for merging if you don't mind. :-)