copy/v86

MiniWindowsXP: Uncaught RangeError: Maximum call stack size exceeded

proxy-m opened this issue · 6 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

copy commented

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

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?

copy commented

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.

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

@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.