Hey all, have a multiplatform, multi-module projec...
# kotlin-native
a
Hey all, have a multiplatform, multi-module project that I'm upgrading from Kotlin 1.5.10 to 1.5.20 When I run
./gradlew iosX64Test
on 1.5.10, everything passes When I run
./gradlew iosX64Test
on 1.5.20, tests for one specific module are consistently giving me a segfault, both on my local machine and on CI (see thread for output) No other changes besides the version number. Any likely-culprit known issues in 1.5.20 that would cause this that I could follow on YT? Any tips on how to track down the issue or work around it?
Copy code
> Task :assistant-generator:iosX64Test FAILED
Caching disabled for task ':assistant-generator:iosX64Test' because:
  Caching has not been enabled for the task
Task ':assistant-generator:iosX64Test' is not up-to-date because:
  Task has failed previously.
Starting process 'command '/usr/bin/xcrun''. Working directory: /opt/projects/quizlet-shared-kotlin/assistant-generator Command: /usr/bin/xcrun simctl spawn --standalone iPhone 8 /opt/projects/quizlet-shared-kotlin/assistant-generator/build/bin/iosX64/debugTest/test.kexe -- --ktest_no_exit_code --ktest_logger=TEAMCITY
Successfully started process 'command '/usr/bin/xcrun''
Child process terminated with signal 11: Segmentation fault
:assistant-generator:iosX64Test (Thread[Daemon worker Thread 20,5,main]) completed. Took 0.942 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':assistant-generator:iosX64Test'.
> command '/usr/bin/xcrun' exited with errors (exit code: 139)
s
@ankushg how did you handle this? We’re getting
Child process terminated with signal 11: Segmentation fault
with
Kotlin 1.9.0 + koin
on iOS tests only