Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh sometimes freezes when completing a command
- X-seq: zsh-users 14938
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: zsh sometimes freezes when completing a command
- Date: Mon, 15 Mar 2010 08:58:20 -0700
- In-reply-to: <20100315101546.GA28047@xxxxxxxxxxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20100315101546.GA28047@xxxxxxxxxxxxxxxxxxx>
On Mar 15, 11:15am, Vincent Lefevre wrote:
} Subject: zsh sometimes freezes when completing a command
Zsh sometimes becomes uninterruptible when completing anything that
takes a long time to look up. We probably ought to install a special
handler for INT, QUIT, and TSTP during completion (or any ZLE op that
executes as a shell function rather than as a builtin).
} I've run gdb on the current process. Here's the backtrace:
}
} (gdb) bt
} #0 0x00007fe80de60b1f in poll () from /lib/libc.so.6
} #1 0x00007fe80853811d in ldap_result () from /usr/lib/libldap_r-2.4.so.2
So what's causing the "freeze" is that zsh is waiting for the LDAP
server to time out. The part about not being able to interrupt it
is an unintended side-effect.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author