hanslub42 / rlwrap

A readline wrapper
GNU General Public License v2.0
2.59k stars 151 forks source link

The rlwrap program occasionally fails on several Solaris machines creating a fault alert #169

Closed bweyn closed 2 years ago

bweyn commented 2 years ago

On our Solaris servers we have rlwrap 0.45 running. The rlwrap program occasionally fails on several Solaris machines creating a fault alert These issues probably appear due to a left session. If the session is closed after a disconnect the processes will be killed some time after that.

hanslub42 commented 2 years ago

Are you able to compile the newest rlwrap (0.46.1)? 0.45 could (and would) segfault occasionally, see #167

A left session would have rlwrap waiting for input indefiniely, a segfault in those circumstances is not very likely (except when the rlwrapped program is producing output all the time)

bweyn commented 2 years ago

That should be possible. I'll investigate with our OS-engineer.

bweyn commented 2 years ago

We've succesfully installed version 0.46.1 Thanks for your help.

hanslub42 commented 2 years ago

Please re-open if the problem persists!

In that case, a (pstack) stack trace from the core dump and/or rlwrap --debug output would help me a lot!