Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use scipy debug build to have more informative errors #1

Merged
merged 2 commits into from Dec 12, 2022

Conversation

lesteve
Copy link
Owner

@lesteve lesteve commented Dec 9, 2022

Debug builds courtesy of @hoodmane

@hoodmane
Copy link

hoodmane commented Dec 9, 2022

Much better!

Pyodide has suffered a fatal error. Please report this to the Pyodide maintainers.
The cause of the fatal error was:
RuntimeError: Aborted(). Build with -sASSERTIONS for more info.
    at abort (/home/runner/work/scipy-tests-pyodide/scipy-tests-pyodide/node_modules/pyodide/pyodide.asm.js:6887:15)
    at _abort (/home/runner/work/scipy-tests-pyodide/scipy-tests-pyodide/node_modules/pyodide/pyodide.asm.js:19989:7)
    at sig_die (wasm://wasm/00e478ee:wasm-function[1710]:0x375e9d)
    at z_div (wasm://wasm/00e478ee:wasm-function[1729]:0x3766ed)
    at zhetrs_ (wasm://wasm/00e478ee:wasm-function[1269]:0x2aae79)
    at zhecon_ (wasm://wasm/00e478ee:wasm-function[1251]:0x2a335d)
    at f2py_rout__flapack_zhecon (wasm://wasm/00677c62:wasm-function[395]:0x62926)
    at fortran_call (wasm://wasm/0003e3ba:wasm-function[103]:0x6642)
    at method_call_trampoline (/home/runner/work/scipy-tests-pyodide/scipy-tests-pyodide/node_modules/pyodide/pyodide.asm.js:9750:33)
    at _PyObject_MakeTpCall (wasm://wasm/02005366:wasm-function[997]:0x1309ec) {
  pyodide_fatal_error: true

@lesteve
Copy link
Owner Author

lesteve commented Dec 9, 2022

Nice, the full log is here

@ogrisel
Copy link

ogrisel commented Dec 12, 2022

Nice, the full log is here

I get an expired URI error message. What are you high level conclusions?

@lesteve
Copy link
Owner Author

lesteve commented Dec 12, 2022

I'll merge the PR so that at least we have a daily build and we can look at the errors.

I did not have high-level conclusions, there were some Cpp exceptions errors that I had never seen before, so that may be fixable.

I assume the Pyodide build was generated by @hoodmane once and is not going to be updated regularly. In an ideal world the debug build would be updated regularly (or there would be artifacts we could download somewhere).

@lesteve lesteve merged commit bf073e8 into main Dec 12, 2022
@lesteve lesteve deleted the use-debug-scipy-build branch December 12, 2022 11:04
@lesteve
Copy link
Owner Author

lesteve commented Dec 12, 2022

Also to be honest, the hope is that some of the errors may disappear when we switch to OpenBLAS pyodide/pyodide#3331, so it is probably better to try to switch to OpenBLAS first, before trying to investigate these kind of issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants