mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[GH-ISSUE #799] Rolldown segfault when bundling react-simple-maps v3.0.0 #175
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#175
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Shorebirdmgmt on GitHub (Apr 9, 2026).
Original GitHub issue: https://github.com/cloudflare/vinext/issues/799
Description
vinext buildsegfaults (SIGSEGV, exit 139) during step 4/5 (client environment build) whenreact-simple-mapsv3.0.0 is in the dependency graph. The crash occurs in Rolldown's native chunk rendering phase after all modules are successfully transformed.Environment
Reproduction
react-simple-mapsv3.0.0 as a dependencynpx vinext build→ segfault at step 4/5Minimal trigger:
Root cause isolation
Binary search through dependencies:
react-simple-mapsComposableMap importAll D3 sub-dependencies (
d3-geo,d3-zoom,d3-selection,topojson-client) work individually. The crash only occurs when Rolldown processesreact-simple-maps' own ESM bundle (dist/index.es.js, 1053 lines) which re-exports and combines these dependencies.Workaround
Notes
RUST_BACKTRACE=fullhas no output)--max-old-space-size=8192doesn't help)@james-elicx commented on GitHub (Apr 10, 2026):
It sounds like this might be an issue in Rolldown and/or Vite if they're seg-faulting. I would recommend opening an issue on their repository with a reproduction for them.
It does look like that library hasn't been updated for over 3 years according to their GitHub - have you tried using a fork like https://github.com/vnedyalk0v/react19-simple-maps which claims to have better support for React 19?