RESOLVED DUPLICATE of bug 277973 280059
struct.get null pointer error on a WASM Compose project
https://bugs.webkit.org/show_bug.cgi?id=280059
Summary struct.get null pointer error on a WASM Compose project
Rok Oblak
Reported 2024-09-20 06:28:14 PDT
Created attachment 472612 [details] scerenshot of the error in Safari console This page contains has a deployed Jetpack Compose WASM project: https://oblakr24.github.io/KMPDatePicker/ (repo: https://github.com/oblakr24/KMPDatePicker) It opens up successfully, however clicking the buttons intermittently causes the exception (see screenshot): RuntimeError: struct.get to a null reference (evaluating 't()') A very similar error happens on this site: https://shreyashkore.github.io/wonderous-compose-wasm/ The error appears to be specific to Safari Technology Preview, and does not happen on other (non-Safari) browsers.
Attachments
scerenshot of the error in Safari console (239.85 KB, image/png)
2024-09-20 06:28 PDT, Rok Oblak
no flags
Alexey Proskuryakov
Comment 1 2024-09-23 16:10:39 PDT
Thank you for the report! Could you please clarify if this worked in any previous Safari versions (such as Safari 17.6 or Safari 18)?
Radar WebKit Bug Importer
Comment 2 2024-09-27 06:29:14 PDT
Rok Oblak
Comment 3 2024-09-27 06:30:27 PDT
(In reply to Alexey Proskuryakov from comment #1) > Thank you for the report! Could you please clarify if this worked in any > previous Safari versions (such as Safari 17.6 or Safari 18)? Hi, it did not work in any previous version, as this was the first version of Safari with WASM garbage collection enabled so as to enable Kotlin Compose Multiplatform projects to run in the first place.
Yusuke Suzuki
Comment 4 2024-10-03 10:37:02 PDT
Thanks! This is dupe of bug 277973. *** This bug has been marked as a duplicate of bug 277973 ***
Note You need to log in before you can comment on or make changes to this bug.