Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Asssertion Failure (!ThreadContext::IsOnStack(value) || (allowStackVar && allowStackVarOnDisabledStackNestedFunc && StackScriptFunction::IsBoxed(value))) in /lib/Runtime/Language/InterpreterStackFrame.cpp, line 7928) #7011

Open
James-yaoshenglong opened this issue Jan 6, 2025 · 0 comments
Labels

Comments

@James-yaoshenglong
Copy link

ChakraCore Version

13358c6

Steps to reproduce

Build

./build.sh --static --debug --sanitize=address --no-jit

Run

ch ./poc.js -200000

Proof of concept

eval `                                                                                                            multi
  ${ 1 + 3.14e+1 , 2 + .4_5e6_7 }                                    git ${ 1 + 3.14e+1 , 3 + .4_5e6_7 }

  line ` . filter ( function ( a ) { return eval `                                                                      "hello" ${ 1 + 3.14e+1 , 2 + .4_5e6_7 }
  hello
  ${ 1 + 3.14e+1 , console -- > 0x1ABCDEFabcdef }                                uh oh ` . filter ( ( ... a ) => { return void import ( { d : ( a = void import ( "                              " ) , a = void import ( { d : ( a = 1 , a = void import ( ( x , y ) => { var x , y = { 0o7632157312 : 2 } , z ; } ) ) } ) ) } ) && typeof console [ "                  y " ] ; } ) . e ; } ) ;

Exception or Error

ASSERTION : (/home/user/repo/ChakraCore/lib/Runtime/Language/InterpreterStackFrame.cpp, line 7928) !ThreadContext::IsOnStack(value) || (allowStackVar && allowStackVarOnDisabledStackNestedFunc && StackScriptFunction::IsBoxed(value))
Failure: (!ThreadContext::IsOnStack(value) || (allowStackVar && allowStackVarOnDisabledStackNestedFunc && StackScriptFunction::IsBoxed(value)))
Illegal instruction

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant