Skip to content

Conversation

@axlEscalada
Copy link

@axlEscalada axlEscalada commented Dec 8, 2025

Fixes #1250

Issue

EventTarget.constructor() used arena.create() which only allocates memory without initializing struct fields. This left the vtable pointer uninitialized, causing alignment panics when js created EventTarget instances.

Testing

  • Added test verifying EventTarget constructor properly initializes vtable and allows event dispatch
  • Verified github.com loads without crashes

@github-actions
Copy link

github-actions bot commented Dec 8, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@axlEscalada
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

@axlEscalada axlEscalada changed the title Axlescalada/fix alignment event target fix alignment event target Dec 8, 2025
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.

Uninitialized EventTarget vtable causes alignment panic

1 participant