crash when change frame rate for screen sharing
tested on macOS.
steps:
- open video/audio settings
- change framerate for screen sharing
- app crashes
Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 libringclient.1.0.0.dylib 0x00000001092d2028 lrc::api::video::Renderer::isRendering() const + 8
1 libringclient.1.0.0.dylib 0x00000001092f722d lrc::api::AVModel::setDeviceSettings(lrc::api::video::Settings&) + 957
2 cx.ring 0x0000000108e1a7d8 VideoDevices::setDisplayFPS(QString const&) + 152
3 cx.ring 0x0000000108d639e0 0x108d48000 + 113120
4 cx.ring 0x0000000108d63d8a VideoDevices::qt_metacall(QMetaObject::Call, int, void**) + 138
5 org.qt-project.QtQml 0x000000010a0bc976 0x109f41000 + 1554806
6 org.qt-project.QtQml 0x000000010a0b8d97 0x109f41000 + 1539479
7 org.qt-project.QtQml 0x000000010a0b736c QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const + 1020
8 org.qt-project.QtQml 0x000000010a10bad2 0x109f41000 + 1878738
9 org.qt-project.QtQml 0x000000010a10a676 0x109f41000 + 1873526
10 org.qt-project.QtQml 0x000000010a07618e QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) + 382
11 org.qt-project.QtQml 0x000000010a075e7f QV4::Function::call(QV4::Value const*, void**, QMetaType const*, int, QV4::ExecutionContext const*) + 271
12 org.qt-project.QtQml 0x000000010a193bcc QQmlJavaScriptExpression::evaluate(void**, QMetaType const*, int) + 460
13 org.qt-project.QtQml 0x000000010a14de2d QQmlBoundSignalExpression::evaluate(void**) + 1021
14 org.qt-project.QtQml 0x000000010a14e38e 0x109f41000 + 2151310
15 org.qt-project.QtQml 0x000000010a1b9356 QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) + 630
16 org.qt-project.QtCore 0x000000010b4ed6b8 0x10b401000 + 968376
17 org.qt-project.QtQml 0x000000010a2501c6 QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) + 502
18 org.qt-project.QtQml 0x000000010a0bae59 0x109f41000 + 1547865
19 org.qt-project.QtQml 0x000000010a0b8cbe 0x109f41000 + 1539262
20 org.qt-project.QtQml 0x000000010a0b736c QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const + 1020
21 org.qt-project.QtQml 0x000000010a10bad2 0x109f41000 + 1878738
22 org.qt-project.QtQml 0x000000010a10a676 0x109f41000 + 1873526
23 org.qt-project.QtQml 0x000000010a07618e QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) + 382
24 org.qt-project.QtQml 0x000000010a075e7f QV4::Function::call(QV4::Value const*, void**, QMetaType const*, int, QV4::ExecutionContext const*) + 271
25 org.qt-project.QtQml 0x000000010a193bcc QQmlJavaScriptExpression::evaluate(void**, QMetaType const*, int) + 460
26 org.qt-project.QtQml 0x000000010a14de2d QQmlBoundSignalExpression::evaluate(void**) + 1021
27 org.qt-project.QtQml 0x000000010a14e38e 0x109f41000 + 2151310
28 org.qt-project.QtQml 0x000000010a1b9356 QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) + 630
29 org.qt-project.QtCore 0x000000010b4ed6b8 0x10b401000 + 968376
30 org.qt-project.QtQuickTemplates2 0x0000000120ebbe9a 0x120e8b000 + 200346
31 org.qt-project.QtQuickTemplates2 0x0000000120ebc359 0x120e8b000 + 201561
32 org.qt-project.QtCore 0x000000010b4ed963 0x10b401000 + 969059
33 org.qt-project.QtQuickTemplates2 0x0000000120ea5e98 QQuickAbstractButtonPrivate::handleRelease(QPointF const&) + 184
34 org.qt-project.QtQuickTemplates2 0x0000000120ed0dd5 QQuickControl::mouseReleaseEvent(QMouseEvent*) + 53
35 org.qt-project.QtQuick 0x000000010981a414 QQuickItem::event(QEvent*) + 324
36 org.qt-project.QtWidgets 0x000000010a60a9c7 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 247
37 org.qt-project.QtWidgets 0x000000010a60bb45 QApplication::notify(QObject*, QEvent*) + 501
38 org.qt-project.QtCore 0x000000010b49b849 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 169
39 org.qt-project.QtQuick 0x00000001099a969d QQuickDeliveryAgentPrivate::deliverMatchingPointsToItem(QQuickItem*, bool, QPointerEvent*, bool) + 797
40 org.qt-project.QtQuick 0x00000001099a8bf0 QQuickDeliveryAgentPrivate::deliverUpdatedPoints(QPointerEvent*) + 960
41 org.qt-project.QtQuick 0x00000001099a31cd QQuickDeliveryAgentPrivate::deliverPointerEvent(QPointerEvent*) + 2717
42 org.qt-project.QtQuick 0x00000001099a0fe1 QQuickDeliveryAgentPrivate::handleMouseEvent(QMouseEvent*) + 337
43 org.qt-project.QtQuick 0x00000001099a06f4 QQuickDeliveryAgent::event(QEvent*) + 84
44 org.qt-project.QtQuick 0x00000001098bf0d3 QQuickWindow::event(QEvent*) + 3731
45 org.qt-project.QtWidgets 0x000000010a60a9c7 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 247
46 org.qt-project.QtWidgets 0x000000010a60bb45 QApplication::notify(QObject*, QEvent*) + 501
47 org.qt-project.QtCore 0x000000010b49b849 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 169
48 org.qt-project.QtGui 0x000000010acd072a QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 2426
49 org.qt-project.QtGui 0x000000010ad1ed6b QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 427
50 libqcocoa.dylib 0x000000010e2f234b 0x10e2da000 + 99147
51 com.apple.CoreFoundation 0x00007fff204b62bc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
52 com.apple.CoreFoundation 0x00007fff204b6224 __CFRunLoopDoSource0 + 180
53 com.apple.CoreFoundation 0x00007fff204b5fa4 __CFRunLoopDoSources0 + 242
54 com.apple.CoreFoundation 0x00007fff204b49cc __CFRunLoopRun + 893
55 com.apple.CoreFoundation 0x00007fff204b3f8c CFRunLoopRunSpecific + 563
56 com.apple.HIToolbox 0x00007fff286fc1f3 RunCurrentEventLoopInMode + 292
57 com.apple.HIToolbox 0x00007fff286fbe26 ReceiveNextEventCommon + 284
58 com.apple.HIToolbox 0x00007fff286fbcf3 _BlockUntilNextEventMatchingListInModeWithFilter + 70
59 com.apple.AppKit 0x00007fff22cbd172 _DPSNextEvent + 864
60 com.apple.AppKit 0x00007fff22cbb945 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1364
61 com.apple.AppKit 0x00007fff22cadc69 -[NSApplication run] + 586
62 libqcocoa.dylib 0x000000010e2f10e8 0x10e2da000 + 94440
63 org.qt-project.QtCore 0x000000010b4a4b16 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 470
64 org.qt-project.QtCore 0x000000010b49be72 QCoreApplication::exec() + 130
65 cx.ring 0x0000000108d7d18c main + 444
66 libdyld.dylib 0x00007fff203d9f3d start + 1