My Editor Keeps Crashing

Hi.

I am new to Defold, and I am doing the tutorial. I downloaded and opened the editor. I signed in when it told me to. I then opened the Getting Started Tutorial project. After I had opened it, I double clicked the main/main.selection thing as it told me to. It then started to load, however, it randomly crashed. I have done this over many times and it still does not work. Any ideas why, and how to fix it?

What do you see in the error log?

Are you using the editor on Windows, Linux or OSX? Do you get any kind of crash dump or log or something like that?

I’m using OSX. There is a Problem Report that pops up right after it crashes.

Here’s a small little bit of it.

Is there a reason you are not updating your Mac OS X version?

Could you also open finder, locate the Defold.app, right click and select Show Package Contents and then navigate to Contents/MacOS/ and post any *.log files from that folder.

@sven, @jakob.pogulis, @Mathias_Westerdahl, @Andreas_Tadic: What additional pieces of information do we need to troubleshoot this?

1 Like

Can you post more of the crash?

My computer is too old to update to a newer version.

Process:         Defold [7317]
Path:            /Applications/Defold-macosx.cocoa.x86_64/Defold.app/Contents/MacOS/Defold
Identifier:      com.dynamo.cr.editor.product
Version:         1.2.83 (1.2.83)
Code Type:       X86-64 (Native)
Parent Process:  launchd [182]

Date/Time:       2016-06-17 09:01:01.328 -0700
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Interval Since Last Report:          1265410 sec
Crashes Since Last Report:           19
Per-App Interval Since Last Report:  1118 sec
Per-App Crashes Since Last Report:   8
Anonymous UUID:                      2500C975-CB05-4084-8D52-2228B8A10FF1

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   com.apple.CoreFoundation      	0x00007fff81dd78a1 ___forwarding___ + 673
1   com.apple.CoreFoundation      	0x00007fff81dd3a38 _CF_forwarding_prep_0 + 232
2   libobjc.A.dylib               	0x00007fff8a084325 _class_initialize + 384
3   libobjc.A.dylib               	0x00007fff8a09252b prepareForMethodLookup + 234
4   libobjc.A.dylib               	0x00007fff8a08acb9 lookUpMethod + 73
5   libobjc.A.dylib               	0x00007fff8a082faa objc_msgSend + 198
6   libawt_lwawt.dylib            	0x000000012d843d24 JNI_OnLoad + 412
7   libjava.dylib                 	0x000000010071fd4b Java_java_lang_ClassLoader_00024NativeLibrary_load + 208
8   ???                           	0x000000011342db0e 0 + 4618115854
9   ???                           	0x00000001134222e0 0 + 4618068704
10  ???                           	0x0000000113421c60 0 + 4618067040
11  ???                           	0x00000001134222e0 0 + 4618068704
12  ???                           	0x00000001134222e0 0 + 4618068704
13  ???                           	0x000000011341b4e7 0 + 4618040551
14  libjvm.dylib                  	0x0000000112820186 JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710
15  libjvm.dylib                  	0x0000000112854c4a jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*) + 447
16  libjvm.dylib                  	0x000000011284dfcb jni_CallStaticVoidMethodV + 232
17  libjava.dylib                 	0x000000010072c9fb JNU_CallStaticMethodByName + 282
18  libawt.dylib                  	0x000000012a9c9157 AWT_OnLoad + 359
19  libawt.dylib                  	0x000000012a9c91a0 JNI_OnLoad + 9
20  libjava.dylib                 	0x000000010071fd4b Java_java_lang_ClassLoader_00024NativeLibrary_load + 208
21  ???                           	0x000000011342db0e 0 + 4618115854
22  ???                           	0x00000001134222e0 0 + 4618068704
23  ???                           	0x0000000113421c60 0 + 4618067040
24  ???                           	0x00000001134222e0 0 + 4618068704
25  ???                           	0x00000001134222e0 0 + 4618068704
26  ???                           	0x00000001134222e0 0 + 4618068704
27  ???                           	0x0000000113422210 0 + 4618068496
28  ???                           	0x000000011341b4e7 0 + 4618040551
29  libjvm.dylib                  	0x0000000112820186 JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710
30  libjvm.dylib                  	0x0000000112875912 JVM_DoPrivileged + 1206
31  ???                           	0x000000011389de7f 0 + 4622769791
32  ???                           	0x0000000113422210 0 + 4618068496
33  ???                           	0x00000001134222e0 0 + 4618068704
34  ???                           	0x000000011341b4e7 0 + 4618040551
35  libjvm.dylib                  	0x0000000112820186 JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710
36  libjvm.dylib                  	0x00000001127f3bcd InstanceKlass::call_class_initializer_impl(instanceKlassHandle, Thread*) + 191
37  libjvm.dylib                  	0x00000001127f502d InstanceKlass::initialize_impl(instanceKlassHandle, Thread*) + 1479
38  libjvm.dylib                  	0x00000001127f52af InstanceKlass::initialize(Thread*) + 61
39  libjvm.dylib                  	0x00000001127f4d55 InstanceKlass::initialize_impl(instanceKlassHandle, Thread*) + 751
40  libjvm.dylib                  	0x00000001127f52af InstanceKlass::initialize(Thread*) + 61
41  libjvm.dylib                  	0x00000001128f066a LinkResolver::resolve_static_call(CallInfo&, KlassHandle&, Symbol*, Symbol*, KlassHandle, bool, bool, Thread*) + 156
42  libjvm.dylib                  	0x00000001128f087e LinkResolver::resolve_invokestatic(CallInfo&, constantPoolHandle, int, Thread*) + 258
43  libjvm.dylib                  	0x00000001128f093f LinkResolver::resolve_invoke(CallInfo&, Handle, constantPoolHandle, int, Bytecodes::Code, Thread*) + 179
44  libjvm.dylib                  	0x000000011281a655 InterpreterRuntime::resolve_invoke(JavaThread*, Bytecodes::Code) + 881
45  ???                           	0x0000000113439548 0 + 4618163528
46  ???                           	0x0000000113422210 0 + 4618068496
47  ???                           	0x000000011341b4e7 0 + 4618040551
48  libjvm.dylib                  	0x0000000112820186 JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710
49  libjvm.dylib                  	0x0000000112875912 JVM_DoPrivileged + 1206
50  ???                           	0x000000011389de7f 0 + 4622769791
51  ???                           	0x0000000113422210 0 + 4618068496
52  ???                           	0x00000001134222e0 0 + 4618068704
53  ???                           	0x00000001134222e0 0 + 4618068704
54  ???                           	0x0000000113422210 0 + 4618068496
55  ???                           	0x000000011341b4e7 0 + 4618040551
56  libjvm.dylib                  	0x0000000112820186 JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710
57  libjvm.dylib                  	0x0000000112875912 JVM_DoPrivileged + 1206
58  ???                           	0x000000011389de7f 0 + 4622769791
59  ???                           	0x0000000113422210 0 + 4618068496
60  ???                           	0x0000000113422210 0 + 4618068496
61  ???                           	0x0000000113422210 0 + 4618068496
62  ???                           	0x000000011341b4e7 0 + 4618040551
63  libjvm.dylib                  	0x0000000112820186 JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710
64  libjvm.dylib                  	0x00000001127f3bcd InstanceKlass::call_class_initializer_impl(instanceKlassHandle, Thread*) + 191
65  libjvm.dylib                  	0x00000001127f502d InstanceKlass::initialize_impl(instanceKlassHandle, Thread*) + 1479
66  libjvm.dylib                  	0x00000001127f52af InstanceKlass::initialize(Thread*) + 61
67  libjvm.dylib                  	0x00000001128f066a LinkResolver::resolve_static_call(CallInfo&, KlassHandle&, Symbol*, Symbol*, KlassHandle, bool, bool, Thread*) + 156
68  libjvm.dylib                  	0x00000001128f087e LinkResolver::resolve_invokestatic(CallInfo&, constantPoolHandle, int, Thread*) + 258
69  libjvm.dylib                  	0x00000001128f093f LinkResolver::resolve_invoke(CallInfo&, Handle, constantPoolHandle, int, Bytecodes::Code, Thread*) + 179
70  libjvm.dylib                  	0x000000011281a655 InterpreterRuntime::resolve_invoke(JavaThread*, Bytecodes::Code) + 881
71  ???                           	0x0000000113439548 0 + 4618163528
72  ???                           	0x0000000113422210 0 + 4618068496
73  ???                           	0x0000000113422255 0 + 4618068565
74  ???                           	0x00000001134222e0 0 + 4618068704
75  ???                           	0x00000001134222e0 0 + 4618068704
76  ???                           	0x0000000113421c60 0 + 4618067040
77  ???                           	0x00000001134222e0 0 + 4618068704
78  ???                           	0x00000001134222e0 0 + 4618068704
79  ???                           	0x00000001134222e0 0 + 4618068704
80  ???                           	0x0000000113422325 0 + 4618068773
81  ???                           	0x0000000113422325 0 + 4618068773
82  ???                           	0x0000000113422325 0 + 4618068773
83  ???                           	0x00000001134222e0 0 + 4618068704
84  ???                           	0x00000001134222e0 0 + 4618068704
85  ???                           	0x00000001134222e0 0 + 4618068704
86  ???                           	0x00000001134222e0 0 + 4618068704
87  ???                           	0x0000000113422325 0 + 4618068773
88  ???                           	0x0000000113422325 0 + 4618068773
89  ???                           	0x00000001134222e0 0 + 4618068704
90  ???                           	0x0000000113422325 0 + 4618068773
91  ???                           	0x00000001134222e0 0 + 4618068704
92  ???                           	0x00000001134222e0 0 + 4618068704
93  ???                           	0x00000001134222e0 0 + 4618068704
94  ???                           	0x0000000113422325 0 + 4618068773
95  ???                           	0x0000000113422325 0 + 4618068773
96  ???                           	0x0000000113422210 0 + 4618068496
97  ???                           	0x0000000113422210 0 + 4618068496
98  ???                           	0x0000000113422210 0 + 4618068496
99  ???                           	0x0000000113422255 0 + 4618068565
100 ???                           	0x00000001134222e0 0 + 4618068704
101 ???                           	0x0000000113422325 0 + 4618068773
102 ???                           	0x0000000113422325 0 + 4618068773
103 ???                           	0x00000001134222e0 0 + 4618068704
104 ???                           	0x00000001134222e0 0 + 4618068704
105 ???                           	0x00000001134222e0 0 + 4618068704
106 ???                           	0x00000001134222e0 0 + 4618068704
107 ???                           	0x00000001134222e0 0 + 4618068704
108 ???                           	0x00000001134222e0 0 + 4618068704
109 ???                           	0x00000001134222e0 0 + 4618068704
110 ???                           	0x00000001134222e0 0 + 4618068704
111 ???                           	0x00000001134222e0 0 + 4618068704
112 ???                           	0x00000001134222e0 0 + 4618068704
113 ???                           	0x00000001134222e0 0 + 4618068704
114 ???                           	0x00000001134222e0 0 + 4618068704
115 ???                           	0x00000001134222e0 0 + 4618068704
116 ???                           	0x0000000113422210 0 + 4618068496
117 ???                           	0x0000000113422210 0 + 4618068496
118 ???                           	0x0000000113422210 0 + 4618068496
119 ???                           	0x0000000113422210 0 + 4618068496
120 ???                           	0x0000000113422210 0 + 4618068496
121 ???                           	0x0000000113422325 0 + 4618068773
122 ???                           	0x00000001134222e0 0 + 4618068704
123 ???                           	0x0000000113422210 0 + 4618068496
124 ???                           	0x0000000113422210 0 + 4618068496
125 ???                           	0x0000000113422255 0 + 4618068565
126 ???                           	0x0000000113422210 0 + 4618068496
127 ???                           	0x0000000113422210 0 + 4618068496
128 ???                           	0x00000001134222e0 0 + 4618068704
129 ???                           	0x0000000113422325 0 + 4618068773
130 ???                           	0x00000001134222e0 0 + 4618068704
131 ???                           	0x00000001134222e0 0 + 4618068704
132 ???                           	0x0000000113422325 0 + 4618068773
133 ???                           	0x00000001139ea3a4 0 + 4624130980
134 ???                           	0x0000000113422325 0 + 4618068773
135 ???                           	0x00000001134222e0 0 + 4618068704
136 ???                           	0x00000001134222e0 0 + 4618068704
137 ???                           	0x00000001134222e0 0 + 4618068704
138 ???                           	0x00000001134222e0 0 + 4618068704
139 ???                           	0x0000000113422325 0 + 4618068773
140 ???                           	0x00000001134222e0 0 + 4618068704
141 ???                           	0x00000001134222e0 0 + 4618068704
142 ???                           	0x0000000114068704 0 + 4630939396

Did you find a log file inside the Defold editor package?