Bug #1937

Crash on Mac when hitting New Session while playing

Added by Chris Cannam over 4 years ago. Updated over 4 years ago.

Status:NewStart date:2019-10-10
Priority:UrgentDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

  • Load an audio file
  • Play
  • Hit the New Session button
  • Crash

Trace from reporting window:

Termination Signal:    Floating point exception: 8
Termination Reason:    Namespace SIGNAL, Code 0x8
Terminating Process:   exc handler [57840]

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   org.sonicvisualiser.SonicVisualiser    0x000000010947c42a frame2RealTime_i(long long, long long) + 26
1   org.sonicvisualiser.SonicVisualiser    0x000000010933daa1 AudioCallbackPlaySource::stop() + 193
2   org.sonicvisualiser.SonicVisualiser    0x00000001093880df MainWindowBase::stop() + 79
3   org.sonicvisualiser.SonicVisualiser    0x00000001093ccd4b MainWindow::newSession() + 59
4   QtCore                            0x000000010ae3d1bf QMetaObject::activate(QObject*, int, int, void**) + 2319
5   QtWidgets                         0x0000000109f644a5 QAction::activate(QAction::ActionEvent) + 309
6   QtWidgets                         0x000000010a056403 0x109f5d000 + 1020931
7   QtWidgets                         0x000000010a05758f QAbstractButton::mouseReleaseEvent(QMouseEvent*) + 271
8   QtWidgets                         0x000000010a14e19f QToolButton::mouseReleaseEvent(QMouseEvent*) + 15
9   QtWidgets                         0x0000000109fa931d QWidget::event(QEvent*) + 445
10  QtWidgets                         0x000000010a14e72f QToolButton::event(QEvent*) + 319
11  QtWidgets                         0x0000000109f6d9fd QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
12  QtWidgets                         0x0000000109f70858 QApplication::notify(QObject*, QEvent*) + 7336
13  QtCore                            0x000000010ae0bcc4 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212
14  QtWidgets                         0x0000000109f6e320 QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) + 896
15  QtWidgets                         0x0000000109fc879e 0x109f5d000 + 440222
16  QtWidgets                         0x0000000109fc7485 0x109f5d000 + 435333
17  QtWidgets                         0x0000000109f6d9fd QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
18  QtWidgets                         0x0000000109f6ee02 QApplication::notify(QObject*, QEvent*) + 594
19  QtCore                            0x000000010ae0bcc4 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212
20  QtGui                             0x000000010a543835 QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 3397
21  QtGui                             0x000000010a52adab QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 219
22  libqcocoa.dylib                   0x000000010cd58010 0x10cd23000 + 217104
23  libqcocoa.dylib                   0x000000010cd58778 0x10cd23000 + 219000
24  com.apple.CoreFoundation          0x00007fff3a8503bb __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
25  com.apple.CoreFoundation          0x00007fff3a850361 __CFRunLoopDoSource0 + 108
26  com.apple.CoreFoundation          0x00007fff3a83426b __CFRunLoopDoSources0 + 195
27  com.apple.CoreFoundation          0x00007fff3a833833 __CFRunLoopRun + 1196

History

#1 Updated by Chris Cannam over 4 years ago

Fix is in d24346ba5aeb - not tested on Mac yet.

Also available in: Atom PDF