The error you posted looks like it's coming from the local python webserver serving the application, I don't think that's directly related to the 'client-application' crash.
When you're compiling with debug information (-g) you should see pretty good stack traces in the Javascript console, for instance here's a test I just did by putting an assert(false) into my frame function, running in Chrome: [image: Screen Shot 2019-04-04 at 11.55.55 AM.png] The functions _frame, __sapp_call_frame, __sapp_frame and __sapp_emsc_frame are all my own code. Also if it's some sort of WebGL problem, you'll usually get pretty good error messages from WebGL on the Javascript console. Cheers, -Floh. On Thursday, 4 April 2019 03:15:15 UTC+2, Zajo wrote: > > Greetings! > > Unfortunately I don't have a small snippet that I can post, but we're > porting an OpenGL ES engine to emscripten and we got it to work fine but > the program renders ~100 frames and then crashes. There is no scene update, > so we just keep rendering the same thing on every frame. > > Is there any chance we can get a stack trace? > > One time it happened we saw this, but we don't see it every time so it > might be some other spurious failure: > > Executing C:\Program Files (x86)\Google/Chrome/Application/chrome.exe > --incognit > o --enable-nacl --enable-pnacl --disable-restore-session-state > --enable-webgl -- > no-default-browser-check --no-first-run --allow-file-access-from-files > http://lo > calhost:6931/c5t_new.html > ---------------------------------------- > Exception happened during processing of request from ('127.0.0.1', 61524) > Traceback (most recent call last): > File "C:\Program > Files\emsdk\python\2.7.13.1_64bit\python-2.7.13.amd64\lib\Soc > ketServer.py", line 596, in process_request_thread > self.finish_request(request, client_address) > File "C:\Program > Files\emsdk\python\2.7.13.1_64bit\python-2.7.13.amd64\lib\Soc > ketServer.py", line 331, in finish_request > self.RequestHandlerClass(request, client_address, self) > File "C:\Program > Files\emsdk\python\2.7.13.1_64bit\python-2.7.13.amd64\lib\Soc > ketServer.py", line 654, in __init__ > self.finish() > File "C:\Program > Files\emsdk\python\2.7.13.1_64bit\python-2.7.13.amd64\lib\Soc > ketServer.py", line 713, in finish > self.wfile.close() > File "C:\Program > Files\emsdk\python\2.7.13.1_64bit\python-2.7.13.amd64\lib\soc > ket.py", line 283, in close > self.flush() > File "C:\Program > Files\emsdk\python\2.7.13.1_64bit\python-2.7.13.amd64\lib\soc > ket.py", line 307, in flush > self._sock.sendall(view[write_offset:write_offset+buffer_size]) > error: [Errno 10053] An established connection was aborted by the software > in yo > ur host machine > ---------------------------------------- > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
