Hello. I'm seeing this runtime crash. Anyone seen ...
# compose-ios
x
Hello. I'm seeing this runtime crash. Anyone seen this before?
Copy code
Thread 1: EXC_BAD_ACCESS (code=1, address=0x0)
I'm using compose-multiplatform 1.4 w/ kotlin 1.8.20, reproducer here
thank you color 1
1
Doesn't looks like it is crashing with kotlin 1.8.21, so this workaround works for now
Copy code
// TODO: Remove once a compiler with support for >1.8.21 available
compose {
  kotlinCompilerPlugin.set(dependencies.compiler.forKotlin("1.8.20"))
  kotlinCompilerPluginArgs.add("suppressKotlinVersionCompatibilityCheck=1.8.21")
}
l
That's going to be a missed null pointer. I've seen this before with odd constructor ordering.
n
We have reproduced the issue and found the root cause (unfortunately the bug still persists in Kotlin 1.8.21 and is not reproduced by a lucky coincidence)
x
Is there an issue for this on the issue tracker? Also, I didn't run into this once I bumped to 1.8.21 but I mightve been extremely lucky
n
130 Views