Pre loader

exception thrown: RuntimeError: function signature mismatch

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

1
0

A client responded that the line diagram drawn by scient.js on the mobile phone could not be seen.
We follow the user’s log and find that there is such content

2022/09/21 07:02:27.981 exception thrown: RuntimeError: function signature mismatch,RuntimeError: function signature mismatch
            at <anonymous>:wasm-function[2101]:0x5fc72
            at <anonymous>:wasm-function[1355]:0x2a029
            at <anonymous>:wasm-function[2409]:0x7ef3a
            at Ch (<anonymous>:wasm-function[4028]:0x12f27f)
            at r._main (<anonymous>:16:687711)
            at Object.Ma [as callMain] (<anonymous>:16:688823)
            at <anonymous>:16:565075

2022/09/21 07:02:27.981 Could not load SciChart WebAssembly module.
            Check your build process and ensure that your scichart2d.wasm, scichart2d.data and scichart2d.js files are from the same version

.
We try to reproduce many different devices. At present, it seems that only the device will happen. The following is the information of the device

Version
2.1.2273
Images
  • You must to post comments
1
0

hi Andrew,

Thank you very much for your reply

We have seen that discussion, but unfortunately the device in question is a Snapdragon 865 CPU, not an Intel HD GPU, I have attached a screenshot of that device

The deployed environment has more than 20+ devices working fine, only this device has this issue

In order to rule out the possibility that the wasm and js versions do not match, we also contacted the user to remove and reinstall the app to avoid abnormal cache, but he reported that the problem did not improve after execution

Do you have any suggestion?

  • Andrew Burnett-Thompson
    Hi Chinghung, can you tell us more details about which device this is failing on. You say its a mobile phone – what phone model? is it android and if so what android version? What browser and version? Are you using any frameworks like React-native or similar? Next question is how are you setting up the chart & loading wasm in code? Best regards, Andrew
  • You must to post comments
1
0

This can also happen if the wasm version does not match the js version, hence the message “Check your build process and ensure that your scichart2d.wasm, scichart2d.data and scichart2d.js files are from the same version”.

Some advice for dealing with this are in our documentation here

Regards
David

  • You must to post comments
1
0

Hi there,

This has been asked before here: Function or function signature mismatch error.

The resolution is to update graphics drivers if it’s an Intel HD GPU.

Please see the above and comment back if that solves the problem

Best regards,
Andrew

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies