Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
BUG: Zsh crashes
- X-seq: zsh-workers 40351
- From: Bjorn Baron <bjornbaron@xxxxxxxxxxx>
- To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: BUG: Zsh crashes
- Date: Fri, 13 Jan 2017 17:40:48 +0000
- Accept-language: nl-NL, en-US
- Authentication-results: zsh.org; dkim=none (message not signed) header.d=none;zsh.org; dmarc=none action=none header.from=outlook.com;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=sjGnz8TcNCykfhZfZ9gDTfLRad8rurRPC/S204hnPMM=; b=BN5I7sEABTewuggJvA21t7uUjc5OyyWzP+T/TEpagUP3AYO7jQp/IuU6xzeRZ+dy5PwiZBGMhLLW/IsNAcdaiIlylsfDmR/ZVgM1nOX0as40ROMA+Ens+O1NKGZGpWiuw6VGzqtK9PNXdCtRKtYX7ldwkWjguCQ7IPJvoYs83BvLvmhwUEO9K7FSbG29MOGUZ+mBiW7pBk5mTmGOhvGoOMfATtSa/tF2oajRBRSDOp60FlpAO+kTxw1/ya1G0Vf9hZ6pqrqqgJSGIr/pruIkn7SzK453WdjJn5JRWtnG2oa8WXpBKbWw+K402V9frCwsmevu038XMIqNCjhdSuzbCg==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
- Thread-index: AQHSbcQsbi9RBkrO30OAIhQTdTJDYg==
- Thread-topic: Zsh crashes
Dear zsh developers,
I have found a bug in zsh. You can crash zsh with for example a
segmentation fault by autocompleting `rustc --pretty flowgraph` two times
# Reproduction:
type `rustc --pretty flowgraph`
press tab 2x
# Actual result:
Zsh crashes.
```
$ zsh
bjorn@pc-bjorn ~ rustc --pretty flowgraph==......_values:147:
command not found: opts
*** Error in `zsh': double free or corruption (fasttop): 0x083a23d8 ***
Afgebroken #MEANS ABORTED
$ zsh
bjorn@pc-bjorn ~ rustc --pretty flowgraph==......_values:147:
command not found: garbage
Segmentatiefout #MEANS SEGMENTATION FAULT
$ zsh
bjorn@pc-bjorn ~ rustc --pretty flowgraph==......*** Error in
`zsh': munmap_chunk(): invalid pointer: 0x096daee8 *** expanded
```
# Expected result:
Doesn't crash.
More information can be found at
https://github.com/robbyrussell/oh-my-zsh/issues/5780 where I originally
posted this bug, because I couldn't find where this bug report to.
With kind regards,
Bjorn
Messages sorted by:
Reverse Date,
Date,
Thread,
Author