Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

StackOverflowException returning self-referenced objects to the console. #6

Open
sdesalas opened this issue Nov 7, 2013 · 0 comments
Assignees
Labels

Comments

@sdesalas
Copy link
Owner

sdesalas commented Nov 7, 2013

stackoverflowerror

STEPS TO REPRODUCE:

  1. Run TrifleJS.exe on REPL (no arguments)
  2. Enter trifle.trifle = trifle
  3. StackOverflowException occurs

MORE INFO:

This issue actually occurs in the Noesis.Javascript.dll dependency, the parameter conversion from V8 to C# does not take infinite recursions into account.

POSSIBLE FIX:

Recurse over objects inside V8 and remove self-references before passing back to C#.

@ghost ghost assigned sdesalas Nov 7, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant