v86 icon indicating copy to clipboard operation
v86 copied to clipboard

MiniWindowsXP: Uncaught RangeError: Maximum call stack size exceeded

Open proxy-m opened this issue 3 years ago • 7 comments

480 M ram.

Booting from Hirens.BootCD.15.2 iso, second choise Mini Windows XP (livecd).

Uncaught RangeError: Maximum call stack size exceeded
    at _ZN3v863cpu3cpu12do_page_walk17hcddc6a8c6eaace19E (/v86/wasm-function[867]:0)
    at _ZN3v863cpu3cpu19do_page_translation17h1e7aa9f8d93d3ac3E (/v86/wasm-function[803]:36)
    at _ZN3v863cpu3cpu21call_interrupt_vector17h1dd25674ba655e59E (/v86/wasm-function[1413]:3178)
    at _ZN3v863cpu3cpu19do_page_translation17h1e7aa9f8d93d3ac3E (/v86/wasm-function[803]:156)
    at _ZN3v863cpu3cpu21call_interrupt_vector17h1dd25674ba655e59E (/v86/wasm-function[1413]:3178)
    at _ZN3v863cpu3cpu19do_page_translation17h1e7aa9f8d93d3ac3E (/v86/wasm-function[803]:156)
    at _ZN3v863cpu3cpu21call_interrupt_vector17h1dd25674ba655e59E (/v86/wasm-function[1413]:3178)
    at _ZN3v863cpu3cpu19do_page_translation17h1e7aa9f8d93d3ac3E (/v86/wasm-function[803]:156)
    at _ZN3v863cpu3cpu21call_interrupt_vector17h1dd25674ba655e59E (/v86/wasm-function[1413]:3178)
    at _ZN3v863cpu3cpu19do_page_translation17h1e7aa9f8d93d3ac3E (/v86/wasm-function[803]:156)
wasm-006dd09a:804 Uncaught RangeError: Maximum call stack size exceeded
    at _ZN3v863cpu3cpu19do_page_translation17h1e7aa9f8d93d3ac3E (/v86/wasm-function[803]:0)
    at _ZN3v863cpu3cpu21call_interrupt_vector17h1dd25674ba655e59E (/v86/wasm-function[1413]:3178)
    at _ZN3v863cpu3cpu19do_page_translation17h1e7aa9f8d93d3ac3E (/v86/wasm-function[803]:156)
    at _ZN3v863cpu3cpu21call_interrupt_vector17h1dd25674ba655e59E (/v86/wasm-function[1413]:3178)
    at _ZN3v863cpu3cpu19do_page_translation17h1e7aa9f8d93d3ac3E (/v86/wasm-function[803]:156)
    at _ZN3v863cpu3cpu21call_interrupt_vector17h1dd25674ba655e59E (/v86/wasm-function[1413]:3178)
    at _ZN3v863cpu3cpu19do_page_translation17h1e7aa9f8d93d3ac3E (/v86/wasm-function[803]:156)
    at _ZN3v863cpu3cpu21call_interrupt_vector17h1dd25674ba655e59E (/v86/wasm-function[1413]:3178)
    at _ZN3v863cpu3cpu19do_page_translation17h1e7aa9f8d93d3ac3E (/v86/wasm-function[803]:156)
    at _ZN3v863cpu3cpu21call_interrupt_vector17h1dd25674ba655e59E (/v86/wasm-function[1413]:3178)


image

proxy-m avatar Feb 10 '22 05:02 proxy-m

I can reproduce this. Probably a triple fault. Probably related to: [CPU ] Not supported: trap flag.

copy avatar Feb 10 '22 11:02 copy

I can reproduce this. Probably a triple fault. Probably related to: [CPU ] Not supported: trap flag.

Maybe. But can we show more informative error message, instead of RangeError: Maximum call stack size exceeded and avoid infinite recursive calls?

proxy-m avatar Feb 12 '22 07:02 proxy-m

But can we show more informative error message, instead of RangeError: Maximum call stack size exceeded and avoid infinite recursive calls?

Sure, a pull request would be welcome.

copy avatar Feb 22 '22 16:02 copy

Same problem when I boot a Windows XP Home Edition. I use the official CD image (ed2k://|file|CN_WINXP_HOME_ISO.img|513515520|58373CA20ABB0438AF5858AEBF22E983|/) and install via QEMU. Then I use the raw disk in v86. WX20220320-151222@2x

chn-lee-yumi avatar Mar 20 '22 07:03 chn-lee-yumi

@copy Did you fix the function yet, or is code that you changed on GitHub? I can't find it.. Plus, I'm only using your files that contain the build versions, just to let you know.

SSP6904 avatar Mar 03 '23 23:03 SSP6904

This also happens on Windows 2000 SuperNano

ercan1104 avatar Mar 13 '24 19:03 ercan1104