dspinellis / dgsh

Shell supporting pipelines to and from multiple processes
http://www.spinellis.gr/sw/dgsh/
Other
323 stars 22 forks source link

Deadlock in dgsh-tee #116

Closed tammam1998 closed 3 years ago

tammam1998 commented 3 years ago

Hello,

First, I want to thank you for the great work. I was trying to use dgsh-tee as an eager file reader and I found that sometimes on very rare occasions it deadlocks. I investigated more and found that this deadlock doesn't happen when compiled with DDEBUG. I found that the problem is a deadlock on select and DDEBUG resolved the issue because of the abort inside the show_select_args() function.