Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh/lldb (was: Re: [BUG] Zsh crashes when using autocomplete because of memory unsafety (double free))
- X-seq: zsh-workers 46125
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- Subject: zsh/lldb (was: Re: [BUG] Zsh crashes when using autocomplete because of memory unsafety (double free))
- Date: Fri, 26 Jun 2020 17:17:35 +0000
- Cc: Petr Šťastný <petr@xxxxxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- In-reply-to: <CAN=4vMq-H5YtQUUB21iSu0_V84eW-JbhRJqBGSAvFcWeNa+R=w@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <00cb28e8-004e-2c8c-e02d-6063f4079c1d@soptik.tech> <20200626162405.4a7d28c1@tarpaulin.shahaf.local2> <CAN=4vMq-H5YtQUUB21iSu0_V84eW-JbhRJqBGSAvFcWeNa+R=w@mail.gmail.com>
- Sender: zsh-workers@xxxxxxx
Roman Perepelitsa wrote on Fri, 26 Jun 2020 18:32 +0200:
> On Fri, Jun 26, 2020 at 6:24 PM Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> >
> > % alias a='""'<Left><Left><Left><TAB>
> > 16: ./Src/Zle/compcore.c:1678: expecting 'x' at offset -1 of "x"""
>
> (digression)
>
> Does lldb start automatically when zsh crashes on you machine?
No, it doesn't. I ran «lldb /srv/zsh/bin/zsh» and typed «r» to launch
zsh, and trimmed that part of the output before posting. I also trimmed
the value of $abs_srcdir and a few other things.
And in any case, the message above is a DPUTS(); it has nothing to do
with whether zsh was run under a debugger or not.
Although, come to think of it, I'm not sure where that "16:" at the
start of the line is from.
> How did you configure it this way?
Cheers,
Daniel
P.S. Double digression: How do I invoke lldb in a way that'll cause it
to run the target automatically? I'm looking for something along the
lines of «lldb --foo r -- /path/to/zsh», where «r» is the lldb command
for starting the target. I've tried -o and -s and they do start zsh,
but the tty settings are wrong (^D doesn't work, for example).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author