app crash under OS X Mavericks

Running my app (64-bit build, OS X 10.9.5) yesterday it suddenly crashed possibly with stack overflow. Anyway the app window vanished with no warning or “unhandled exception” message and I got one of those crash screen that asks you whether to submit this to Apple. There was nothing in my own logging, either.

The only thing I might have been doing was clicking in the space after the last row in a listbox; I have a mousedown handler to look for that.

I captured the traceback/register dump info, which says, amongst other things:

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

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00007fff5d8b9e98
[/quote]
Is it worth submitting a feedback for this? There seem to be many info lines that say:

[quote]…

15 com.apple.CoreText 0x00007fff8d0f952b TGlyphEncoder::AppendUnmappedCharRun(TCFRef<CTRun*>&, __CTFont const*, CFRange, CFRange, TGlyphList&, TGlyphList&, TFontCascade const&, TGlyphEncoder::ClusterMatching) + 857

16 com.apple.CoreText 0x00007fff8d0f8f2c TGlyphEncoder::RunUnicodeEncoderRecursively(TCFRef<CTRun*>&&, __CTFont const*, CFRange, TGlyphList&, TGlyphList&, TFontCascade const*, TGlyphEncoder::ClusterMatching, bool) + 1118


[/quote]

How many customers use 10.9? Are they critical? Do you do any testing on 10.9?

Nowadays I don’t bother with such old versions of macOS. Too much stuff changes, too many versions. Not enough time to test.

[quote=407303:@Beatrix Willius]How many customers use 10.9? Are they critical? Do you do any testing on 10.9?

Nowadays I don’t bother with such old versions of macOS. Too much stuff changes, too many versions. Not enough time to test.[/quote]
This version isn’t released yet. Two people here use 10.9.5, however.

There were two identical crashes within 30 mins of each other, but otherwise the app runs for at least days at a time.

10.9 has been deprecated since 2017r3.
When looking up the version that deprecated it I found something you should know about: http://developer.xojo.com/deprecations

I can’t say anything about unreleased versions, but that page notes a removal for 2018r3.

True but not removed yet.

Thanks - that seems to imply that 2018r2 (which I am using) is the last one for builds for 10.9.

Yes, I may have to take this late 2012 Mini straight to Mojave.

[quote=407331:@Tim Streater]@Tim Parnell 10.9 has been deprecated since 2017r3.

True but not removed yet.[/quote]
if you wait for the next coming xojo version, you may change your mind…

Regardless of all of you “not talking about the beta,” you’re not addressing the question.

@Tim Streater - we would need to see the entire crash log to give a definitive answer but crashes that have an exception type of EXC_BAD_ACCESS (SIGSEGV) are often due to the framework or a declare accessing a pointer after it has been deallocated.

Could you paste the first 15 numbered lines of that crash log that are listed under Thread 0?

Sure. In fact, starting at the top we have:

[quote]Process: iLetter [96479]
Path: /Users/USER/*/iLetter.app/Contents/MacOS/iLetter
Identifier: com.personal.iletter
Version: v2.0 D3B064 (2.0.0.0.0)
Code Type: X86-64 (Native)
Parent Process: launchd [172]
Responsible: iLetter [96479]
User ID: 501

Date/Time: 2018-09-24 22:42:41.050 +0100
OS Version: Mac OS X 10.9.5 (13F1911)
Report Version: 11
Anonymous UUID: 6ECAF0D1-7BCA-CE08-B9DA-25AF73585439

Sleep/Wake UUID: 9D3B809E-B4E9-4AA8-9883-7F8E408D5110

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

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00007fff5d8b9e98

VM Regions Near 0x7fff5d8b9e98:
MALLOC_TINY 00007ffa9d000000-00007ffa9d300000 [ 3072K] rw-/rwx SM=PRV
–> STACK GUARD 00007fff5a0ba000-00007fff5d8ba000 [ 56.0M] —/rwx SM=NUL stack guard for thread 0
Stack 00007fff5d8ba000-00007fff5e0ba000 [ 8192K] rw-/rwx SM=COW thread 0

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libunwind.dylib 0x00007fff92ae9b51 libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_x86_64>::setInfoBasedOnIPRegister(bool) + 33
1 libunwind.dylib 0x00007fff92ae9b26 unw_init_local + 138
2 libunwind.dylib 0x00007fff92aea560 unwind_phase2 + 44
3 libunwind.dylib 0x00007fff92ae9a44 _Unwind_RaiseException + 248
4 libc++abi.dylib 0x00007fff90467c4a __cxa_throw + 107
5 libFontParser.dylib 0x00007fff8a8d592d TcmapUnicodeTable::GetUnicodeSubtable(unsigned int&) + 335
6 libFontParser.dylib 0x00007fff8a8a1051 TcmapUnicodeTable::TcmapUnicodeTable(TSFNTFont const&) + 79
7 libFontParser.dylib 0x00007fff8a8a0ef5 TSFNTFont::GetGlyphsPerCharacters(unsigned short const*, unsigned short*, unsigned int&, bool) const + 55
8 libFontParser.dylib 0x00007fff8a8b2ccc FPFontGetGlyphsForUnichars + 608
9 com.apple.CoreText 0x00007fff8d0aec0a TcmapTable::Map(unsigned short const*, unsigned short*, long&) const + 210
10 com.apple.CoreText 0x00007fff8d0aeab2 TBaseFont::GetGlyphsForCharacters(unsigned short const*, unsigned short*, long) const + 82
11 com.apple.CoreText 0x00007fff8d0cd570 TUnicodeEncoder::Encode(__CTFont const*, TCharStreamIterator&, CFRange, bool, unsigned short*, CGSize*, unsigned int*, double&) + 958
12 com.apple.CoreText 0x00007fff8d0f9074 TGlyphEncoder::RunUnicodeEncoderRecursively(TCFRef<CTRun*>&&, __CTFont const*, CFRange, TGlyphList&, TGlyphList&, TFontCascade const*, TGlyphEncoder::ClusterMatching, bool) + 1446
13 com.apple.CoreText 0x00007fff8d0f985c TGlyphEncoder::AppendUnmappedCharRun(TCFRef<CTRun*>&, __CTFont const*, CFRange, CFRange, TGlyphList&, TGlyphList&, TFontCascade const&, TGlyphEncoder::ClusterMatching) + 1674
14 com.apple.CoreText 0x00007fff8d0f8f2c TGlyphEncoder::RunUnicodeEncoderRecursively(TCFRef<CTRun*>&&, __CTFont const*, CFRange, TGlyphList&, TGlyphList&, TFontCascade const*, TGlyphEncoder::ClusterMatching, bool) + 1118
15 com.apple.CoreText 0x00007fff8d0f952b TGlyphEncoder::AppendUnmappedCharRun(TCFRef<CTRun*>&, __CTFont const*, CFRange, CFRange, TGlyphList&, TGlyphList&, TFontCascade const&, TGlyphEncoder::ClusterMatching) + 857
16 com.apple.CoreText 0x00007fff8d0f8f2c TGlyphEncoder::RunUnicodeEncoderRecursively(TCFRef<CTRun*>&&, __CTFont const*, CFRange, TGlyphList&, TGlyphList&, TFontCascade const*, TGlyphEncoder::ClusterMatching, bool) + 1118
17 com.apple.CoreText 0x00007fff8d0f985c TGlyphEncoder::AppendUnmappedCharRun(TCFRef<CTRun*>&, __CTFont const*, CFRange, CFRange, TGlyphList&, TGlyphList&, TFontCascade const&, TGlyphEncoder::ClusterMatching) + 1674
[/quote]

This is followed by another approx 500 lines consisting of pairs of RunUnicodeEncoderRecursively and AppendUnmappedCharRun. And then info about other threads.