Page MenuHomePhabricator

mitkWorkbench crashed on Levelwindow Tooltip on Mac
Closed, ResolvedPublic

Description

Steps to reproduce this bug:

Start mitkWorkbench, load an image and move mouse cursor to the upper end of the level window bar:

A tooltip appears, then for a short moment disappears. After that mitkWorkbench crashes

Event Timeline

Application crashes in QtSafeApplication::notify (mitkWorkbench.cpp) by calling QApplication::notify. It is not yet clear whether it is the tooltip or the levelwindow slider which causes the crash.

Right before crash qt gives the following error message:

Pixmap::scaled: Pixmap is a null pixmap

this error message only appears on mac every time the cursor enters the levelwindow area where the tooltip is shown. When the cursor remains in this area the same error is printed by qt right before the crash occours.
Then in QtSafeApplication::notify a bad access error occurs. Perhaps the events passed to the function are deleted somewhere else while the function is processing the events.

[c4c60a]: Merge branch 'bug-13254-levelwindowToolTipCrashMac'

Merged commits:

2012-10-11 15:42:44 Andreas Fetzer [bd5c8f]
Fixed crash

Tooltip is now set directly to the SliderWidget instead of creating a new QToolTip object