MAC OSX 10.9.5 Pencil2D Won't Open

ongoing_support
investigate

#1

So, I was trying the new nightlybuilds version (2017-09-23) but every time I try to launch it, it just crashes.

I’m using a mac OSX 10.9.5 and I never had this problem before with any of the other versions.

I would love to try it cause I’ve been using Pencil2D professionally for a long time and I really love it.

Thank you very much.
It’s fantastic to see the software evolving.


#2

@liberdade Hi, welcome to the Pencil2D forums. I’ve split your answer on the FAQ and put it over the Bug report section, because this is obviously a technical issue and not a minor problem. From her eon this thread is the place where you can ask about your particular problem.

@CandyFace This gentleman asked around on Facebook about his issue. They escalated him to the forum because it’s a MAC issue on the latest release candidate. Would you mind helping to troubleshoot his issue?


#3

Hi @liberdade

Sorry to hear it’s crashing for you. Please do the following:
Right-click on Pencil2D and choose “Show package contents” then go to Contents/MacOS and click on Pencil2D. If the program crashes, copy all the content of the terminal window that opened and copy it here or to https://pastebin.com

This should hopefully spit out some useful information if it crashes because of some malfunction.


#4

@candyface

Still crashes :confused:

I don’t really know what’s the problem…

iMac-de-Gustavo-Almeida:~ gustavoalmeida$ /Volumes/MAIN\ 3/DESCARGAS\ 3/Pencil2D\ 6/Pencil2D.app/Contents/MacOS/Pencil2D ; exit;
Detect locale = "en-US"
Load translation = false
Install translation = false
Init Dock widget: "TimeLine"
Init Dock widget: "ColorWheel"
2017-09-26 22:13:22.430 Pencil2D[4395:507] +[NSGraphicsContext graphicsContextWithCGContext:flipped:]: unrecognized selector sent to class 0x7fff790ac8f8
2017-09-26 22:13:22.458 Pencil2D[4395:507] An uncaught exception was raised
2017-09-26 22:13:22.458 Pencil2D[4395:507] +[NSGraphicsContext graphicsContextWithCGContext:flipped:]: unrecognized selector sent to class 0x7fff790ac8f8
2017-09-26 22:13:22.458 Pencil2D[4395:507] (
0 CoreFoundation 0x00007fff8d5f425c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8fe36e75 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8d5f702d +[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x00007fff8d552272 forwarding + 1010
4 CoreFoundation 0x00007fff8d551df8 _CF_forwarding_prep_0 + 120
5 QtWidgets 0x0000000106eb7193 _ZN23QPixmapDropShadowFilter11qt_metacallEN11QMetaObject4CallEiPPv + 5731
6 QtWidgets 0x0000000106ec3c36 _ZN23QPixmapDropShadowFilter11qt_metacallEN11QMetaObject4CallEiPPv + 57606
7 QtWidgets 0x0000000106ebf83b _ZN23QPixmapDropShadowFilter11qt_metacallEN11QMetaObject4CallEiPPv + 40203
8 QtWidgets 0x0000000106bc37ae _ZN11QProxyStyle11qt_metacallEN11QMetaObject4CallEiPPv + 121934
9 QtWidgets 0x0000000106cc2544 _ZN20QWidgetResizeHandler11qt_metacallEN11QMetaObject4CallEiPPv + 676
10 QtWidgets 0x0000000106cc2359 _ZN20QWidgetResizeHandler11qt_metacallEN11QMetaObject4CallEiPPv + 185
11 QtWidgets 0x0000000106ed0e90 _ZN23QPixmapDropShadowFilter11qt_metacallEN11QMetaObject4CallEiPPv + 111456
12 QtWidgets 0x0000000106bc78b6 _ZN11QProxyStyle11qt_metacallEN11QMetaObject4CallEiPPv + 138582
13 QtWidgets 0x0000000106b0bded _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 301
14 QtWidgets 0x0000000106b0d167 _ZN12QApplication6notifyEP7QObjectP6QEvent + 391
15 QtCore 0x00000001077a2ea4 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 164
16 QtWidgets 0x0000000106b09a8c _ZN19QApplicationPrivate14setFocusWidgetEP7QWidgetN2Qt11FocusReasonE + 460
17 QtWidgets 0x0000000106b428ee _ZN7QWidget8setFocusEN2Qt11FocusReasonE + 606
18 QtWidgets 0x0000000106b0acbb _ZN12QApplication15setActiveWindowEP7QWidget + 1131
19 QtWidgets 0x0000000106b0b0b2 _ZN19QApplicationPrivate24notifyActiveWindowChangeEP7QWindow + 50
20 QtGui 0x00000001070edff6 _ZN22QGuiApplicationPrivate21processActivatedEventEPN29QWindowSystemInterfacePrivate20ActivatedWindowEventE + 614
21 QtGui 0x00000001070d20b4 _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 404
22 QtGui 0x00000001070cdf4c _ZN22QWindowSystemInterface23flushWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 572
23 libqcocoa.dylib 0x000000010a6083f8 qt_plugin_instance + 48600
24 QtGui 0x00000001070f6749 _ZN7QWindow10setVisibleEb + 1049
25 QtWidgets 0x0000000106b4454f _ZN14QWidgetPrivate8show_sysEv + 879
26 QtWidgets 0x0000000106b45391 _ZN14QWidgetPrivate11show_helperEv + 417
27 QtWidgets 0x0000000106b45f73 _ZN7QWidget10setVisibleEb + 947
28 Pencil2D 0x0000000106871ccc _ZN11MainWindow217createDockWidgetsEv + 1660
29 Pencil2D 0x0000000106871050 _ZN11MainWindow2C2EP7QWidget + 880
30 Pencil2D 0x000000010686fd9d main + 61
31 libdyld.dylib 0x00007fff8f33b5fd start + 1
)
2017-09-26 22:13:22.459 Pencil2D[4395:507] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘+[NSGraphicsContext graphicsContextWithCGContext:flipped:]: unrecognized selector sent to class 0x7fff790ac8f8’
*** First throw call stack:
(
0 CoreFoundation 0x00007fff8d5f425c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8fe36e75 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8d5f702d +[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x00007fff8d552272 forwarding + 1010
4 CoreFoundation 0x00007fff8d551df8 _CF_forwarding_prep_0 + 120
5 QtWidgets 0x0000000106eb7193 _ZN23QPixmapDropShadowFilter11qt_metacallEN11QMetaObject4CallEiPPv + 5731
6 QtWidgets 0x0000000106ec3c36 _ZN23QPixmapDropShadowFilter11qt_metacallEN11QMetaObject4CallEiPPv + 57606
7 QtWidgets 0x0000000106ebf83b _ZN23QPixmapDropShadowFilter11qt_metacallEN11QMetaObject4CallEiPPv + 40203
8 QtWidgets 0x0000000106bc37ae _ZN11QProxyStyle11qt_metacallEN11QMetaObject4CallEiPPv + 121934
9 QtWidgets 0x0000000106cc2544 _ZN20QWidgetResizeHandler11qt_metacallEN11QMetaObject4CallEiPPv + 676
10 QtWidgets 0x0000000106cc2359 _ZN20QWidgetResizeHandler11qt_metacallEN11QMetaObject4CallEiPPv + 185
11 QtWidgets 0x0000000106ed0e90 _ZN23QPixmapDropShadowFilter11qt_metacallEN11QMetaObject4CallEiPPv + 111456
12 QtWidgets 0x0000000106bc78b6 _ZN11QProxyStyle11qt_metacallEN11QMetaObject4CallEiPPv + 138582
13 QtWidgets 0x0000000106b0bded _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 301
14 QtWidgets 0x0000000106b0d167 _ZN12QApplication6notifyEP7QObjectP6QEvent + 391
15 QtCore 0x00000001077a2ea4 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 164
16 QtWidgets 0x0000000106b09a8c _ZN19QApplicationPrivate14setFocusWidgetEP7QWidgetN2Qt11FocusReasonE + 460
17 QtWidgets 0x0000000106b428ee _ZN7QWidget8setFocusEN2Qt11FocusReasonE + 606
18 QtWidgets 0x0000000106b0acbb _ZN12QApplication15setActiveWindowEP7QWidget + 1131
19 QtWidgets 0x0000000106b0b0b2 _ZN19QApplicationPrivate24notifyActiveWindowChangeEP7QWindow + 50
20 QtGui 0x00000001070edff6 _ZN22QGuiApplicationPrivate21processActivatedEventEPN29QWindowSystemInterfacePrivate20ActivatedWindowEventE + 614
21 QtGui 0x00000001070d20b4 _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 404
22 QtGui 0x00000001070cdf4c _ZN22QWindowSystemInterface23flushWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 572
23 libqcocoa.dylib 0x000000010a6083f8 qt_plugin_instance + 48600
24 QtGui 0x00000001070f6749 _ZN7QWindow10setVisibleEb + 1049
25 QtWidgets 0x0000000106b4454f _ZN14QWidgetPrivate8show_sysEv + 879
26 QtWidgets 0x0000000106b45391 _ZN14QWidgetPrivate11show_helperEv + 417
27 QtWidgets 0x0000000106b45f73 _ZN7QWidget10setVisibleEb + 947
28 Pencil2D 0x0000000106871ccc _ZN11MainWindow217createDockWidgetsEv + 1660
29 Pencil2D 0x0000000106871050 _ZN11MainWindow2C2EP7QWidget + 880
30 Pencil2D 0x000000010686fd9d main + 61
31 libdyld.dylib 0x00007fff8f33b5fd start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
logout

[Process completed]


#5

@liberdade

Hmm that doesn’t say much unfortunately. Does it only happen with the latest release? have you tried version 9-22 or 9-11 and see if they crash too?


#6

I tried that too, but it also crashes.

I can’t understand why.

The 5th version and below launch perfectly fine.


#7

@candyface Could this be an issue with QT’s mac deployment scheme?

I was looking these errors on the web particularly:

2017-09-26 22:13:22.459 Pencil2D[4395:507] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘+[NSGraphicsContext graphicsContextWithCGContext:flipped:]: unrecognized selector sent to class 0x7fff790ac8f8’

libc++abi.dylib: terminating with uncaught exception of type NSException

It seems other people have had issues with some thing called “cocoa” with “macdeployqt”

I’ll post links to similar issues to see if maybe it’s possible to fix this:

Also, just to make sure what version of QT are we using now?

Because here a dude had a similar and very recent issue and it says that the problem was that Qt 5.9.1 only deploys to 10.10 and above…and Gustavo has 10.9.5… Which would make this make me hate Apple a lot for their annoying need to force people to update their OS lol…

Anyway hope this sheds some light on this issue. Talk to you later guys.


#8

@morr You may be onto to something here… Usually i’m pretty good and finding stuff like this but apparently not this time. Nice discovery anyhow, but yeah if that’s the case… we may have to lower the Qt version, because we indeed are using 5.9. It seems a bit too early to kill off 10.9 support :confused:

edit: alternatively we can probably set up a second build server for QT 5.8 too, and keep 5.9 support.


#9

@liberdade Hey Gustavo, we’re on 2018 now, I’m not sure if you are still using Pencil2D, but if you are, I want to ask if you still have the same issue(s) with the newer builds, or if you managed to find something that might help us learn about this problem.
In case you did please let us know to review if it’s possible to assist you further. Ultimately it might be possible to create a backwards compatible build for you to try, but since we have limited time it’s better to exhaust all the possibilities before asking the devs to do this. Either way we’ll be pending for your response. Cheers.