copy / copy/v86

MiniWindowsXP: Uncaught RangeError: Maximum call stack size exceeded

Open
#620 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
23.5k
Forks
1.9k
Avg merge
2d 14h
Merged PRs (30d)
7

Description

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](https://user-images.githubusercontent.com/6421954/153343389-777ddf44-a013-49b6-bea2-daeba32fe341.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure by booting the Mini Windows XP image from Hirens.BootCD.15.2 with the reported memory setting, then trace the recursion between do_page_translation and call_interrupt_vector shown in the stack trace. Done means the image boots without the WebAssembly RangeError or unbounded recursion.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, wasm
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.