Page MenuHomePhabricator

mitkWorkbench crashes after trying to load invalid scene file
Closed, ResolvedPublic

Description

If a invalid scene file is given as command line argument AND the option "Window->Preferences->General->Application Instances->"New instance for each MITK scene file" is ON then mitk crashes after this command.

I'll also attach a screenshot of the crash, maybe it helps to reproduce the bug.

Event Timeline

franza added a subscriber: franza.

Screenshot of the crash

Crash.jpg (1×1 px, 578 KB)

What did you assume to be an invalid scene file? One that does not exist? I tried this issue with a normal scene file and it worked perfectly alright. Probable pitfalls: Set path variable for additional third libs, check if file path isspecified correctly. Can you provide an invalid scene file to make this issue reproducible?

This bug has a high severity and was not fixed within the 2013-06 release. Setting target milestone to next release.

Alfred, please provide invalid scene file to make this bug reproducible.

the "invalid scene file" was a non-existing scene file in this case.

When I reported the bug I simply added a couple of random letters to the name of a scene file which I loaded before. This scene file didn't exist and MITK crashed.

New remote branch pushed: bug-14712-SceneLoadingCrash

[883988]: Merge branch 'bug-14712-SceneLoadingCrash'

Merged commits:

2013-11-27 14:38:15 Sven Mersmann [6f5df7]
mitkSceneIO now returns original data storage if scene file cannot be loaded.