Wasm fails with .2417

Hi
Using version .2417 I cannot run wasm projects. There are two problems here :

  1. Your wasm samples don’t compile (Delphi classes not found?)

  2. I removed Delphi related code from Basic_WebAssembly_GUI_Controls_App sample and run it. The runtime error is :

    Exception of type TypeError on thread 0001
    Message: TypeError: Cannot read property ‘apply’ of null
    at imp.env.__island_invoke (http://127.0.0.1:49587/wasm/RemObjectsElements.js:443:38)
    at ms_te__1sWebAssemblyc_InvokeMethodnp_vna_o (wasm-function[2348]:216)
    at mi_td__1sMethodInfo6_Invokenona_o (wasm-function[2370]:1569)
    at mi_tnte__1sWebAssembly18__l__g_c____DisplayClass117__l_GetProxyFor_g_b____2nt13__1sEcmaScriptObject (wasm-function[2282]:748)
    at mi_t16__1sWebAssemblyDelegate6_Invokent13__1sEcmaScriptObject (wasm-function[2173]:31)
    at __island_call_delegate (wasm-function[3054]:31)
    at Object.res [as HelloWorld] (http://127.0.0.1:49587/wasm/RemObjectsElements.js:246:62)
    at http://127.0.0.1:49587/index.html:14:12

The same errors I get in my wasm projects. I tested Island for Windows console project and it works fine.
Artur

Thanks, logged as bugs://82879

this should be fixed in tomorrows build

bugs://82879 got closed with status fixed.

Today I tried build .2421 and got new build error :

lld: error: C:\Users\artur.redzko\AppData\Local\RemObjects Software\EBuild\Obj\WebAssemblyDK_Mini-9EBBF638D9C6350D9F21EE6DB9C8724C5CB546C0\Debug\Island-WebAssembly\wasm32\TatukGIS.a(Global-3004c765433f6d54a91516cfb9f1a7d2.o): undefined symbol: _rtti_s.1

the same on the Island Windows project. What’s wrong?
Artur

This is in your project only? Or got a testcase?

Yes. I tried on samples or using a test case with no luck.

I found the old private message to You on the forum with the subject " Linker NRE for Island-Windows v10.0.0.2347" that in the first post has active project attachment DK11.7z that you can use to reproduce the issue with _rtti_s. I will answer this message so you will get the notification.

1 Like

Thanks, logged as bugs://82939

bugs://82939 got closed with status fixed.