artm/WatchThatSound — Issue #14: Crash in WTS::WaveformWidget::updateWaveform()
Author: artm
Created: 2011-10-26 11:53:54+00:00
State: open

Some crash reports from cinekid (software version 3.0.2 on a mac) have this backtrace:

```
0 nl.watchthatsound	0x000000010002111b WTS::WaveformWidget::updateWaveform(WTS::WtsAudio::BufferAt*, bool) + 667
1 nl.watchthatsound	0x0000000100034bc2 WTS::WaveformWidget::qt_metacall(QMetaObject::Call, int, void**) + 284
2 QtCore	0x00000001019ebd56 QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 710
3 nl.watchthatsound	0x00000001000344b1 WTS::SequencerTimeLine::bufferSelected(WTS::WtsAudio::BufferAt*) + 65
4 nl.watchthatsound	0x000000010001dbe3 WTS::SequencerTimeLine::updateSelection() + 167
5 nl.watchthatsound	0x0000000100034103 WTS::TimeLineWidget::qt_metacall(QMetaObject::Call, int, void**) + 271
6 nl.watchthatsound	0x00000001000344dd WTS::SequencerTimeLine::qt_metacall(QMetaObject::Call, int, void**) + 41
7 QtCore	0x00000001019ebd56 QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 710
8 QtGui	0x0000000101416a8c QGraphicsItem::setSelected(bool) + 524
9 QtGui	0x000000010141755f QGraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent*) + 431
10 nl.watchthatsound	0x0000000100032570 WTS::BufferItem::mousePressEvent(QGraphicsSceneMouseEvent*) + 172
11 QtGui	0x000000010141fe8f QGraphicsItem::sceneEvent(QEvent*) + 1215
12 QtGui	0x000000010143cfc1 QGraphicsScene::setFocus(Qt::FocusReason) + 2625
13 QtGui	0x000000010143dbd4 QGraphicsScene::contextMenuEvent(QGraphicsSceneContextMenuEvent*) + 1700
14 QtGui	0x00000001014553fb QGraphicsScene::qt_metacall(QMetaObject::Call, int, void**) + 3323
15 QtGui	0x0000000101455661 QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent*) + 97
16 QtGui	0x0000000101456b53 QGraphicsScene::event(QEvent*) + 1363
17 QtGui	0x0000000100e6fe9d QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189
18 QtGui	0x0000000100e7659e QApplication::notify(QObject*, QEvent*) + 2094
19 QtCore	0x00000001019e540c QCoreApplication::notifyInternal(QObject*, QEvent*) + 124
20 QtGui	0x0000000100e6ff3c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 348
21 QtGui	0x000000010146e655 QGraphicsView::mousePressEvent(QMouseEvent*) + 805
22 nl.watchthatsound	0x000000010001b9f3 WTS::TimeLineWidget::mousePressEvent(QMouseEvent*) + 41
23 QtGui	0x0000000100ec83bc QWidget::event(QEvent*) + 2844
24 QtGui	0x000000010123d64c QFrame::event(QEvent*) + 44
25 QtGui	0x00000001012c8c97 QAbstractScrollArea::viewportEvent(QEvent*) + 23
26 QtGui	0x000000010146f19b QGraphicsView::viewportEvent(QEvent*) + 123
27 QtGui	0x00000001012cb170 QAbstractScrollArea::qt_metacall(QMetaObject::Call, int, void**) + 416
28 QtCore	0x0000000101ad21f7 QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 151
29 QtGui	0x0000000100e6fe6e QApplicationPrivate::notify_helper(QObject*, QEvent*) + 142
30 QtGui	0x0000000100e77bd0 QApplication::notify(QObject*, QEvent*) + 7776
31 QtCore	0x00000001019e540c QCoreApplication::notifyInternal(QObject*, QEvent*) + 124
32 QtGui	0x0000000100e6ff3c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 348
33 QtGui	0x0000000100e27e8d QMacCocoaAutoReleasePool::~QMacCocoaAutoReleasePool() + 15997
34 com.apple.AppKit	0x00007fff82e1e763 -[NSWindow sendEvent:] + 5409
35 QtGui	0x0000000100e1f951 QMacInputContext::reset() + 32929
36 com.apple.AppKit	0x00007fff82d53ee2 -[NSApplication sendEvent:] + 4719
37 QtGui	0x0000000100e2302a QMacInputContext::reset() + 46970
38 com.apple.AppKit	0x00007fff82cea922 -[NSApplication run] + 474
39 QtGui	0x0000000100e2cd14 QDesktopWidget::resizeEvent(QResizeEvent*) + 12724
40 QtCore	0x0000000101ad18b4 QEventLoop::processEvents(QFlags) + 68
41 QtCore	0x0000000101ad1bd4 QEventLoop::exec(QFlags) + 180
42 QtCore	0x0000000101ad31fc QCoreApplication::exec() + 188
43 nl.watchthatsound	0x0000000100007709 main + 425
44 nl.watchthatsound	0x0000000100006bcc start + 52
```