Re: [v8-users] Debugging mksnapshot bus error

2024-08-13 Thread 'Ryan Manuel' via v8-users
That did resolve the issue, but I'm not 100% positive it's a heap size issue. I was able to whittle my snapshot file down to a much smaller subset (55.1 MB down to 83 KB for the input file) and it still causes the same problem. The updated file is in this gist

Re: [v8-users] Debugging mksnapshot bus error

2024-08-13 Thread 'Ryan Manuel' via v8-users
I was able to simplify the code even more and still recreate the error. I've pasted it below. The weird thing is if I change this line: applyDefs.definitions[modulePath].apply(mod.exports, [mod, applyDefs]) to applyDefs.definitions[modulePath].call(mod.exports, mod, applyDefs) Everything work