Can't use fx on Mac 12.2.1

the app crashed when I want to use my measurements in an fx I am able to open the measurements table by clickeg on “edit current” under “Measurements” but when I want to use it in fx to add a point, then it crashes

Translated Report (Full Report Below)

Process: Seamly2D [27281] Path: /Applications/Seamly2D.app/Contents/MacOS/Seamly2D Identifier: org.seamly2dproject.Seamly2D Version: 0.6.0 (0.6.0.1) Code Type: X86-64 (Native) Parent Process: launchd [1] User ID: 502

Date/Time: 2022-12-07 06:13:21.0422 +0530 OS Version: macOS 12.5.1 Report Version: 12 Bridge OS Version: 6.6 (19P6066)

Time Awake Since Boot: 720000 seconds Time Since Wake: 507 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information: abort() called

Application Specific Backtrace 0: 0 CoreFoundation 0x00007ff80b4d37c3 __exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007ff80b233bc3 objc_exception_throw + 48 2 CoreFoundation 0x00007ff80b4d362a +[NSException exceptionWithName:reason:userInfo:] + 0 3 AppKit 0x00007ff80e7136fa _NSRunModal + 152 4 AppKit 0x00007ff80e2b8aa8 -[NSApplication runModalSession:] + 241 5 libqcocoa.dylib 0x0000000104275ed6 qt_plugin_instance + 194678 6 QtCore 0x000000010530cacf _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 431 7 QtWidgets 0x0000000103a40e9e _ZN7QDialog4execEv + 526 8 Seamly2D 0x0000000102851dfc _Z22noisyFailureMsgHandler9QtMsgTypeRK18QMessageLogContextRK7QString + 5820 9 QtCore 0x0000000105135e10 _Z17qt_message_output9QtMsgTypeRK18QMessageLogContextRK7QString + 256 10 QtCore 0x0000000105135d1d _Z17qt_message_output9QtMsgTypeRK18QMessageLogContextRK7QString + 13 11 QtCore 0x0000000105241fb8 _ZN6QDebugD2Ev + 104 12 libqcocoa.dylib 0x00000001042c0995 _ZN20QCocoaSystemTrayIcon17statusItemClickedEv + 198565 13 QtGui 0x00000001045ecc30 _ZN13QFontDatabase8findFontERK8QFontDefi + 720 14 QtGui 0x00000001045ef4fa _ZN13QFontDatabase4loadEPK12QFontPrivatei + 3210 15 QtGui 0x00000001045c2103 _ZNK12QFontPrivate15engineForScriptEi + 451 16 QtGui 0x00000001045f6138 ZNK11QTextEngine10fontEngineERK11QScriptItemP6QFixedS4_S4 + 1128 17 QtGui 0x00000001045f46d8 _ZNK11QTextEngine9shapeTextEi + 664 18 QtGui 0x000000010460d0f5 _ZN9QTextLine13layout_helperEi + 805 19 QtWidgets 0x00000001038bc51d _ZNK19QCommonStylePrivate19calculateElidedTextERK7QStringRK11QTextOptionRK5QFontRK5QRect6QFlagsIN2Qt13AlignmentFlagEENSD_13TextElideModeEibP7QPointF + 1581 20 QtWidgets 0x00000001038bc7dc _ZNK19QCommonStylePrivate12viewItemSizeEPK20QStyleOptionViewItemi + 508 21 QtWidgets 0x00000001038bca9d _ZNK19QCommonStylePrivate14viewItemLayoutEPK20QStyleOptionViewItemP5QRectS4_S4_b + 109 22 QtWidgets 0x00000001038c4942 _ZNK12QCommonStyle14subElementRectEN6QStyle10SubElementEPK12QStyleOptionPK7QWidget + 1154 23 libqmacstyle.dylib 0x0000000103797ed7 qt_plugin_instance + 67607 24 QtWidgets 0x00000001038bfe43 _ZNK12QCommonStyle11drawControlEN6QStyle14ControlElementEPK12QStyleOptionP8QPainterPK7QWidget + 8467 25 libqmacstyle.dylib 0x00000001037925d5 qt_plugin_instance + 44821 26 QtWidgets 0x0000000103ad451c _ZNK19QStyledItemDelegate5paintEP8QPainterRK20QStyleOptionViewItemRK11QModelIndex + 124 27 QtWidgets 0x0000000103aff6c6 _ZN10QTableView19setHorizontalHeaderEP11QHeaderView + 5638 28 QtWidgets 0x0000000103b00fd6 _ZN10QTableView10paintEventEP11QPaintEvent + 2102 29 QtWidgets 0x000000010387b088 _ZN7QWidget5eventEP6QEvent + 1096 30 QtWidgets 0x000000010392358d _ZN6QFrame5eventEP6QEvent + 45 31 QtWidgets 0x0000000103aacec9 _ZN17QAbstractItemView13viewportEventEP6QEvent + 1417 32 QtCore 0x0000000105310ceb _ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent + 155 33 QtWidgets 0x00000001038409d5 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 245 34 QtWidgets 0x0000000103841e11 _ZN12QApplication6notifyEP7QObjectP6QEvent + 497 35 Seamly2D 0x000000010284d702 _ZN12VApplication6notifyEP7QObjectP6QEvent + 18 36 QtCore 0x0000000105310a34 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 212 37 QtWidgets 0x000000010386c2ab _ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPoint6QFlagsINS_14DrawWidgetFlagEEP8QPainterP21QWidgetRepaintManager + 3467 38 QtWidgets 0x0000000103875100 _ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPoint6QFlagsINS_14DrawWidgetFlagEEP8QPainterP21QWidgetRepaintManager + 1120 39 QtWidgets 0x0000000103874f9d _ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPoint6QFlagsINS_14DrawWidgetFlagEEP8QPainterP21QWidgetRepaintManager + 765 40 QtWidgets 0x0000000103874f9d _ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPoint6QFlagsINS_14DrawWidgetFlagEEP8QPainterP21QWidgetRepaintManager + 765 41 QtWidgets 0x000000010386c5c5 _ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPoint6QFlagsINS_14DrawWidgetFlagEEP8QPainterP21QWidgetRepaintManager + 4261 42 QtWidgets 0x0000000103875100 _ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPoint6QFlagsINS_14DrawWidgetFlagEEP8QPainterP21QWidgetRepaintManager + 1120 43 QtWidgets 0x0000000103874f9d _ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPoint6QFlagsINS_14DrawWidgetFlagEEP8QPainterP21QWidgetRepaintManager + 765 44 QtWidgets 0x0000000103874f9d _ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPoint6QFlagsINS_14DrawWidgetFlagEEP8QPainterP21QWidgetRepaintManager + 765 45 QtWidgets 0x000000010386c5c5 _ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPoint6QFlagsINS_14DrawWidgetFlagEEP8QPainterP21QWidgetRepaintManager + 4261 46 QtWidgets 0x000000010384df86 _ZN14QWidgetPrivate10scrollRectERK5QRectii + 9062 47 QtWidgets 0x000000010384c455 _ZN14QWidgetPrivate10scrollRectERK5QRectii + 2101 48 QtWidgets 0x000000010389ba54 _ZN14QDesktopWidget11qt_metacallEN11QMetaObject4CallEiPPv + 17748 49 QtWidgets 0x0000000103898a46 _ZN14QDesktopWidget11qt_metacallEN11QMetaObject4CallEiPPv + 5446 50 QtWidgets 0x00000001038409ea _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 266 51 QtWidgets 0x0000000103841e11 _ZN12QApplication6notifyEP7QObjectP6QEvent + 497 52 Seamly2D 0x000000010284d702 _ZN12VApplication6notifyEP7QObjectP6QEvent + 18 53 QtCore 0x0000000105310a34 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 212 54 QtGui 0x000000010451e7f2 _ZN22QGuiApplicationPrivate18processExposeEventEPN29QWindowSystemInterfacePrivate11ExposeEventE + 306 55 QtGui 0x00000001044fa8f3 _ZN29QWindowSystemInterfacePrivate23handleWindowSystemEventIN22QWindowSystemInterface19SynchronousDeliveryEEEbPNS_17WindowSystemEventE + 115 56 QtGui 0x0000000104501f92 _ZN22QWindowSystemInterface17handleExposeEventINS_19SynchronousDeliveryEEEvP7QWindowRK7QRegion + 178 57 libqcocoa.dylib 0x000000010425f20c qt_plugin_instance + 101292 58 libqcocoa.dylib 0x0000000104267afb qt_plugin_instance + 136347 59 AppKit 0x00007ff80dfeae05 -[_NSBackingLayer display] + 462 60 AppKit 0x00007ff80df603ad -[_NSViewBackingLayer display] + 554 61 QuartzCore 0x00007ff812526a07 _ZN2CA5Layer17display_if_neededEPNS_11TransactionE + 873 62 QuartzCore 0x00007ff81267e2aa _ZN2CA7Context18commit_transactionEPN

(there’s more but can’t add due to character limit)

1 Like

Hi, @Karu

This seems to be an ongoing problem with Mac and we have problems in sorting it because @Douglas doesn’t have the equipment to check what the problem is.

That said, I have resently had a client with various small problems - nothing like this - with her Mac, and what seemed to get her past the problem is to reboot her laptop. It seems that by saving the pattern and clearing the RAM memory helped. Please let us know if it helps for you, too. If restarting doesn’t help, please switch off for a few minutes and then start up again.

will surely try @Grace . thanks a lot

@Douglas happy to connect and be of support for testing on mac if you need

2 Likes

I took a look at the FX dialog over the weekend, and I got one thing to try regarding the Window flags for the dialog. I’ll make that change, and if it gets merged with next Sunday’s release you could check it out.

3 Likes

Ok… here’s a question regarding the mac and fx issue.

When an fx button is clicked what happens? Does the app crash? Is it possible the dialog is opening under the main window - with the app appearing to hang?

Dialogs on the mac can handle the window flags and signals differently, and they need a flag set to always stay on top or they can disappear under the main window. If this is the case it could be the rest of the app could be waiting for input from the hidden dialog.

2 Likes

Judging by the last pic in @Karu’s post, “Seamly2D quit unexpectedly.”

2 Likes

the app crashes and the “seamly 2D quit unexpectedly” window opens (the 3rd image I shared in this thread)

2 Likes

Hmmm… Ok. That would tend to imply there is something wrong in the construction of the fx dialog.

I’m trying to figure out what’s different or the same with the fx dialog compared to other dialogs… are there any other dialogs that cause the app to crash Specifically any dialog ( Sorry I can’t think off hand of an example ) that gets opened in a tool properties dialog? One thought I had is maybe something is not set right to open a modal dialog in a modal dialog that’s open in the mainwindow. A modal dialog being one that blocks input to the rest of the app until it’s closed.

2 Likes

Good news @Karu: The fx dialog now also works on mac again, with todays weekly release: Release 2023.1.16.230 · FashionFreedom/Seamly2D · GitHub

5 Likes