https://kotlinlang.org logo
#ios
Title
# ios
b

Brian Guertin

01/19/2022, 4:10 AM
I figured it out... apparently, kotlinx.serialization was hitting the iOS stack size limit (1mb), and increasing the stack size (via linker flags:
-Wl,-stack_size,0x800000
) solved the issue. Sharing in case anyone else has
EXC_BAD_ACCESS
issues.
👏 2
n

Nikolay Kasyanov

01/19/2022, 1:24 PM
Thanks for sharing the workaround! Do you think it’d make sense to report the stack exhaustion issue to kotlinx.serialization?
👌 1
b

Brian Guertin

01/19/2022, 8:48 PM
l

louiscad

01/21/2022, 5:47 PM
Can the very long logs and stacktraces be removed from the issue and its comments? It makes Chrome for Android freeze each time 😞
You can attach files instead.
6 Views