Xojo 2017r2.1 - crashes a lot (macOS 10.13)

I have to say that Xojo 2017r2.1 crashes a lot when running macOS10.13
I already tried to delete all related cache files - but to no avail.
It mostly happens when buildings/compiling and quitting Xojo.

If needed I can provide 14 crash reports made today only.

Posting here is a nice gesture for your fellow users to keep us informed, but it does nothing to get Xojo, Inc. to address the problems. Please file feedback on at least some of your instances and post the crash reports there.

Crash report? 32bit or 64bit? The spawn thing?

Maybe this will helps since on my end works well and till know no more this kind of issues.

This issue is common and for High Sierra and Sierra as well. On Sierra even restarting a Mac doesn’t helps but renaming a project filename does.

Best way to handle it so far with what I got is:

In Xojo,in debug settings part select folder location to be some temp folder under your account home folder where your account have full access where Xojo will put temp files.

e.g. …/yourusername/temp/

Restart Xojo and give a try.

I see that quite a bit, but not necessarily tied to High Sierra.

Never had this issue with macOS10.12
Only with macOS 10.13

strange…i don’t have any crash on High sierra and xojo 2017 r2.1.
i have multiple project open on the xojo 2017 r2.1 and sometimes using xojo 2015r4.1 for one project.

Updates:
Screen shot to solve this:
Screen shot

This is not a solution at all.

BTW that option is just for projects you newly started and not yet saved.

If you were having problems like i did then you wouldn’t say that…

Since I changed it, no more problems and headache… &&& annoying with it.

My projects (regular and test ones) are not new and they are not started they are in progress, each day which means that your comment in my case, not standing at least.

It may solve your issue but that option only suppose to pinpoint the place to build apps when they are not yet saved.
Hence why it is called “Build Unsaved apps in:”.

BTW I double checked and this option does nothing when your project has been saved. I am about 99,9999% for sure it does not resolve the macOS10.13 issues.

For me it’s solving… and save a lot of wasting a time on this very annoying issue and bug.

I checked that setting and it was blank, so I just set it to Temporary. I’ve been getting a lot of crashes when exiting Xojo 2017 r2.1. This is why I no longer exit Xojo without first Cmd-S and letting it Save the project (before exiting Xojo).

Ralph just apply my way and maybe you will resolve issue till official update don’t come up.
It’s few clicks and mac reboot.

Screen shot to solve this:
Screen shot

TEMP folder which you can see on picture screen shot is actually a folder in my home folder which means that you should create it first before assign it as location.

[quote=353169:@Bogdan Pavlovic]Ralph just apply my way and maybe you will resolve issue till official update don’t come up.
It’s few clicks and mac reboot.

Screen shot to solve this:
Screen shot

TEMP folder which you can see on picture screen shot is actually a folder in my home folder which means that you should create it first before assign it as location.[/quote]
Why didn’t you just use the Temporary folder that was offered in the list?

Ok. I get it. I just created a XojoTemp folder in my Home folder and chose that for that setting.

Since it’s default ones and by placing folder which is in your home folder then you as user have full granted access to that folder. TEMP is just name which I used but you can call that folder anything you like, e.g. popcorn or so.

In the meantime I have more then 100 crashreports.
So buildings/compiling and quitting Xojo is still an issue.

You still haven’t posted a single crash report. And no Xojo doesn’t crash for me more often on High Sierra compared to El Capitan.

The crashes are mostly likely related to the caching issues when running macOS10.13 (many users already reported this and there are feedback cases for this too).

But here is the latest crash report: They all are very similar.

Process: Xojo [3813]
Path: /Applications/Xojo 2017 Release 2.1/Xojo.app/Contents/MacOS/Xojo
Identifier: com.xojo.xojo
Version: 17.2.1.38029 (17.2.1.3.38029)
Code Type: X86 (Native)
Parent Process: ??? [1]
Responsible: Xojo [3813]
User ID: 501

Date/Time: 2017-10-13 17:44:10.398 +0200
OS Version: Mac OS X 10.13 (17A405)
Report Version: 12
Bridge OS Version: 3.0 (14Y661)
Anonymous UUID: A4FF4BB0-E235-4B78-028B-0BD067DCBCA0

Sleep/Wake UUID: 4007F88C-B920-4A41-BC25-DA05EB613D1E

Time Awake Since Boot: 15000 seconds
Time Since Wake: 390 seconds

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 0x0000000000000020
Exception Note: EXC_CORPSE_NOTIFY

VM Regions Near 0x20:
–>
__TEXT 0000000000001000-0000000003492000 [ 52.6M] r-x/rwx SM=COW 5 [/Applications/Xojo 2017 Release 2.1/Xojo.app/Contents/MacOS/Xojo]

Application Specific Information:
objc_msgSend() selector name: respondsToSelector:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0xa6a3a163 objc_msgSend + 19
1 com.apple.AppKit 0x914f5667 -[NSTextInputContext deactivate] + 96
2 com.apple.AppKit 0x91d472f6 +[NSTextInputContext currentInputContext_withFirstResponderSync:] + 390
3 com.apple.AppKit 0x9135d3df +[NSTextInputContext currentInputContext] + 31
4 com.apple.AppKit 0x9135d3ba +[NSTextInputContext updateInputContexts] + 43
5 com.apple.AppKit 0x9135bc0e -[NSApplication updateWindows] + 93
6 com.apple.AppKit 0x9174af96 __38-[NSApplication setWindowsNeedUpdate:]_block_invoke.2399 + 72
7 com.apple.CoreFoundation 0x9391d396 _runLoopObserverWithBlockContext + 22
8 com.apple.CoreFoundation 0x9391d0a6 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 22
9 com.apple.CoreFoundation 0x9391cfc2 __CFRunLoopDoObservers + 498
10 com.apple.CoreFoundation 0x9390047d __CFRunLoopRun + 1661
11 com.apple.CoreFoundation 0x938ffad1 CFRunLoopRunSpecific + 641
12 com.apple.CoreFoundation 0x938ff83a CFRunLoopRunInMode + 122
13 com.apple.HIToolbox 0x92f00d3b RunCurrentEventLoopInMode + 321
14 com.apple.HIToolbox 0x92f0091f ReceiveNextEventCommon + 454
15 com.apple.HIToolbox 0x92f0073b _BlockUntilNextEventMatchingListInModeWithFilter + 71
16 com.apple.AppKit 0x913593c5 _DPSNextEvent + 2101
17 com.apple.AppKit 0x91acac44 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2859
18 com.apple.AppKit 0x91aca111 -[NSApplication(NSEvent) nextEventMatchingMask:untilDate:inMode:dequeue:] + 134
19 com.xojo.XojoFramework 0x03a6e6ed 0x3a2b000 + 276205
20 com.xojo.XojoFramework 0x03a6e736 0x3a2b000 + 276278
21 com.xojo.xojo 0x002139ef Delegate.Invoke%% + 34
22 com.xojo.xojo 0x0009b0de Application._CallFunctionWithExceptionHandling%%op + 248
23 com.xojo.XojoFramework 0x03bec642 CallFunctionWithExceptionHandling(void (*)()) + 323
24 com.xojo.XojoFramework 0x03a6e68e 0x3a2b000 + 276110
25 com.apple.AppKit 0x9134e319 -[NSApplication run] + 763
26 com.xojo.XojoFramework 0x03bec6e2 mainloop() + 49
27 com.xojo.XojoFramework 0x03bea860 RuntimeRun + 49
28 com.xojo.xojo 0x001c7e4b REALbasic._RuntimeRun + 34
29 com.xojo.xojo 0x032d6df3 _Main + 295
30 com.xojo.xojo 0x032cd081 main + 36
31 com.xojo.xojo 0x032e16f4 start + 53

Thread 1:: com.apple.NSEventThread
0 libsystem_platform.dylib 0xa776c093 _platform_bzero$VARIANT$sse42 + 51
1 com.apple.CoreFoundation 0x938851e4 _CFRuntimeCreateInstance + 356
2 com.apple.SkyLight 0xa47c2af7 SLTypeCreateInstance + 34
3 com.apple.SkyLight 0xa47ae38d CGSDeepCopyEventRecord + 147
4 com.apple.SkyLight 0xa47ae183 event_datagram_handler + 379
5 com.apple.SkyLight 0xa47ad347 CGSSnarfAndDispatchDatagrams + 1769
6 com.apple.SkyLight 0xa47d32a3 SLSGetNextEventRecordInternal + 89
7 com.apple.SkyLight 0xa47e3303 SLEventCreateNextEvent + 51
8 com.apple.HIToolbox 0x92f0b532 PullEventsFromWindowServerOnConnection(unsigned int, unsigned char, __CFMachPortBoost*) + 42
9 com.apple.HIToolbox 0x92f0b4d0 MessageHandler(__CFMachPort*, void*, long, void*) + 54
10 com.apple.CoreFoundation 0x93908bb9 __CFMachPortPerform + 313
11 com.apple.CoreFoundation 0x93908a73 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 35
12 com.apple.CoreFoundation 0x939089ba __CFRunLoopDoSource1 + 554
13 com.apple.CoreFoundation 0x93900eca __CFRunLoopRun + 4298
14 com.apple.CoreFoundation 0x938ffad1 CFRunLoopRunSpecific + 641
15 com.apple.CoreFoundation 0x938ff83a CFRunLoopRunInMode + 122
16 com.apple.AppKit 0x91489095 _NSEventThread + 165
17 libsystem_pthread.dylib 0xa777451d _pthread_body + 347
18 libsystem_pthread.dylib 0xa77743c2 _pthread_start + 357
19 libsystem_pthread.dylib 0xa7773a9e thread_start + 34

Thread 2:
0 libsystem_kernel.dylib 0xa7646d6e __psynch_cvwait + 10
1 libsystem_pthread.dylib 0xa77754eb _pthread_cond_wait + 658
2 libsystem_pthread.dylib 0xa7777140 pthread_cond_wait$UNIX2003 + 51
3 libc++.1.dylib 0xa59d1669 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 39
4 com.apple.JavaScriptCore 0x9678e0ca void std::__1::condition_variable_any::wait<std::__1::unique_lockbmalloc::Mutex >(std::__1::unique_lockbmalloc::Mutex&) + 90
5 com.apple.JavaScriptCore 0x9678dfec bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::)()>::threadRunLoop() + 124
6 com.apple.JavaScriptCore 0x9678e37f void
std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct >, void ()(bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::)()>), bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::)()>> >(void) + 47
7 libsystem_pthread.dylib 0xa777451d _pthread_body + 347
8 libsystem_pthread.dylib 0xa77743c2 _pthread_start + 357
9 libsystem_pthread.dylib 0xa7773a9e thread_start + 34

Thread 3:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0xa763dd22 mach_msg_trap + 10
1 libsystem_kernel.dylib 0xa763d35f mach_msg + 47
2 com.apple.CoreFoundation 0x939016e8 __CFRunLoopServiceMachPort + 296
3 com.apple.CoreFoundation 0x939006d6 __CFRunLoopRun + 2262
4 com.apple.CoreFoundation 0x938ffad1 CFRunLoopRunSpecific + 641
5 com.apple.CoreFoundation 0x938ff83a CFRunLoopRunInMode + 122
6 com.apple.CFNetwork 0x92b7a472 +[NSURLConnection(Loader) _resourceLoadLoop:] + 389
7 com.apple.Foundation 0x952e4c08 -[NSThread main] + 39
8 com.apple.Foundation 0x952e4a8c NSThread__start + 1269
9 libsystem_pthread.dylib 0xa777451d _pthread_body + 347
10 libsystem_pthread.dylib 0xa77743c2 _pthread_start + 357
11 libsystem_pthread.dylib 0xa7773a9e thread_start + 34

Thread 4:
0 libsystem_kernel.dylib 0xa764771a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0xa77740a0 _pthread_wqthread + 1536
2 libsystem_pthread.dylib 0xa7773a7a start_wqthread + 34

Thread 5:
0 libsystem_kernel.dylib 0xa764771a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0xa77740a0 _pthread_wqthread + 1536
2 libsystem_pthread.dylib 0xa7773a7a start_wqthread + 34

Thread 6:
0 libsystem_kernel.dylib 0xa764771a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0xa7773e80 _pthread_wqthread + 992
2 libsystem_pthread.dylib 0xa7773a7a start_wqthread + 34

Thread 7:
0 libsystem_kernel.dylib 0xa764771a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0xa77740a0 _pthread_wqthread + 1536
2 libsystem_pthread.dylib 0xa7773a7a start_wqthread + 34

Thread 8:
0 libsystem_kernel.dylib 0xa764771a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0xa7773eab _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0xa7773a7a start_wqthread + 34

Thread 9:
0 libsystem_kernel.dylib 0xa764771a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0xa77740a0 _pthread_wqthread + 1536
2 libsystem_pthread.dylib 0xa7773a7a start_wqthread + 34

Thread 10:
0 libsystem_kernel.dylib 0xa764771a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0xa77740a0 _pthread_wqthread + 1536
2 libsystem_pthread.dylib 0xa7773a7a start_wqthread + 34

Thread 11:
0 libsystem_kernel.dylib 0xa764771a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0xa77740a0 _pthread_wqthread + 1536
2 libsystem_pthread.dylib 0xa7773a7a start_wqthread + 34