payload: {"action":"created","issue":{"url":"https://api.github.com/repos/polynote/polynote/issues/597","repository_url":"https://api.github.com/repos/polynote/polynote","labels_url":"https://api.github.com/repos/polynote/polynote/issues/597/labels{/name}","comments_url":"https://api.github.com/repos/polynote/polynote/issues/597/comments","events_url":"https://api.github.com/repos/polynote/polynote/issues/597/events","html_url":"https://github.com/polynote/polynote/issues/597","id":515517724,"node_id":"MDU6SXNzdWU1MTU1MTc3MjQ=","number":597,"title":"Broken pipe","user":{"login":"Tommassino","id":698950,"node_id":"MDQ6VXNlcjY5ODk1MA==","avatar_url":"https://avatars2.githubusercontent.com/u/698950?v=4","gravatar_id":"","url":"https://api.github.com/users/Tommassino","html_url":"https://github.com/Tommassino","followers_url":"https://api.github.com/users/Tommassino/followers","following_url":"https://api.github.com/users/Tommassino/following{/other_user}","gists_url":"https://api.github.com/users/Tommassino/gists{/gist_id}","starred_url":"https://api.github.com/users/Tommassino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tommassino/subscriptions","organizations_url":"https://api.github.com/users/Tommassino/orgs","repos_url":"https://api.github.com/users/Tommassino/repos","events_url":"https://api.github.com/users/Tommassino/events{/privacy}","received_events_url":"https://api.github.com/users/Tommassino/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-10-31T15:19:15Z","updated_at":"2019-11-01T09:40:56Z","closed_at":null,"author_association":"NONE","body":"Randomly when using polynote I get a broken pipe and the kernel dies. i.e. it happened multiple times, and I could not determine any obvious behavior that would cause it. \r\n\r\nin the UI i get the following exception\r\n```\r\njava.io.IOException: Broken pipe\r\n\r\nUncaught exception: Broken pipe (java.io.IOException)\r\nsun.nio.ch.FileDispatcherImpl.write0(FileDispatcherImpl.java:-2)\r\nsun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)\r\nsun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)\r\nsun.nio.ch.IOUtil.write(IOUtil.java:65)\r\nsun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)\r\npolynote.kernel.remote.SocketTransport$FramedSocket$$anonfun$write$1.apply$mcV$sp(transport.scala:386)\r\npolynote.kernel.remote.SocketTransport$FramedSocket$$anonfun$write$1.apply(transport.scala:375)\r\npolynote.kernel.remote.SocketTransport$FramedSocket$$anonfun$write$1.apply(transport.scala:375)\r\nzio.blocking.Blocking$Service$$anonfun$effectBlocking$1$$anonfun$apply$3.apply(Blocking.scala:133)\r\nzio.blocking.Blocking$Service$$anonfun$effectBlocking$1$$anonfun$apply$3.apply(Blocking.scala:127)\r\nzio.internal.FiberContext.evaluateNow(FiberContext.scala:333)\r\nzio.internal.FiberContext.zio$internal$FiberContext$$run$body$2(FiberContext.scala:602)\r\nzio.internal.FiberContext$$anonfun$7.run(FiberContext.scala:602)\r\njava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\njava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\njava.lang.Thread.run(Thread.java:748)\r\n```\r\n\r\nin the log (where i think its relevant):\r\n```\r\n... these repeat a couple of times (might not be related, its happening a LOT)\r\nOct 31 15:03:14  bash[29136]: [ERROR] Fiber failed.\r\nOct 31 15:03:14  bash[29136]:         A checked error was not handled.\r\nOct 31 15:03:14  bash[29136]:         jep.JepException: <class 'TypeError'>: descriptor '__repr__' of 'object' object needs an argument\r\nOct 31 15:03:14  bash[29136]:                 at jep.python.PyCallable.call(Native Method)\r\nOct 31 15:03:14  bash[29136]:                 at jep.python.PyCallable.callAs(PyCallable.java:110)\r\nOct 31 15:03:14  bash[29136]:                 at polynote.runtime.python.PythonObject$$anonfun$1.apply(PythonObject.scala:25)\r\nOct 31 15:03:14  bash[29136]:                 at polynote.runtime.python.PythonObject$$anonfun$1.apply(PythonObject.scala:22)\r\nOct 31 15:03:14  bash[29136]:                 at zio.blocking.Blocking$Service$$anonfun$effectBlocking$1$$anonfun$apply$3.apply(Blocking.scala:133)\r\nOct 31 15:03:14  bash[29136]:                 at zio.blocking.Blocking$Service$$anonfun$effectBlocking$1$$anonfun$apply$3.apply(Blocking.scala:127)\r\nOct 31 15:03:14  bash[29136]:                 at zio.internal.FiberContext.evaluateNow(FiberContext.scala:333)\r\nOct 31 15:03:14  bash[29136]:                 at zio.internal.FiberContext.zio$internal$FiberContext$$run$body$2(FiberContext.scala:602)\r\nOct 31 15:03:14  bash[29136]:                 at zio.internal.FiberContext$$anonfun$7.run(FiberContext.scala:602)\r\nOct 31 15:03:14  bash[29136]:                 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\nOct 31 15:03:14  bash[29136]:                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\nOct 31 15:03:14  bash[29136]:                 at java.lang.Thread.run(Thread.java:748)\r\n...\r\n... first time a broken pipe is mentioned\r\nOct 31 15:07:06  bash[29136]: [INFO]  Response stream terminated\r\nOct 31 15:07:07  bash[29136]: [ERROR] Fiber failed.\r\nOct 31 15:07:07  bash[29136]:         A checked error was not handled.\r\nOct 31 15:07:07  bash[29136]:         java.io.IOException: Broken pipe\r\nOct 31 15:07:07  bash[29136]:                 at sun.nio.ch.FileDispatcherImpl.write0(Native Method)\r\nOct 31 15:07:07  bash[29136]:                 at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)\r\nOct 31 15:07:07  bash[29136]:                 at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)\r\nOct 31 15:07:07  bash[29136]:                 at sun.nio.ch.IOUtil.write(IOUtil.java:65)\r\nOct 31 15:07:07  bash[29136]:                 at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)\r\nOct 31 15:07:07  bash[29136]:                 at polynote.kernel.remote.SocketTransport$FramedSocket$$anonfun$write$1.apply$mcV$sp(transport.scala:383)\r\nOct 31 15:07:07  bash[29136]:                 at polynote.kernel.remote.SocketTransport$FramedSocket$$anonfun$write$1.apply(transport.scala:375)\r\nOct 31 15:07:07  bash[29136]:                 at polynote.kernel.remote.SocketTransport$FramedSocket$$anonfun$write$1.apply(transport.scala:375)\r\nOct 31 15:07:07  bash[29136]:                 at zio.blocking.Blocking$Service$$anonfun$effectBlocking$1$$anonfun$apply$3.apply(Blocking.scala:133)\r\nOct 31 15:07:07  bash[29136]:                 at zio.blocking.Blocking$Service$$anonfun$effectBlocking$1$$anonfun$apply$3.apply(Blocking.scala:127)\r\nOct 31 15:07:07  bash[29136]:                 at zio.internal.FiberContext.evaluateNow(FiberContext.scala:333)\r\nOct 31 15:07:07  bash[29136]:                 at zio.internal.FiberContext.zio$internal$FiberContext$$run$body$2(FiberContext.scala:602)\r\nOct 31 15:07:07  bash[29136]:                 at zio.internal.FiberContext$$anonfun$7.run(FiberContext.scala:602)\r\nOct 31 15:07:07  bash[29136]:                 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\nOct 31 15:07:07  bash[29136]:                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\nOct 31 15:07:07  bash[29136]:                 at java.lang.Thread.run(Thread.java:748)\r\nOct 31 15:07:07  bash[29136]:\r\nOct 31 15:07:07  bash[29136]:         Fiber:605 was supposed to continue to:\r\nOct 31 15:07:07  bash[29136]:           a future continuation at fs2.internal.Algebra$$anonfun$compileLoop$1.apply(Algebra.scala:349)\r\nOct 31 15:07:07  bash[29136]:           a future continuation at fs2.internal.Algebra$$anonfun$compile$1.apply(Algebra.scala:167)\r\nOct 31 15:07:07  bash[29136]:           a future continuation at zio.ZIO$$anonfun$run$2.apply(ZIO.scala:1120)\r\nOct 31 15:07:07  bash[29136]:           a future continuation at zio.interop.CatsEffect$$anonfun$bracketCase$1.apply(cats.scala:223)\r\nOct 31 15:07:07  bash[29136]:           a future continuation at fs2.Stream$CompileOps$$anonfun$foldChunks$2.apply(Stream.scala:4023)\r\nOct 31 15:07:07  bash[29136]:\r\nOct 31 15:07:07  bash[29136]:         Fiber:605 execution trace:\r\nOct 31 15:07:07  bash[29136]:           at fs2.internal.Algebra$$anonfun$fs2$internal$Algebra$$closeAndGo$1$1$$anonfun$apply$10.apply(Algebra.scala:306)\r\nOct 31 15:07:07  bash[29136]:           at fs2.internal.CompileScope$$anonfun$openAncestor$2$$anonfun$apply$24.apply(CompileScope.scala:232)\r\nOct 31 15:07:07  bash[29136]:           at cats.effect.concurrent.Ref$SyncRef$$anonfun$get$1.apply(Ref.scala:221)\r\nOct 31 15:07:07  bash[29136]:           at fs2.internal.Algebra$$anonfun$fs2$internal$Algebra$$closeAndGo$1$1.apply(Algebra.scala:305)\r\nOct 31 15:07:07  bash[29136]:           at fs2.internal.CompileScope$$anonfun$close$2$$anonfun$apply$15$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23.apply(CompileScope.scala:218)\r\nOct 31 15:07:07  bash[29136]:           at cats.effect.concurrent.Ref$SyncRef$$anonfun$modify$1.apply(Ref.scala:255)\r\nOct 31 15:07:07  bash[29136]:           at fs2.internal.CompileScope$$anonfun$close$2$$anonfun$apply$15$$anonfun$apply$17$$anonfun$apply$20.apply(CompileScope.scala:217)\r\nOct 31 15:07:07  bash[29136]:           at fs2.internal.CompileScope$$anonfun$close$2$$anonfun$apply$15$$anonfun$apply$17.apply(CompileScope.scala:216)\r\nOct 31 15:07:07  bash[29136]:           at fs2.internal.CompileScope$$anonfun$fs2$internal$CompileScope$$traverseError$1.apply(CompileScope.scala:193)\r\nOct 31 15:07:07  bash[29136]:           at cats.data.ChainInstances$$anon$1$$anonfun$traverse$1$$anonfun$apply$3.apply(Chain.scala:715)\r\nOct 31 15:07:07  bash[29136]:           at zio.ZIO$$anonfun$zipWith$1.apply(ZIO.scala:1490)\r\nOct 31 15:07:07  bash[29136]:           at zio.ZIO$$anonfun$12.apply(ZIO.scala:2661)\r\nOct 31 15:07:07  bash[29136]:           at zio.ZIO$$anonfun$unit$1.apply(ZIO.scala:1405)\r\nOct 31 15:07:07  bash[29136]:           at zio.internal.FiberContext$$anonfun$interrupt$1.apply(FiberContext.scala:614)\r\nOct 31 15:07:07  bash[29136]:           at zio.RIO$$anonfun$effectSuspend$1.apply(RIO.scala:207)\r\nOct 31 15:07:07  bash[29136]:           at fs2.internal.Resource$$anon$1$$anonfun$release$2.apply(Resource.scala:120)\r\nOct 31 15:07:07  bash[29136]:           at cats.effect.concurrent.Ref$SyncRef$$anonfun$modify$1.apply(Ref.scala:255)\r\n...\r\n```\r\n\r\nIts pretty serious for me, since the random restart makes it pretty annoying to use. I hope I provided enough information."},"comment":{"url":"https://api.github.com/repos/polynote/polynote/issues/comments/548726465","html_url":"https://github.com/polynote/polynote/issues/597#issuecomment-548726465","issue_url":"https://api.github.com/repos/polynote/polynote/issues/597","id":548726465,"node_id":"MDEyOklzc3VlQ29tbWVudDU0ODcyNjQ2NQ==","user":{"login":"Tommassino","id":698950,"node_id":"MDQ6VXNlcjY5ODk1MA==","avatar_url":"https://avatars2.githubusercontent.com/u/698950?v=4","gravatar_id":"","url":"https://api.github.com/users/Tommassino","html_url":"https://github.com/Tommassino","followers_url":"https://api.github.com/users/Tommassino/followers","following_url":"https://api.github.com/users/Tommassino/following{/other_user}","gists_url":"https://api.github.com/users/Tommassino/gists{/gist_id}","starred_url":"https://api.github.com/users/Tommassino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tommassino/subscriptions","organizations_url":"https://api.github.com/users/Tommassino/orgs","repos_url":"https://api.github.com/users/Tommassino/repos","events_url":"https://api.github.com/users/Tommassino/events{/privacy}","received_events_url":"https://api.github.com/users/Tommassino/received_events","type":"User","site_admin":false},"created_at":"2019-11-01T09:40:56Z","updated_at":"2019-11-01T09:40:56Z","author_association":"NONE","body":"Here is a full log. The broken pipe happened when i was working in python, plotting some stuff etc.\r\n\r\n[polynote.log](https://github.com/polynote/polynote/files/3797348/polynote.log)\r\n"}}
other: {"actor":{"display_login":"Tommassino"}}