Page MenuHomePhabricator

screenshot maker crash - decoupling from QmitkStdMultiWidget
Closed, WontfixPublic

Description

Hi,

I had two editors open, one was our custom editor, the second was QmitkStdMultiWidgetEditor. This latter was active.

The screenshot maker view of the moviemaker plugin crashed when it tried to save the picture. The stack trace is below.

I noticed that if only the QmitkStdMultiWidgetEditor was open then the screenshot was saved correctly and the application did not crash.

The moviemaker plugin should be decoupled from the standard editor, moreover, it should work on the active editor.

Thread [1] 7526 [core: 1] (Suspended : Signal : SIGFPE:Arithmetic exception)
vtkRenderLargeImage::RequestData() at 0x7fffed26d920
vtkRenderLargeImage::ProcessRequest() at 0x7fffed26def1
vtkExecutive::CallAlgorithm() at 0x7fffed756024
vtkDemandDrivenPipeline::ExecuteData() at 0x7fffed7498cc
vtkDemandDrivenPipeline::ProcessRequest() at 0x7fffed74c8ed
vtkStreamingDemandDrivenPipeline::ProcessRequest() at 0x7fffed8c02ac
vtkDemandDrivenPipeline::UpdateData() at 0x7fffed74b417
vtkStreamingDemandDrivenPipeline::Update() at 0x7fffed8c1ab5
vtkJPEGWriter::Write() at 0x7fffec6a03f0
QmitkScreenshotMaker::TakeScreenshot() at 0x7fffaa1efe37
<...more frames...>

Event Timeline

Does this error occur for "single screenshot" too? A short look into the code showed that the option "multiplanar screenshot" depends on the QmitkStdMultiWidgetEditor. However, the single screenshot option directly retrieves the VtkRenderer from current focus. The retrieved VtkRenderer should be independent of the QmitkStdMultiWidgetEditor.

Does anyone know, if there is another editor present in our repository to reproduce this behaviour?

Bug can't be reproduced with the editors and widgets present in MITK.

kislinsk added a project: Bulk Edit.
kislinsk removed a project: Bulk Edit.