|
2467 | QCAD (main) | Bug Report | Low | macOS M1/M2 setup with multiple screens: crash during i... | Assigned | |
|
Task Description
I sometimes start QCAD Pro on a project and then go do something else after a while, leaving it open in the background.
At least 5 times now it died in this state, in the background, without user activity, giving me the ‘quit unexpectedly’ dialog.
Here’s some part of the log that macOS collects when that happens:
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: QCAD-Pro [62952]
Path: /Applications/QCAD-Pro.app/Contents/MacOS/QCAD-Pro
Identifier: org.qcad
Version: 3.28 (3.28.0)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2023-04-15 15:39:31.3443 +0200
OS Version: macOS 13.3.1 (22E261)
Report Version: 12
Anonymous UUID: 7BF39A64-2E31-A624-4A66-896554C6DEC0
Sleep/Wake UUID: 8D811F79-BAFA-4D25-BDA4-DF99AEE2DE0E
Time Awake Since Boot: 300000 seconds
Time Since Wake: 1 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000018
Exception Codes: 0x0000000000000001, 0x0000000000000018
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [62952]
VM Region Info: 0x18 is not in any region. Bytes before following region: 105553518919656
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
MALLOC_NANO (reserved) 600018000000-600020000000 [128.0M] rw-/rwx SM=NUL ...(unallocated)
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 QtGui 0x104c3b884 QMacCGContext::QMacCGContext(QPainter*) + 44
1 libqmacstyle.dylib 0x1063fe838 0x1063f4000 + 43064
2 libqmacstyle.dylib 0x106405fec 0x1063f4000 + 73708
3 QtWidgets 0x1055263e4 QCommonStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const + 2132
4 libqmacstyle.dylib 0x10640379c 0x1063f4000 + 63388
5 QtWidgets 0x105562000 0x1054b4000 + 712704
6 QtWidgets 0x10568c474 QTabBar::paintEvent(QPaintEvent*) + 1584
7 QtWidgets 0x105508f70 QWidget::event(QEvent*) + 132
8 QtWidgets 0x10568bcd4 QTabBar::event(QEvent*) + 736
9 QtWidgets 0x1054bf520 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 272
10 QtWidgets 0x1054c0ffc QApplication::notify(QObject*, QEvent*) + 3396
11 QtCore 0x1065b7570 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 292
12 QtWidgets 0x1054fc214 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 3312
13 QtWidgets 0x105503890 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 864
14 QtWidgets 0x105503780 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 592
15 QtWidgets 0x105503780 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 592
16 QtWidgets 0x105503780 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 592
17 QtWidgets 0x105503780 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 592
18 QtWidgets 0x1054fc314 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 3568
19 QtWidgets 0x105519aec QWidgetRepaintManager::paintAndFlush() + 3872
20 QtWidgets 0x105519d70 QWidgetRepaintManager::sync() + 252
21 QtWidgets 0x105509410 QWidget::event(QEvent*) + 1316
22 QtWidgets 0x105624f10 QMainWindow::event(QEvent*) + 248
23 QtWidgets 0x1054bf520 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 272
24 QtWidgets 0x1054c0ffc QApplication::notify(QObject*, QEvent*) + 3396
25 QtCore 0x1065b7570 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 292
26 QtWidgets 0x105516800 QWidgetRepaintManager::sendUpdateRequest(QWidget*, QWidgetRepaintManager::UpdateTime) + 604
27 QtWidgets 0x105516540 void QWidgetRepaintManager::markDirty<QRect>(QRect const&, QWidget*, QWidgetRepaintManager::UpdateTime, QWidgetRepaintManager::BufferState) + 1748
28 QtWidgets 0x10551fdcc 0x1054b4000 + 441804
29 QtCore 0x106600ce4 0x106550000 + 724196
30 QtGui 0x1049b47c4 QWindowPrivate::emitScreenChangedRecursion(QScreen*) + 80
31 QtGui 0x1049aa348 QScreen::~QScreen() + 700
32 QtGui 0x1049aa3b0 QScreen::~QScreen() + 12
33 QtGui 0x1049bec7c QWindowSystemInterface::handleScreenRemoved(QPlatformScreen*) + 36
34 libqcocoa.dylib 0x103de7d80 0x103db8000 + 195968
35 libqcocoa.dylib 0x103de65d0 0x103db8000 + 189904
36 libqcocoa.dylib 0x103dfb014 0x103db8000 + 274452
37 QtCore 0x1065c63d8 QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const + 1072
38 libqcocoa.dylib 0x103dfe45c 0x103db8000 + 287836
39 CoreFoundation 0x18e193240 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 128
40 CoreFoundation 0x18e22ef30 ___CFXRegistrationPost_block_invoke + 88
41 CoreFoundation 0x18e22ee78 _CFXRegistrationPost + 440
42 CoreFoundation 0x18e164580 _CFXNotificationPost + 704
43 Foundation 0x18f0c19e4 -[NSNotificationCenter postNotificationName:object:userInfo:] + 88
44 AppKit 0x1915834bc __67-[NSWindow _updateSettingsSendingScreenChangeNotificationToScreen:]_block_invoke + 496
45 AppKit 0x1913ff7e0 NSPerformVisuallyAtomicChange + 108
46 AppKit 0x1915832c0 -[NSWindow _updateSettingsSendingScreenChangeNotificationToScreen:] + 96
47 AppKit 0x1916c3ec0 -[NSWindow _screenChanged:] + 136
48 AppKit 0x1916c3e18 -[NSWindow _displayChangedSoAdjustWindows:] + 112
49 AppKit 0x191d3156c -[_NSFullScreenContentController displayChanged] + 28
50 AppKit 0x191dd5834 -[_NSFullScreenSpace displayChanged] + 48
51 AppKit 0x191dd4504 _fullScreenInstanceMovedSpaces + 208
52 SkyLight 0x192da9e34 (anonymous namespace)::notify_datagram_handler(unsigned int, CGSDatagramType, void*, unsigned long, void*) + 888
53 SkyLight 0x1930e9c84 CGSDatagramReadStream::dispatchMainQueueDatagrams() + 228
54 SkyLight 0x1930e9b80 invocation function for block in CGSDatagramReadStream::mainQueueWakeup() + 28
55 libdispatch.dylib 0x18df0e874 _dispatch_call_block_and_release + 32
56 libdispatch.dylib 0x18df10400 _dispatch_client_callout + 20
57 libdispatch.dylib 0x18df1ebf8 _dispatch_main_queue_drain + 928
58 libdispatch.dylib 0x18df1e848 _dispatch_main_queue_callback_4CF + 44
59 CoreFoundation 0x18e1dfc88 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
60 CoreFoundation 0x18e19d4a8 __CFRunLoopRun + 1992
61 CoreFoundation 0x18e19c58c CFRunLoopRunSpecific + 612
62 HIToolbox 0x1979d1df4 RunCurrentEventLoopInMode + 292
63 HIToolbox 0x1979d1c30 ReceiveNextEventCommon + 648
64 HIToolbox 0x1979d1988 _BlockUntilNextEventMatchingListInModeWithFilter + 76
65 AppKit 0x1913bbf58 _DPSNextEvent + 636
66 AppKit 0x1913bb0f4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716
67 AppKit 0x1913af558 -[NSApplication run] + 464
68 libqcocoa.dylib 0x103dcd0d8 0x103db8000 + 86232
69 QtCore 0x1065c0994 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 532
70 QtCore 0x1065b7c0c QCoreApplication::exec() + 128
71 libqcadjsapi.dylib 0x116ab5648 QCoreApplication_WrapperSingleton::exec() + 24
72 libqcadjsapi.dylib 0x11625d1b8 QCoreApplication_WrapperSingleton::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 684
73 libqcadjsapi.dylib 0x11625d930 QCoreApplication_WrapperSingleton::qt_metacall(QMetaObject::Call, int, void**) + 100
74 QtQml 0x1045e58f8 0x1044b8000 + 1235192
75 QtQml 0x1045e245c 0x1044b8000 + 1221724
76 QtQml 0x1045e0f30 QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const + 956
77 QtQml 0x1045fef88 QV4::Runtime::CallProperty::call(QV4::ExecutionEngine*, QV4::Value const&, int, QV4::Value*, int) + 420
78 QtQml 0x10462bc00 0x1044b8000 + 1522688
79 QtQml 0x10462aaec 0x1044b8000 + 1518316
80 QtQml 0x1045a5c18 0x1044b8000 + 973848
81 QtQml 0x1045fef88 QV4::Runtime::CallProperty::call(QV4::ExecutionEngine*, QV4::Value const&, int, QV4::Value*, int) + 420
82 QtQml 0x10462bc00 0x1044b8000 + 1522688
83 QtQml 0x10462aaec 0x1044b8000 + 1518316
84 QtQml 0x1045a5c18 0x1044b8000 + 973848
85 QtQml 0x1045fed60 QV4::Runtime::CallName::call(QV4::ExecutionEngine*, int, QV4::Value*, int) + 388
86 QtQml 0x10462c11c 0x1044b8000 + 1523996
87 QtQml 0x10462aaec 0x1044b8000 + 1518316
88 QtQml 0x1045a2744 QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext*) + 368
89 QtQml 0x104603dfc QV4::Script::run(QV4::Value const*) + 228
90 QtQml 0x10454a5a0 QJSEngine::evaluate(QString const&, QString const&, int, QList<QString>*) + 336
91 libqcadjsapi.dylib 0x11692bf9c RScriptHandlerJs::doScript(QString const&, QList<QString> const&) + 336
92 libqcadcore.dylib 0x1036fd5b8 RScriptHandler::autostart(QString const&, QList<QString> const&) + 2000
93 QCAD-Pro 0x102f7d87c main + 4996
94 dyld 0x18dd67f28 start + 2236
Thread 1:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x18e08aff0 __select + 8
1 CoreFoundation 0x18e1c81e8 __CFSocketManager + 636
2 libsystem_pthread.dylib 0x18e0bffa8 _pthread_start + 148
3 libsystem_pthread.dylib 0x18e0bada0 thread_start + 8
Thread 2:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x18e07ff14 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x18e092240 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x18e088b78 mach_msg_overwrite + 604
3 libsystem_kernel.dylib 0x18e080290 mach_msg + 24
4 CoreFoundation 0x18e19e8b8 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x18e19d198 __CFRunLoopRun + 1208
6 CoreFoundation 0x18e19c58c CFRunLoopRunSpecific + 612
7 AppKit 0x1914e6508 _NSEventThread + 172
8 libsystem_pthread.dylib 0x18e0bffa8 _pthread_start + 148
9 libsystem_pthread.dylib 0x18e0bada0 thread_start + 8
Thread 3:
0 libsystem_pthread.dylib 0x18e0bad8c start_wqthread + 0
Thread 4:
0 libsystem_pthread.dylib 0x18e0bad8c start_wqthread + 0
Thread 5:: Thread (pooled)
0 libsystem_kernel.dylib 0x18e083710 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18e0c0574 _pthread_cond_wait + 1232
2 QtCore 0x1067282f4 0x106550000 + 1934068
3 QtCore 0x106727fac 0x106550000 + 1933228
4 QtCore 0x106727ed8 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 108
5 QtCore 0x106722630 0x106550000 + 1910320
6 QtCore 0x10671e374 0x106550000 + 1893236
7 libsystem_pthread.dylib 0x18e0bffa8 _pthread_start + 148
8 libsystem_pthread.dylib 0x18e0bada0 thread_start + 8
Thread 6:: Thread (pooled)
0 libsystem_kernel.dylib 0x18e083710 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18e0c0574 _pthread_cond_wait + 1232
2 QtCore 0x1067282f4 0x106550000 + 1934068
3 QtCore 0x106727fac 0x106550000 + 1933228
4 QtCore 0x106727ed8 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 108
5 QtCore 0x106722630 0x106550000 + 1910320
6 QtCore 0x10671e374 0x106550000 + 1893236
7 libsystem_pthread.dylib 0x18e0bffa8 _pthread_start + 148
8 libsystem_pthread.dylib 0x18e0bada0 thread_start + 8
Thread 7:: Thread (pooled)
0 libsystem_kernel.dylib 0x18e083710 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18e0c0574 _pthread_cond_wait + 1232
2 QtCore 0x1067282f4 0x106550000 + 1934068
3 QtCore 0x106727fac 0x106550000 + 1933228
4 QtCore 0x106727ed8 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 108
5 QtCore 0x106722630 0x106550000 + 1910320
6 QtCore 0x10671e374 0x106550000 + 1893236
7 libsystem_pthread.dylib 0x18e0bffa8 _pthread_start + 148
8 libsystem_pthread.dylib 0x18e0bada0 thread_start + 8
Thread 8:: Thread (pooled)
0 libsystem_kernel.dylib 0x18e083710 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18e0c0574 _pthread_cond_wait + 1232
2 QtCore 0x1067282f4 0x106550000 + 1934068
3 QtCore 0x106727fac 0x106550000 + 1933228
4 QtCore 0x106727ed8 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 108
5 QtCore 0x106722630 0x106550000 + 1910320
6 QtCore 0x10671e374 0x106550000 + 1893236
7 libsystem_pthread.dylib 0x18e0bffa8 _pthread_start + 148
8 libsystem_pthread.dylib 0x18e0bada0 thread_start + 8
Thread 9:: Thread (pooled)
0 libsystem_kernel.dylib 0x18e083710 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18e0c0574 _pthread_cond_wait + 1232
2 QtCore 0x1067282f4 0x106550000 + 1934068
3 QtCore 0x106727fac 0x106550000 + 1933228
4 QtCore 0x106727ed8 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 108
5 QtCore 0x106722630 0x106550000 + 1910320
6 QtCore 0x10671e374 0x106550000 + 1893236
7 libsystem_pthread.dylib 0x18e0bffa8 _pthread_start + 148
8 libsystem_pthread.dylib 0x18e0bada0 thread_start + 8
Thread 10:: Thread (pooled)
0 libsystem_kernel.dylib 0x18e083710 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18e0c0574 _pthread_cond_wait + 1232
2 QtCore 0x1067282f4 0x106550000 + 1934068
3 QtCore 0x106727fac 0x106550000 + 1933228
4 QtCore 0x106727ed8 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 108
5 QtCore 0x106722630 0x106550000 + 1910320
6 QtCore 0x10671e374 0x106550000 + 1893236
7 libsystem_pthread.dylib 0x18e0bffa8 _pthread_start + 148
8 libsystem_pthread.dylib 0x18e0bada0 thread_start + 8
Thread 11:: Thread (pooled)
0 libsystem_kernel.dylib 0x18e083710 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18e0c0574 _pthread_cond_wait + 1232
2 QtCore 0x1067282f4 0x106550000 + 1934068
3 QtCore 0x106727fac 0x106550000 + 1933228
4 QtCore 0x106727ed8 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 108
5 QtCore 0x106722630 0x106550000 + 1910320
6 QtCore 0x10671e374 0x106550000 + 1893236
7 libsystem_pthread.dylib 0x18e0bffa8 _pthread_start + 148
8 libsystem_pthread.dylib 0x18e0bada0 thread_start + 8
Thread 12:: Thread (pooled)
0 libsystem_kernel.dylib 0x18e083710 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18e0c0574 _pthread_cond_wait + 1232
2 QtCore 0x1067282f4 0x106550000 + 1934068
3 QtCore 0x106727fac 0x106550000 + 1933228
4 QtCore 0x106727ed8 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 108
5 QtCore 0x106722630 0x106550000 + 1910320
6 QtCore 0x10671e374 0x106550000 + 1893236
7 libsystem_pthread.dylib 0x18e0bffa8 _pthread_start + 148
8 libsystem_pthread.dylib 0x18e0bada0 thread_start + 8
Thread 13:: Thread (pooled)
0 libsystem_kernel.dylib 0x18e083710 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18e0c0574 _pthread_cond_wait + 1232
2 QtCore 0x1067282f4 0x106550000 + 1934068
3 QtCore 0x106727fac 0x106550000 + 1933228
4 QtCore 0x106727ed8 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 108
5 QtCore 0x106722630 0x106550000 + 1910320
6 QtCore 0x10671e374 0x106550000 + 1893236
7 libsystem_pthread.dylib 0x18e0bffa8 _pthread_start + 148
8 libsystem_pthread.dylib 0x18e0bada0 thread_start + 8
Thread 14:: Thread (pooled)
0 libsystem_kernel.dylib 0x18e083710 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18e0c0574 _pthread_cond_wait + 1232
2 QtCore 0x1067282f4 0x106550000 + 1934068
3 QtCore 0x106727fac 0x106550000 + 1933228
4 QtCore 0x106727ed8 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 108
5 QtCore 0x106722630 0x106550000 + 1910320
6 QtCore 0x10671e374 0x106550000 + 1893236
7 libsystem_pthread.dylib 0x18e0bffa8 _pthread_start + 148
8 libsystem_pthread.dylib 0x18e0bada0 thread_start + 8
Thread 15:: Thread (pooled)
0 libsystem_kernel.dylib 0x18e083710 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18e0c0574 _pthread_cond_wait + 1232
2 QtCore 0x1067282f4 0x106550000 + 1934068
3 QtCore 0x106727fac 0x106550000 + 1933228
4 QtCore 0x106727ed8 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 108
5 QtCore 0x106722630 0x106550000 + 1910320
6 QtCore 0x10671e374 0x106550000 + 1893236
7 libsystem_pthread.dylib 0x18e0bffa8 _pthread_start + 148
8 libsystem_pthread.dylib 0x18e0bada0 thread_start + 8
Thread 16:: Thread (pooled)
0 libsystem_kernel.dylib 0x18e083710 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18e0c0574 _pthread_cond_wait + 1232
2 QtCore 0x1067282f4 0x106550000 + 1934068
3 QtCore 0x106727fac 0x106550000 + 1933228
4 QtCore 0x106727ed8 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 108
5 QtCore 0x106722630 0x106550000 + 1910320
6 QtCore 0x10671e374 0x106550000 + 1893236
7 libsystem_pthread.dylib 0x18e0bffa8 _pthread_start + 148
8 libsystem_pthread.dylib 0x18e0bada0 thread_start + 8
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x000000016ce88f28 x2: 0x000000016ce88f00 x3: 0x000000016ce88f28
x4: 0x000000016ce88d68 x5: 0x0000000000000011 x6: 0x0000000000000000 x7: 0x000000016ce87ed8
x8: 0x0000000113f799f0 x9: 0x0000000106418530 x10: 0x0000000000179f41 x11: 0x0000000000219e00
x12: 0x000000012de03fa8 x13: 0x0000000000000020 x14: 0x000000012de00000 x15: 0x0000000000000020
x16: 0x0000000104c3bb34 x17: 0x000000012dea34d0 x18: 0x0000000000000000 x19: 0x000000016ce88bd8
x20: 0x0000000000000000 x21: 0x000000016ce88f28 x22: 0x000000014de58530 x23: 0x000000014de58530
x24: 0x0000000000000001 x25: 0x0000000000008001 x26: 0x0000000000008000 x27: 0x00000001e9523460
x28: 0x0000000000000002 fp: 0x000000016ce88ba0 lr: 0x0000000104c3b880
sp: 0x000000016ce88b40 pc: 0x0000000104c3b884 cpsr: 0x60001000
far: 0x0000000000000018 esr: 0x92000006 (Data Abort) byte read Translation fault
Binary Images:
0x102f70000 - 0x102f7ffff org.qcad (3.28) <50923e35-b0f4-33ad-87b5-c80b6e07fb18> /Applications/QCAD-Pro.app/Contents/MacOS/QCAD-Pro
0x1035cc000 - 0x1039fffff libqcadcore.dylib (*) <68b6cf9d-e03f-30ac-a74f-0fae66240b13> /Applications/QCAD-Pro.app/Contents/Frameworks/libqcadcore.dylib
0x103100000 - 0x1031a3fff libqcadentity.dylib (*) <185c94cd-8860-3723-9c74-185a1b18c0e0> /Applications/QCAD-Pro.app/Contents/Frameworks/libqcadentity.dylib
0x10323c000 - 0x103293fff libqcadgui.dylib (*) <57e28a4d-f6fd-3b3d-9465-702d9b0dbb86> /Applications/QCAD-Pro.app/Contents/Frameworks/libqcadgui.dylib
0x102ff4000 - 0x103003fff libqcadgrid.dylib (*) <2d7b7164-4c14-3ce7-bbe0-49ec38a68fa0> /Applications/QCAD-Pro.app/Contents/Frameworks/libqcadgrid.dylib
0x103050000 - 0x10306ffff libqcadoperations.dylib (*) <c884af96-582c-3be3-a77e-100c27bfbb77> /Applications/QCAD-Pro.app/Contents/Frameworks/libqcadoperations.dylib
0x10308c000 - 0x10309ffff libqcadsnap.dylib (*) <0630cbf2-cbeb-3a02-8fa7-e0c17fdb666c> /Applications/QCAD-Pro.app/Contents/Frameworks/libqcadsnap.dylib
0x103014000 - 0x10301ffff libqcadspatialindex.dylib (*) <d834db84-bb6b-369c-b967-1148a481ed6f> /Applications/QCAD-Pro.app/Contents/Frameworks/libqcadspatialindex.dylib
0x103370000 - 0x1033b7fff libspatialindexnavel.dylib (*) <05a48089-e554-3429-b0c3-eccd0fc9f1f3> /Applications/QCAD-Pro.app/Contents/Frameworks/libspatialindexnavel.dylib
0x103514000 - 0x103573fff org.qt-project.QtOpenGL (6.4) <6fe5bbb7-45dc-316b-8c8f-4d455fee11ad> /Applications/QCAD-Pro.app/Contents/Frameworks/QtOpenGL.framework/Versions/A/QtOpenGL
0x1030b4000 - 0x1030dffff org.qt-project.QtSql (6.4) <3974ce4c-632e-3d00-bbd1-088875642482> /Applications/QCAD-Pro.app/Contents/Frameworks/QtSql.framework/Versions/A/QtSql
0x1032fc000 - 0x103333fff org.qt-project.QtSvg (6.4) <4c4477bd-616f-3de0-912d-934a2b143af2> /Applications/QCAD-Pro.app/Contents/Frameworks/QtSvg.framework/Versions/A/QtSvg
0x103444000 - 0x10345bfff org.qt-project.QtXml (6.4) <e1e4e15c-d26c-3800-b8f1-c8a792ffec55> /Applications/QCAD-Pro.app/Contents/Frameworks/QtXml.framework/Versions/A/QtXml
0x1044b8000 - 0x10482ffff org.qt-project.QtQml (6.4) <51bb2e01-4ec1-3719-a2f6-36cf30380e0e> /Applications/QCAD-Pro.app/Contents/Frameworks/QtQml.framework/Versions/A/QtQml
0x103ea0000 - 0x103fa7fff org.qt-project.QtNetwork (6.4) <2d4bab25-001a-3333-b3db-b95d9aca025f> /Applications/QCAD-Pro.app/Contents/Frameworks/QtNetwork.framework/Versions/A/QtNetwork
0x103474000 - 0x1034bbfff org.qt-project.QtPrintSupport (6.4) <2c160c73-f509-3e7b-b281-1e17179314d2> /Applications/QCAD-Pro.app/Contents/Frameworks/QtPrintSupport.framework/Versions/A/QtPrintSupport
0x1054b4000 - 0x105903fff org.qt-project.QtWidgets (6.4) <d4530615-1625-3bd4-ad4f-c808d616fd39> /Applications/QCAD-Pro.app/Contents/Frameworks/QtWidgets.framework/Versions/A/QtWidgets
0x1048f0000 - 0x104f03fff org.qt-project.QtGui (6.4) <755184d6-c551-391a-b2ed-6413cb06df19> /Applications/QCAD-Pro.app/Contents/Frameworks/QtGui.framework/Versions/A/QtGui
0x106550000 - 0x1069bbfff org.qt-project.QtCore (6.4) <0039ed8f-97d9-3555-a1fb-c8281b2a9e1c> /Applications/QCAD-Pro.app/Contents/Frameworks/QtCore.framework/Versions/A/QtCore
0x102fd4000 - 0x102fd7fff org.qt-project.QtConcurrent (6.4) <b2015105-c358-332c-8b3f-5debfd79c737> /Applications/QCAD-Pro.app/Contents/Frameworks/QtConcurrent.framework/Versions/A/QtConcurrent
0x103d18000 - 0x103d93fff org.qt-project.QtDBus (6.4) <63c9ff9a-567f-3dac-8abc-3c30823ab0c2> /Applications/QCAD-Pro.app/Contents/Frameworks/QtDBus.framework/Versions/A/QtDBus
0x103db8000 - 0x103e4ffff libqcocoa.dylib (*) <d3d12a1e-d996-3265-885a-a8e474f79f50> /Applications/QCAD-Pro.app/Contents/PlugIns/platforms/libqcocoa.dylib
0x1063f4000 - 0x106417fff libqmacstyle.dylib (*) <52b5adc6-8fd3-3577-9c61-ed57cfe4032e> /Applications/QCAD-Pro.app/Contents/PlugIns/styles/libqmacstyle.dylib
0x10dc48000 - 0x110467fff libqcaddwg.dylib (*) <97457f76-7e3d-3eaf-a495-534031592cb6> /Applications/QCAD-Pro.app/Contents/PlugIns/libqcaddwg.dylib
0x106434000 - 0x1064e7fff org.qt-project.QtCore5Compat (6.4) <8437f179-2c2b-3e52-938f-3a0d3dda4d14> /Applications/QCAD-Pro.app/Contents/Frameworks/QtCore5Compat.framework/Versions/A/QtCore5Compat
0x109c34000 - 0x109c87fff libqcaddxf.dylib (*) <6b64540e-e48a-3cdb-96f3-d596dcd2c3e6> /Applications/QCAD-Pro.app/Contents/PlugIns/libqcaddxf.dylib
0x116200000 - 0x11919bfff libqcadjsapi.dylib (*) <3b3a8e88-1c63-3489-8045-f2ddaa719727> /Applications/QCAD-Pro.app/Contents/PlugIns/libqcadjsapi.dylib
0x105464000 - 0x105477fff libqcadstemmer.dylib (*) <7a8fbfa6-eb3a-341b-a3ba-5703dbbdc01d> /Applications/QCAD-Pro.app/Contents/Frameworks/libqcadstemmer.dylib
0x109d18000 - 0x109d4ffff libqcadpolygon.dylib (*) <9f63281b-3e5c-3eaa-97a5-206e21f5d899> /Applications/QCAD-Pro.app/Contents/Frameworks/libqcadpolygon.dylib
0x109e7c000 - 0x109edffff org.qt-project.QtUiTools (6.4) <516ccc55-f406-3440-b0e8-9e02016a67db> /Applications/QCAD-Pro.app/Contents/Frameworks/QtUiTools.framework/Versions/A/QtUiTools
0x106508000 - 0x10650ffff org.qt-project.QtOpenGLWidgets (6.4) <41848e91-ab63-32f6-b910-fd0bb41ad833> /Applications/QCAD-Pro.app/Contents/Frameworks/QtOpenGLWidgets.framework/Versions/A/QtOpenGLWidgets
0x105440000 - 0x105447fff libconcavehull.dylib (*) <d837fe15-b71a-3baa-8e53-a5368e9a6340> /Applications/QCAD-Pro.app/Contents/Frameworks/libconcavehull.dylib
0x10a43c000 - 0x10a887fff libqcadpdf.dylib (*) <093902bd-646d-3997-a16d-f2f07180189c> /Applications/QCAD-Pro.app/Contents/PlugIns/libqcadpdf.dylib
0x10b0a4000 - 0x10b7a7fff libqcadproscripts.dylib (*) <d8cdf77e-e618-3ae8-bb92-42999537eb7e> /Applications/QCAD-Pro.app/Contents/PlugIns/libqcadproscripts.dylib
0x10c3ac000 - 0x10cf67fff libqcadscripts.dylib (*) <8018c668-8fb9-3b03-8a2e-ebae0dbc23c8> /Applications/QCAD-Pro.app/Contents/PlugIns/libqcadscripts.dylib
0x109cc0000 - 0x109cd3fff libqcadshp.dylib (*) <ab708ab4-c3a9-3758-84fc-4f0ff08ff60d> /Applications/QCAD-Pro.app/Contents/PlugIns/libqcadshp.dylib
0x106524000 - 0x10652bfff libqgif.dylib (*) <fabce6ac-714a-3884-bd73-6faf33bbd4d2> /Applications/QCAD-Pro.app/Contents/PlugIns/imageformats/libqgif.dylib
0x109d70000 - 0x109d77fff libqwbmp.dylib (*) <dc542b64-fd8e-30ba-864f-099d1e5a788b> /Applications/QCAD-Pro.app/Contents/PlugIns/imageformats/libqwbmp.dylib
0x109d88000 - 0x109df3fff libqwebp.dylib (*) <275f6c12-b594-3ec1-8002-afae818a8deb> /Applications/QCAD-Pro.app/Contents/PlugIns/imageformats/libqwebp.dylib
0x109e08000 - 0x109e0ffff libqico.dylib (*) <c39c4792-e821-3d0e-a51e-4c91092b2cbf> /Applications/QCAD-Pro.app/Contents/PlugIns/imageformats/libqico.dylib
0x109e20000 - 0x109e27fff libqmacheif.dylib (*) <28e973af-8681-333a-8e06-ca0ef139c6f1> /Applications/QCAD-Pro.app/Contents/PlugIns/imageformats/libqmacheif.dylib
0x10af88000 - 0x10afc7fff libqjpeg.dylib (*) <4a19d30b-c91f-3c5e-93e6-313b73aded30> /Applications/QCAD-Pro.app/Contents/PlugIns/imageformats/libqjpeg.dylib
0x10afdc000 - 0x10b03bfff libqtiff.dylib (*) <ebd99856-9f3e-374d-adec-78591b8e5ecb> /Applications/QCAD-Pro.app/Contents/PlugIns/imageformats/libqtiff.dylib
0x109e38000 - 0x109e3ffff libqsvg.dylib (*) <55448c8b-cdbb-3509-8e76-498a4e6909c1> /Applications/QCAD-Pro.app/Contents/PlugIns/imageformats/libqsvg.dylib
0x109e50000 - 0x109e57fff libqicns.dylib (*) <fb8078bc-26e3-3404-9712-2820f6dccc99> /Applications/QCAD-Pro.app/Contents/PlugIns/imageformats/libqicns.dylib
0x10a348000 - 0x10a34ffff libqtga.dylib (*) <ae8c892d-3d68-32e2-823e-02d20a1273ae> /Applications/QCAD-Pro.app/Contents/PlugIns/imageformats/libqtga.dylib
0x10a360000 - 0x10a367fff libqmacjp2.dylib (*) <3a65cf03-f572-371d-813a-469eedc9151f> /Applications/QCAD-Pro.app/Contents/PlugIns/imageformats/libqmacjp2.dylib
0x1054a0000 - 0x1054abfff libobjc-trampolines.dylib (*) <80f14f3d-d099-3693-a8e0-eb9a526b1790> /usr/lib/libobjc-trampolines.dylib
0x10dc14000 - 0x10dc1ffff libqsvgicon.dylib (*) <59fc1d66-aaf2-3b22-8dd8-2eca5e04bf88> /Applications/QCAD-Pro.app/Contents/PlugIns/iconengines/libqsvgicon.dylib
0x113748000 - 0x113757fff libqcadcustomwidgets.dylib (*) <8f944d85-4001-384d-befb-d6c2c9fe74c2> /Applications/QCAD-Pro.app/Contents/PlugIns/designer/libqcadcustomwidgets.dylib
0x18e11f000 - 0x18e5f8fff com.apple.CoreFoundation (6.9) <b4fdaece-9727-3969-b014-27f7f24c8e01> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x18f0b8000 - 0x18fa7dfff com.apple.Foundation (6.9) <b7d67e5a-dce2-3f6b-b2b8-895a3669e3ec> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x191383000 - 0x192291fff com.apple.AppKit (6.9) <cc3e5215-4cd7-364c-8750-6eb7002720ce> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x192d9f000 - 0x1931c7fff com.apple.SkyLight (1.600.0) <e3d1dd9e-fa1b-332e-86ba-cc2915276118> /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight
0x18df0c000 - 0x18df53fff libdispatch.dylib (*) <8e87dc0e-a570-3933-b37d-5e05ad516206> /usr/lib/system/libdispatch.dylib
0x1979a1000 - 0x197cd4fff com.apple.HIToolbox (2.1.1) <5f34bbf5-653a-31a5-b4b3-0a02c91ab488> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x18dd62000 - 0x18ddf053b dyld (*) <ac277a36-1808-327a-8761-cca585421212> /usr/lib/dyld
0x18e07f000 - 0x18e0b8fe7 libsystem_kernel.dylib (*) <7acbd9bc-d056-310e-858d-81b116cf6d28> /usr/lib/system/libsystem_kernel.dylib
0x18e0b9000 - 0x18e0c5fff libsystem_pthread.dylib (*) <b401cfb3-8dfe-32db-92b3-ba8af0f8ca6e> /usr/lib/system/libsystem_pthread.dylib
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=1.4G resident=0K(0%) swapped_out_or_unallocated=1.4G(100%)
Writable regions: Total=5.5G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=5.5G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 256K 2
Activity Tracing 256K 1
CG backing stores 7680K 8
CG image 496K 22
ColorSync 624K 28
CoreAnimation 240K 15
CoreGraphics 48K 3
CoreUI image data 3584K 26
Foundation 48K 2
JS VM Gigacage 76.0M 19
JS VM Isolated Heap 23.2M 22
JS VM Isolated Heap (reserved) 2048K 1 reserved VM address space (unallocated)
Kernel Alloc Once 32K 1
MALLOC 3.1G 160
MALLOC guard page 192K 9
MALLOC_MEDIUM (reserved) 2.0G 17 reserved VM address space (unallocated)
MALLOC_NANO (reserved) 256.0M 1 reserved VM address space (unallocated)
STACK GUARD 56.3M 17
Stack 16.5M 17
VM_ALLOCATE 624K 28
__AUTH 1366K 290
__AUTH_CONST 21.2M 487
__CTF 824 1
__DATA 6428K 527
__DATA_CONST 30.6M 539
__DATA_DIRTY 1488K 168
__FONT_DATA 2352 1
__INFO_FILTER 8 1
__LINKEDIT 850.3M 51
__OBJC_RO 66.2M 1
__OBJC_RW 2011K 1
__TEXT 568.2M 554
dyld private memory 320K 4
mapped file 480.4M 47
shared memory 960K 19
=========== ======= =======
TOTAL 7.5G 3090
TOTAL, minus reserved VM space 5.3G 3090
|
|
2495 | ECMAScript | Bug Report | Very Low | RLine.isParallel(RLine) may return true for certain non... | Assigned | |
1 |
Task Description
Andrew,
It took me a while to find the source of a certain freak bug I encountered. I used the RLine.isParallel(RLine) as a test for knowing if line segments were parallel or not.
Included below is script code that mimics the functionally of isParallel().
As far as I know isParallel() is nowhere used in the QCAD open source. Textual only found in RLine.cpp & .h or under: opennurbs, ecmaapi\generated and ecmagenerator\src.
// Example:
// RShape1: RLine(RShape(address: "0xcd70e28"), startPoint: "RVector(969.219858, -171.914894, 0.000000, 1)", endPoint: "RVector(1010.000000, -140.000000, 0.000000, 1)")
// RShape2: RLine(RShape(address: "0x7659770"), startPoint: "RVector(969.219858, -171.914894, 0.000000, 1)", endPoint: "RVector(930.000000, -340.000000, 0.000000, 1)")
----
var aShape1Angle = shape1.getAngle(); // =0.6640461628266838 rad
var aShape2Angle = shape2.getAngle(); // =4.483157047107694 rad
----
// RLine::isParallel(RLine) -> aTest1 || aTest2
var aTest1 = RMath.isSameDirection(aShape1Angle, aShape2Angle); // =false
var aTest2 = RMath.isSameDirection(aShape1Angle, aShape2Angle + Math.PI); // =true
var aTestOr = aTest1 || aTest2; // =>TRUE !?
----
// # BUG # RShape1 is considered as parallel with RShape2
----
// RMath::isSameDirection(dir1, dir2, tol) ... tol = RS.AngleTolerance = 1e-9
// for aTest1 -> ax1Test1 || ax1Test2
var ax1Dif = Math.abs(aShape1Angle - aShape2Angle); // =3.8191108842810104 rad
var ax1Test1 = ax1Dif < 1e-9; // =false
var ax1Test2 = ax1Dif > 2*Math.PI - 1e-9; // =false
var ax1TestOr = ax1Test1 || ax1Test2; // =>FALSE
----
// for aTest2 -> ax2Test1 || ax2Test2
var ax2Dif = Math.abs(aShape1Angle - (aShape2Angle + Math.PI)); // =6.9607035378708035 rad
var ax2Test1 = ax2Dif < 1e-9; // =false
var ax2Test2 = ax2Dif > 2*Math.PI - 1e-9; // =true
var ax1TestOr = ax1Test1 || ax1Test2; // =>TRUE
----
// # BUG # The second test of the second isSameDirection() test returns true because ax2Dif is over 2pi
Regards, CVH
|