Page MenuHomePhabricator

Crash on "reset perspective" after a "close perspective" action
Closed, ResolvedPublic

Description

Start MITK -> Close perspective -> Reset perspective -> crash

Event Timeline

When switching to the branch

MITK: 250e22e9de12fa42521f8c9bbd06ccfbc2c26c81
MBI: bug-18063-v4_organ_classification_IntBr

and super-building MBI, the MitkWorkbench does not have this crash issue.

In detail, after closing Perspective from the "Window" tag, the "reset Perspective" button becomes unavailable.

I cannot verify this bug, too,

Platform: Win64, VS 2013

If we only "Reset Perspective", the function "WorkbenchPage::ResetPerspective()" in "berryWorkbenchPage.cpp" is called.

If we "close perspective" and "reset perspective", the following function is called and then the program terminates unexpectedly.

"berry::PlatformUI::GetWorkbench()->GetActiveWorkbenchWindow()->GetActivePage()->ResetPerspective();" in the file "QmitkExtWorkbenchWindowAdvisor.cpp"

The error report is "Can't find a source file at "/build/buildd/eglibc-2.19/signal/../nptl/sysdeps/unix/sysv/linux/raise.c"
Locate the file or edit the source lookup path to include its location."

I suspect that it cannot "GetActivePage()" after "Close Perspective"..

*Ubuntu 14.04

Was obviously fixed with the latest BlueBerry update as Reset Perspective is inactive when no perspective is open.