create3000 / sunrize

Sunrize — A Multi-Platform X3D Editor
https://create3000.github.io/sunrize/
Other
8 stars 0 forks source link

Stack overflow #8

Open coderextreme opened 1 week ago

coderextreme commented 1 week ago

If I raise the resolution variable by 1 point, there's a stack overflow on windows 11.

bumpyflowers.txt

create3000 commented 1 week ago

I found at least one fatal bug with Gouraud shaders on macOS in Chrome-like browsers yesterday. I don't know if this is related to your problem. It is fixed now and a new version will be released on Sunday.

Best regards, Holger

coderextreme commented 6 days ago

Tried X_ITE 10.5.1. Still present. Couldn't test latest sunrize,, due to update (I modified the npm/npx launcher on windows). I'll try to get the new version working.

John

$ npx sunrize@latest pwd/public//bumx3d node:internal/child_process:421 throw new ErrnoException(err, 'spawn'); ^

Error: spawn EINVAL at ChildProcess.spawn (node:internal/child_process:421:11) at spawn (node:child_process:761:9) at Object. (C:\Users\jcarl\AppData\Local\npm-cache_npx\3907e6094355ccae\node_modules\sunrize\bin\sunrize.js:11:11) at Module._compile (node:internal/modules/cjs/loader:1546:14) at Module._extensions..js (node:internal/modules/cjs/loader:1691:10) at Module.load (node:internal/modules/cjs/loader:1317:32) at Module._load (node:internal/modules/cjs/loader:1127:12) at TracingChannel.traceSync (node:diagnostics_channel:315:14) at wrapModuleLoad (node:internal/modules/cjs/loader:217:24) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:166:5) { errno: -4071, code: 'EINVAL', syscall: 'spawn' }

Node.js v22.7.0

coderextreme commented 6 days ago

Here is change I made to sunrize.js:

diff3 find . -name sunrize.js

1:7c const cmd = "npm"; 2:7c const cmd = os .platform () === "win32" ? "npm.cmd" : "npm"; 3:7c const cmd = "npm"

npx sunrize@latest does not work on Windows 11, but npx sunrize now does. Still has stack overflow. Hopefully, the X_ITE bug report will help. I'll reduce resolution back to 113x113

John