Opened 7 years ago

Closed 7 years ago

#54539 closed defect (invalid)

qt5 @5.8.0.0 application crashing

Reported by: keybounce Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: qt5

Description (last modified by ryandesign (Ryan Carsten Schmidt))

An aaplication (OBS) using Qt5 is crashing.

Specifically, OBS 19 dies, OBS 18 works.

Application Specific Information:
Crashing on exception: +[NSGraphicsContext graphicsContextWithCGContext:flipped:]: unrecognized selector sent to class 0x7fff742b58f8

Application Specific Backtrace 1:
0   CoreFoundation                      0x00007fff881f625c __exceptionPreprocess + 172
1   libobjc.A.dylib                     0x00007fff87e6ee75 objc_exception_throw + 43
2   CoreFoundation                      0x00007fff881f902d +[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3   CoreFoundation                      0x00007fff88154272 ___forwarding___ + 1010
4   CoreFoundation                      0x00007fff88153df8 _CF_forwarding_prep_0 + 120
5   QtWidgets                           0x000000010ba32193 _ZN23QPixmapDropShadowFilter11qt_metacallEN11QMetaObject4CallEiPPv + 5731
6   QtWidgets                           0x000000010ba435c8 _ZN23QPixmapDropShadowFilter11qt_metacallEN11QMetaObject4CallEiPPv + 76440
7   QtWidgets                           0x000000010b70416d _ZNK12QCommonStyle11drawControlEN6QStyle14ControlElementEPK12QStyleOptionP8QPainterPK7QWidget + 1117
8   QtWidgets                           0x000000010ba3f4e7 _ZN23QPixmapDropShadowFilter11qt_metacallEN11QMetaObject4CallEiPPv + 59831
9   QtWidgets                           0x000000010b737713 _ZN11QProxyStyle11qt_metacallEN11QMetaObject4CallEiPPv + 93139
10  QtWidgets                           0x000000010b86bc35 _ZN11QPushButton10paintEventEP11QPaintEvent + 117
11  QtWidgets                           0x000000010b6c1613 _ZN7QWidget5eventEP6QEvent + 1123
12  QtWidgets                           0x000000010b860430 _ZN15QAbstractButton5eventEP6QEvent + 160
13  QtWidgets                           0x000000010b686e3d _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 301

Full crashlog: https://puu.sh/wUNHb/8d00bb1cc3.crash

Attachments (1)

obs_2017-07-27-150127_keybounceMBP.crash (71.9 KB) - added by keybounce 7 years ago.
crashlog

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by keybounce

crashlog

comment:1 Changed 7 years ago by keybounce

How do I edit the text (wrong formatting used for pre-formatted text)

comment:2 Changed 7 years ago by kencu (Ken)

Looks like the call that failed is 10.10+, and you're on 10.9....

https://developer.apple.com/documentation/appkit/nsgraphicscontext/1535380-graphicscontextwithcgcontext

You can try to fix this one call to it's <10.10 equivalent , but you may well find there are more 10.10+ calls if you have found one...

Last edited 7 years ago by kencu (Ken) (previous) (diff)

comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: set to MarcusCalhoun-Lopez
Status: newassigned

comment:4 Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: invalid
Status: assignedclosed

It would seem that OBS.app is not using the Qt from MacPorts (/Applications/OBS.app/Contents/Resources/bin/QtCore).
As you can imagine, it is only possible for us to support the Qt installation that we have control over.
You might have better luck contacting the developers of OBS.app.
As noted by kencu, a good starting point might be the fact that OBS.app is trying to call a 10.10+ method.

Note: See TracTickets for help on using tickets.