[Mac] Crash on undo after adding/removing key signatures

• Apr 6, 2013 - 08:24
Reported version
2.1
Type
Functional
Severity
S2 - Critical
Status
closed
Project

I'm not sure if the key signatures had anything to do with it, but the steps were roughly:

- new score
- add a few notes
- add a key signature
- add another key signature
- undo
- undo
- CRASH

See attached crash trace.

OS X 10.8.3

Attachment Size
crash.txt 49.79 KB

Comments

Title [Mac] Crash on undo after adding / removing key signatures [Mac] Crash on undo after adding/removing key signatures

Hi zscore

Can you still reproduce? If so, what commit?

The crash log has nothing to do with key signature. It's a low level crash in Qt paint engine code called by our style.

0   QtCore                        	0x00000001114b3b2b QHashData::rehash(int) + 203
1   QtGui                         	0x00000001108b3b2e operator>>(QDataStream&, QPaintBuffer&) + 97070
2   QtGui                         	0x00000001108b3ee2 operator>>(QDataStream&, QPaintBuffer&) + 98018
3   QtGui                         	0x00000001108a55d4 operator>>(QDataStream&, QPaintBuffer&) + 38356
4   QtGui                         	0x00000001108a831e operator>>(QDataStream&, QPaintBuffer&) + 49950
5   QtGui                         	0x00000001108ac8cc operator>>(QDataStream&, QPaintBuffer&) + 67788
6   QtGui                         	0x0000000110814a8d QPaintEngineEx::draw(QVectorPath const&) + 205
7   QtGui                         	0x0000000110823722 QPainter::QPainter(QPaintDevice*) + 1154
8   QtGui                         	0x00000001108259f1 QPainter::drawRects(QRect const*, int) + 689
9   QtGui                         	0x0000000110825ae5 QPainter::fillRect(QRect const&, QBrush const&) + 197
10  net.sourceforge.mscore        	0x000000010cde8106 MgStyle::renderSplitter(QStyleOption const*, QPainter*, QWidget const*, bool) const + 1542
11  net.sourceforge.mscore        	0x000000010ce13fb9 MgStyle::drawIndicatorDockWidgetResizeHandlePrimitive(QStyleOption const*, QPainter*, QWidget const*) const + 137
12  net.sourceforge.mscore        	0x000000010cdd9d17 MgStyle::drawPrimitive(QStyle::PrimitiveElement, QStyleOption const*, QPainter*, QWidget const*) const + 967
13  QtGui                         	0x0000000110a0d1a4 QProxyStyle::QProxyStyle(QStyle*) + 91700
14  QtGui                         	0x0000000110aba885 QDockWidget::paintEvent(QPaintEvent*) + 6165
15  QtGui                         	0x0000000110abddf6 QDockWidget::paintEvent(QPaintEvent*) + 19846
16  QtGui                         	0x0000000110ae8310 QMainWindow::event(QEvent*) + 480