teams-for-linux icon indicating copy to clipboard operation
teams-for-linux copied to clipboard

JavaScript error in writeOut

Open ismagulb opened this issue 1 year ago • 4 comments

Describe the bug

Teams deb 1.8.1 under Debian 12, running since 12 days, window in background. When idle, a window with the following contents pops up:

Error

A JavaScript error occurred in the main process

Uncaught Exception: Error: write EIO at afterWriteDispatched (node:internal/stream_base_commons:161:15) at writeGeneric (node:internal/stream_base_commons:152:3) at Socket._writeGeneric (node:net:953:11) at Socket._write (node:net:965:8) at writeOrBuffer (node:internal/streams/writable:564:12) at _write (node:internal/streams/writable:493:10) at Writable.write (node:internal/streams/writable:502:10) at console.value (node:internal/console/constructor:304:16) at console.warn (node:internal/console/constructor:384:26) at writeOut (node:internal/process/warning:65:3)

Ok

After clicking on "Ok", the window appears again. After clicking "Ok" again, teams continues to work normally.

To Reproduce

I couldn't identify specific steps to trigger the issue. Happens about once a week. The process started from GNU screen. The starting pty may or may not be open, not sure. This time this happened some minutes after resume in a different net.

Expected behavior No unhandled exceptions.

Screenshots 20240817-javascript_exception

Desktop (please complete the following information):

  • OS: Debian
  • Installation package: deb
  • Version: 1.8.1

Debug

As I don't know how to reproduce this, I've restarted teams-for-linux with --webDebug --logConfig='{}' and will comment if the problem occurs.

Additional context None

ismagulb avatar Aug 17 '24 09:08 ismagulb