Crash on macOS Sierra [DEF-2126] (SOLVED)

Yesterday I downloaded the latest version for Mac OS Sierra and everything worked fine. Today I tried to start Defold again to continue to work on my project and it is not starting anymore. It’s also not starting when I try to open it from terminal.
System Integrity Protection: enabled

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

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000000000003c
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]

From where are you starting Defold?

I think it makes no difference but when it was working yesterday (I started it from finder) the Defold.app was in my download folder, today I moved it to my applications folder.

Today I tried to start it from finder and from my terminal (Defold.app/Contents/MacOS/Defold) but with no success.

Update: 1.2.91 works for me :-). Thank you!

4 Likes

I see that this is marked as SOLVED but I just downloaded it, moved it to Applications folder and ran it and it crashes every time on startup (starting it from the Contents/MacOS/ folder works however). Here are 2 screenshots from the crash report:

Hmm, odd, @jakob.pogulis?

This could be another issue. There are some interesting bits in the long thread (the previous link), and in your case it could be how you moved it to the Applications folder:

Delun, how did you install Eclipse to /Appications/eclipse? Did you unzip the download to that location or just copy Eclipse.app?

(You need to copy all of the contents found alongside Eclipse.app, like plugins/, features/, configuration/, etc)

Replace “Eclipse” => “Defold” when reading. Could that be your problem, i.e. did you just move Defold.app?

1 Like

I moved the whole folder with all Eclipse/Defold subfolders to the Applications folder (via the shortcut provided in the .dmg):

https://gfycat.com/PleasedScaredArizonaalligatorlizard < Video of folder/startup/crash

I’m seeing the same crashing behavior here. I’ve tried copying the whole “Defold-macosx.cocoa.x86_64” folder to Applications and to my Desktop, and also tried launching directly from the copy in Downloads… In all cases, crashing here…

Process: Defold [67428]
Path: /Volumes/VOLUME/*/Defold.app/Contents/MacOS/Defold
Identifier: com.dynamo.cr.editor.product
Version: 1.2.96 (1.2.96)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Defold [67428]
User ID: 501

Date/Time: 2016-12-29 11:04:31.958 -0700
OS Version: Mac OS X 10.12 (16A323)
Report Version: 12
Anonymous UUID: DA1B9BD0-BDB1-4788-220C-526456FB19F4

Time Awake Since Boot: 3700000 seconds

System Integrity Protection: disabled

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

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000000000003c
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]

VM Regions Near 0x3c:
–>
__TEXT 0000000100000000-0000000100004000 [ 16K] r-x/rwx SM=COW /var/folders/*/Defold.app/Contents/MacOS/Defold

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.CoreFoundation 0x00007fffb07eefd4 CFBundleGetFunctionPointerForName + 36
1 com.dynamo.cr.editor.product 0x00000001000030bd findSymbol + 66
2 com.dynamo.cr.editor.product 0x00000001000018be original_main + 1572
3 com.dynamo.cr.editor.product 0x0000000100001f7d main + 1230
4 com.dynamo.cr.editor.product 0x0000000100001158 start + 52

1 Like

I have the exact same issue. Interestingly, this only happens to me when I launch eclipse by clicking the icon from the launchpad or from the Applications section of the Finder. If I start eclipse from command line, it works fine.

1 Like