有人可以向我解释这里发生了什么?
我只是键入cd /some/directory ,也许我按下了目录列表的标签,当发生以下事情,我从服务器断开连接:
me@psrv1:/opt/data$ cd /opt/data/perl malloc: ../bash/parse.y:6050: assertion botched free: called with already freed block argument last command: ls Aborting...Connection to psrv1 closed.
Bash内存泄漏从SSH断开我?
不是内存泄漏,而是assertion 。 你可以想象服务器上的进程树:
sshd '--- bash
当进程到达断言的地方时,通常意味着某些variables有一些无效的值(它永远不会有这个值),为了防止以后失败,这个进程会被中止(结束)。
启动你的shell的sshd服务器只是在等待shell进程结束清理你的连接,刚刚在这个时候发生,因此closures了连接。
这就是所有人。