http://bugs.winehq.org/show_bug.cgi?id=59500 --- Comment #2 from golfsmarts@gmail.com --- (In reply to Nikolay Sivov from comment #1)
Scrivener is not freely available so it's difficult to test, and another mentioned application LOOT starts fine for me. I used version 0.20.0 with current Wine. So looks like specific instructions are necessary to reproduce. If anyone can provide a Qt6 sample application that shows this issue, that would be great.
I can produce the bug using this technique. Wine with a 64-bit Windows prefix, Python 3.11 for Windows installed inside it, and PySide6 6.4.3 installed via pip inside that same prefix. Run it as WINEPREFIX=/your/prefix /path/to/wine python.exe testcrash.py. The crash case is a single script that creates a QLabel containing U+1F30A (????), a character above the Basic Multilingual Plane that requires a UTF-16 surrogate pair: pythonimport sys from PySide6.QtWidgets import QApplication, QLabel app = QApplication(sys.argv) label = QLabel("test \U0001F30A") label.show() sys.exit(app.exec()) This produces a page fault in qt6core. The control case is identical except the character is U+00E9 (é), which sits within the BMP and requires no surrogate pair: pythonimport sys from PySide6.QtWidgets import QApplication, QLabel app = QApplication(sys.argv) label = QLabel("test \u00E9") label.show() sys.exit(app.exec()) The control case runs without crashing and displays the window correctly. The only variable between the two is whether the character requires a surrogate pair. Wine: 11.2 (Staging) PySide6: 6.4.3 (Qt 6.4.3) Python: 3.11 (Windows, running under Wine) Kernel: 6.17.0-14-generic Host OS: Zorin OS 18 (Ubuntu 24.04 base) Architecture: x86_64 Wine mode: Windows 10, 64-bit prefix -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.