I figured it out... apparently, kotlinx.serialization was hitting the iOS stack size limit (1mb), an...
b
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
Thanks for sharing the workaround! Do you think itโ€™d make sense to report the stack exhaustion issue to kotlinx.serialization?
๐Ÿ‘Œ 1
b
l
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.
p
@Brian Guertin How did this error age? Do you still have the workaround in place? We face a similar issue, only that itโ€™s not even a nested json