nw.js icon indicating copy to clipboard operation
nw.js copied to clipboard

Crash on BreakDebugger on both Windows and Mac

Open gpetrov opened this issue 4 years ago • 4 comments

NWJS Version : 0.44.5 Operating System : Windows and Mac

We receive hundreds of crash reports from users with crashes on Debugger LogMessage:

Mac: EXC_BREAKPOINT / EXC_I386_BPT Fatal Error: EXC_BREAKPOINT / EXC_I386_BPT

https://sentry.wappler.io/share/issue/6d52f631ca7c470f9d1c1cef17facc9a/

Windows: EXCEPTION_BREAKPOINT Fatal Error: EXCEPTION_BREAKPOINT https://sentry.wappler.io/share/issue/5d89b42b41bc4da6844f42e1d2bef57b/

@rogerwang Can this be please fixed? It's being going on for a while and it delivers really bad name for our app when it crashes all the time.

gpetrov avatar Apr 19 '20 13:04 gpetrov

It crashes on redirection. Do you happen to know which document origin is being loaded and which origin is loading it?

rogerwang avatar Apr 21 '20 11:04 rogerwang

We have redirection prevention on the webview tags. So those should be actually stopped.

It goes like this:

this.webview.addEventListener('loadredirect', this.onLoadredirect);
 onLoadredirect: function(event) {
    console.log('#### Load Redirect', event);
    event.preventDefault();
  },

gpetrov avatar Apr 21 '20 13:04 gpetrov

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 09 '22 10:01 stale[bot]

I see this happening if the redirected url doesn't exist (nothing listening on that port). Our work around is to test that the server is up first.

bluthen avatar Jun 27 '22 20:06 bluthen