Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.0
-
None
-
Darwin Rolands-Mac.knall 20.0.0 Darwin Kernel Version 20.0.0: Sun Jun 14 21:36:36 PDT 2020; root:Bridge_xnu-7090.111.5.2~1/RELEASE_ARM64_T8020 arm64
-
-
2f8df4d1a87df9dd67913b016171dac20839d16e (qt/qtbase/dev) 00b6af34a4f9e82f9d713186032231d512de5e00 (qt/qtbase/5.12) d97d549391f088e7cabd423700d77407a1d31fa5 (qt/qtbase/5.15)
Description
The following occurs, when executing QRegularExpression / QRegularExpressionMatch on Apple Silicon:
(lldb) thread backtrace
thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=2, address=0x117a08008) * frame #0: 0x0000000108f23274 QtCore`___lldb_unnamed_symbol4246$$QtCore + 456 frame #1: 0x0000000108f23004 QtCore`___lldb_unnamed_symbol4245$$QtCore + 120 frame #2: 0x0000000108d0a158 QtCore`___lldb_unnamed_symbol932$$QtCore + 60 frame #3: 0x0000000108d0a0cc QtCore`___lldb_unnamed_symbol931$$QtCore + 204 frame #4: 0x0000000108d0b884 QtCore`QRegularExpression::match(QString const&, int, QRegularExpression::MatchType, QFlags<QRegularExpression::MatchOption>) const + 56 frame #5: 0x00000001003ce2e8 Wireshark`FilterListModel::reload(this=0x000000016fdff010) at filter_list_model.cpp:83:44 [opt] frame #6: 0x00000001003ce7c4 Wireshark`FilterListModel::FilterListModel(FilterListModel::FilterListType, QObject*) [inlined] FilterListModel::FilterListModel(this=<unavailable>, type=<unavailable>, parent=<unavailable>) at filter_list_model.cpp:52:5 [opt]
In this case QRegularExpression was called directly, but it also occurred when run through QDir by the following code construct:
QStringList filenames = QDir(":/i18n/").entryList(QStringList("wireshark_*.qm"));
In this case seemed to be called by QDirIterator.
Building the application on a debug/non-framework version does not bring up the error. Only way the error occurs is by running a release build (framework or non-framework).
This is using Qt 5.15 from git, compiled native on Apple Silicon (macOS arm64 target), build by the rules defined in https://bugreports.qt.io/browse/QTBUG-85279
Attachments
Issue Links
- relates to
-
QTBUG-97085 Crash while JITting QRegularExpression in multiple threads (Rosetta)
- Closed
-
QTBUG-85279 Qt for macOS on Apple Silicon (arm64)
- Closed
For Gerrit Dashboard: QTBUG-85528 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
307306,3 | Disable PCRE2 JIT on macOS ARM64 | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |
307307,3 | Disable PCRE2 JIT on macOS ARM64 | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |
307507,5 | Disable PCRE2 JIT on macOS ARM64 | dev | qt/qtbase | Status: MERGED | +2 | 0 |