Skip to content

Conversation

@kg
Copy link
Member

@kg kg commented Feb 6, 2024

Customer Impact

  • Customer reported
  • Found internally

This code causes a startup failure in AOT'd wasm applications if they are rebuilt with exception handling turned off.

The functionality being removed is already gone in 9.0, and isn't terribly important. We just didn't get around to removing it before 8.0 released. It's not clear to me what's wrong with it, but I can verify locally that doing AOT builds with EH switched off causes it to misbehave, and removing it makes my local repros not break anymore.

The exported C function is kept (as a no-op) so that any TS/JS code touching it won't break.

I believe this will fix #95963 but haven't been able to verify that locally yet.

Regression

  • Yes
  • No

I don't have any reason to believe this code regressed after it was initially added, though I recall testing it and having it work. We don't (AFAIK) have much CI coverage for this scenario, and we rarely test it manually.

Testing

Manual verification. I may look into adding a WBT test for it later, but I can't build/run WBTs right now due to an unrelated problem.

Risk

Low risk. We did this on main (9.0) a while ago, and the code being removed is an optimization, so we're falling back to well-tested old code.

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

@kg kg added the arch-wasm WebAssembly architecture label Feb 6, 2024
@ghost
Copy link

ghost commented Feb 6, 2024

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

This functionality is already gone in 9.0, and isn't terribly important. We just didn't get around to removing it before 8.0 released.
It's not clear to me what's wrong with it, but I can verify locally that doing AOT builds with EH switched off causes it to misbehave, and removing it makes my local repros not break anymore.

The exported C function is kept (as a no-op) so that any TS/JS code touching it won't break.

I believe this will fix #95963 but haven't been able to verify that locally yet.

Author: kg
Assignees: -
Labels:

arch-wasm

Milestone: -

@ghost ghost assigned kg Feb 6, 2024
@ghost
Copy link

ghost commented Feb 6, 2024

Tagging subscribers to this area: @BrzVlad, @kotlarmilos
See info in area-owners.md if you want to be subscribed.

Issue Details

This functionality is already gone in 9.0, and isn't terribly important. We just didn't get around to removing it before 8.0 released.
It's not clear to me what's wrong with it, but I can verify locally that doing AOT builds with EH switched off causes it to misbehave, and removing it makes my local repros not break anymore.

The exported C function is kept (as a no-op) so that any TS/JS code touching it won't break.

I believe this will fix #95963 but haven't been able to verify that locally yet.

Author: kg
Assignees: -
Labels:

arch-wasm, area-Codegen-Interpreter-mono

Milestone: -

@kg kg force-pushed the remove-jiterp-jit-call-8.0 branch from c41a281 to 0576c67 Compare February 6, 2024 19:17
@kg kg marked this pull request as ready for review February 7, 2024 21:20
@kg kg added the Servicing-consider Issue for next servicing release review label Feb 8, 2024
@jeffschwMSFT jeffschwMSFT requested a review from lewing February 8, 2024 17:41
@rbhanda rbhanda added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Feb 8, 2024
@rbhanda rbhanda added this to the 8.0.3 milestone Feb 8, 2024
@lewing lewing merged commit d62ff0b into dotnet:release/8.0-staging Feb 8, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Mar 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-wasm WebAssembly architecture area-Codegen-Interpreter-mono Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants