Skip to content

Fix scipy null pointer bug after migrating to meson#4313

Merged
ryanking13 merged 2 commits intopyodide:mainfrom
ryanking13:scipy-bug
Nov 28, 2023
Merged

Fix scipy null pointer bug after migrating to meson#4313
ryanking13 merged 2 commits intopyodide:mainfrom
ryanking13:scipy-bug

Conversation

@ryanking13
Copy link
Member

@ryanking13 ryanking13 commented Nov 24, 2023

Description

Fix #4310

Changing the symbol visibility fixes the error. I've been trying to understand what's going on for a few days, but it was unsuccessful. It probably has something to do with the emscripten GOT table storing duplicate symbols (ndarray_from_pyobj function is exported from multiple shared libraries)... but I'm not sure.

Anyway, this patch fixes the bug.

cc: @lesteve

@lesteve
Copy link
Contributor

lesteve commented Nov 27, 2023

Thanks for the fix! I am guessing the CI issue test-core (ubuntu-latest, playwright, chrome) is unrelated.

@ryanking13
Copy link
Member Author

Yes, It started getting timeouts a few days ago, probably related to the 1.40 release of playwright.

Copy link
Member

@hoodmane hoodmane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ryanking13 ryanking13 merged commit c129e6d into pyodide:main Nov 28, 2023
@ryanking13 ryanking13 deleted the scipy-bug branch November 28, 2023 10:11
@ryanking13
Copy link
Member Author

Thanks for the review!

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.

New scipy test fatal error after switch to meson

3 participants