QCAD Bugtracker

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category QCAD (main)
  • Assigned To
    andrew
  • Operating System macOS (All)
  • Severity Low
  • Priority Medium
  • Reported Version 3.32.2
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: QCAD Bugtracker
Opened by andrew - 15.05.2025
Last edited by andrew - 15.05.2025

FS#2670 - Crash on exit with Qt 6.9 [Qt6]

Quitting QCAD crashes about 20%-25% of the time when compiled against Qt 6.9:

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   QtQml                         	       0x1017ccd2a QV4::CompiledData::CompilationUnit::~CompilationUnit() + 346
1   QtQml                         	       0x10188df46 QV4::ExecutableCompilationUnit::~ExecutableCompilationUnit() + 54
2   QtQml                         	       0x1018811fc 0x101775000 + 1098236
3   QtQml                         	       0x10186c529 QV4::ExecutionEngine::~ExecutionEngine() + 537
4   QtQml                         	       0x101836a19 QJSEngine::~QJSEngine() + 89
5   libsystem_c.dylib             	    0x7ff812ec1ea2 __cxa_finalize_ranges + 408
6   libsystem_c.dylib             	    0x7ff812ec1cbd exit + 35
7   AppKit                        	    0x7ff816ced6a3 -[NSApplication terminate:] + 2489
8   AppKit                        	    0x7ff816e4a8c0 -[NSApplication _terminateFromSender:askIfShouldTerminate:saveWindows:] + 129
9   AppKit                        	    0x7ff816ced24d -[NSApplication terminate:] + 1379
10  libqcocoa.dylib               	       0x10169b815 0x10167a000 + 137237
11  libqcadgui.dylib              	       0x100f353a5 RMainWindowQt::closeEvent(QCloseEvent*) + 885
12  QtWidgets                     	       0x102991769 QWidget::event(QEvent*) + 1193
13  QtWidgets                     	       0x102ae568c QMainWindow::event(QEvent*) + 828
14  libqcadgui.dylib              	       0x100f36a28 RMainWindowQt::event(QEvent*) + 1640
Closed by  andrew
15.05.2025 14:44
Reason for closing:  Fixed
Admin

Caused by static instance of QJSEngine in RMath for math expression evaluation.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing