gsamokovarov / rvt

Remote Terminal for the Browser.
MIT License
56 stars 17 forks source link

RangeError: Maximum call stack size exceeded. #4

Closed drale2k closed 6 years ago

drale2k commented 6 years ago

After using the console for approximately 3 minutes it stops responding to any input and in the webdev console i see the following error. From what i read on SO this is usually caused by an infinite loop.

System: Safari 11.1 on macOS 10.13.4

[Error] RangeError: Maximum call stack size exceeded.
    send (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:83)
    pollForPendingOutput (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:83)
    onreadystatechange (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:76)
    send
    pollForPendingOutput (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:83)
    onreadystatechange (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:76)
    send
    pollForPendingOutput (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:83)
    onreadystatechange (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:76)
    send
    pollForPendingOutput (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:83)
    onreadystatechange (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:76)
    send
    pollForPendingOutput (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:83)
    onreadystatechange (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:76)
    send
    pollForPendingOutput (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:83)
    onreadystatechange (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:76)
    send
    pollForPendingOutput (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:83)
    onreadystatechange (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:76)
    send
    pollForPendingOutput (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:83)
    onreadystatechange (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:76)
    send
    pollForPendingOutput (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:83)
    onreadystatechange (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:76)
    send
    pollForPendingOutput (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:83)
    onreadystatechange (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:76)
    send
    pollForPendingOutput (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:83)
    onreadystatechange (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:76)
    send
    pollForPendingOutput (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:83)
    onreadystatechange (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:76)
    send
    pollForPendingOutput (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:83)
    onreadystatechange (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:76)
    send
    pollForPendingOutput (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:83)
    onreadystatechange (console_sessions.self-2e129c7f41e9cac29be3ab35517438de042b791a2e19a5f4ff445a06d424f874.js:76)
    send
 ....
gsamokovarov commented 6 years ago

Thanks, I'll take a look!

cbaykam commented 6 years ago

I am running into the same issue. Any update on this one?

gsamokovarov commented 6 years ago

@cbaykam is this happening on the master branch?

cbaykam commented 6 years ago

Yes in master

drale2k commented 6 years ago

Hey, any update on this? Do you need additional logs or something else?

Would like to use rvt but this is seemingly the last blocking issue =)

Thanks

gsamokovarov commented 6 years ago

Hey, I don't need any more logs. I know what's up, just trying to squeeze up the time to get to it. Sorry for the delay. 😅

gsamokovarov commented 6 years ago

@drale2k. @cbaykam can you guys try the latest master?

drale2k commented 6 years ago

This issue is still preventing master from working #3

I applied the changes manually in my local gem and it seems to work now. I will let it run for some time to make sure.

Thanks!