From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25763 invoked by alias); 10 Feb 2016 16:40:35 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 37937 Received: (qmail 24117 invoked from network); 10 Feb 2016 16:40:33 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=connectical-com.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to:content-type; bh=4Shlc7rFHwsTRa165FulKk52dWGrjlxIlBtlJQSnjTk=; b=sUIBgdu0ToW/E0phMx2nhM4cvs5bkPpGzNC1BdmlGY1+q0MyUNnMniq/KxGYoQKSPL 8/zNZlsaE13RdBpsw3ZmfTv2a6MtA7XY3G3PXNzzf5f3M9ZOfWg9+mKs+3pdahcvBpYA csV5ubGARTPrTJ5+d4V91yPKYLLesY19YjrroCz6B4rGNx2W2gNhq4JL/uhwo8BtOuPc j6O0hAbow86p+vQJTBohW25s4Izca/f5rRCOuSJzWdLNBwIF43ziujPfxWKsF5TwVfDq 79oqJZLkJW2RM3ZG7xlp8Z+WPn06WLmGxXqN/4hPbD7Hn3nlYxlfePmZd4qOwGT2fecY bd1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=4Shlc7rFHwsTRa165FulKk52dWGrjlxIlBtlJQSnjTk=; b=RPRNVZ1goQD2hL7ScWDN6wfekHv9yZVNmHFKt4irgGfO/3bXh/KnMgIJy1esMr3zll 4z6m3lPkyzcUkAWa4ksbNGNtUyRf0xwsw0C0MjwaxJi/z3IPkzMjKVBQhxLlBCrrAa41 dysh4sMhcvZxVYRMU4c7Af+lCrkQ5nZkVgbb6Z3DvHytSkUAtm7zxNcnDKcShZna2iLV DoTEPD97zxwbZ5Z7VMq+NKomjUcCvjTfhTAjfe9GSAFvL7hsx/f5rnq0Zn/uaBKwhjvv hOVK6hQ3eX6cT5Hp4E9kSxawDfP7EEI4pshWyRTBOHHCbecIG1wEDFtqiSzeqiyRHSNP wqNA== X-Gm-Message-State: AG10YOSh7z8TlkYIgD2SZyA453jpg0BZr1/H3akqS1GI5/O1QOJTKFgIzosm6o6S3OizsGoZqgJiLjyzzVYP8w== MIME-Version: 1.0 X-Received: by 10.112.132.6 with SMTP id oq6mr13643904lbb.38.1455122431871; Wed, 10 Feb 2016 08:40:31 -0800 (PST) Date: Wed, 10 Feb 2016 17:40:31 +0100 Message-ID: Subject: Segfault on completion with interactive mode From: =?UTF-8?Q?=C3=93scar_Garc=C3=ADa_Amor?= To: zsh-workers@zsh.org Content-Type: multipart/alternative; boundary=047d7b3a825ca82d46052b6d1761 --047d7b3a825ca82d46052b6d1761 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi! I found a segfault bug on ZSH 5.2, but is confirmed that can be reproduced in master. Steps to reproduce: 1. Run a `zsh -f` 2. Set this config. ``` zstyle :compinstall filename "${HOME}/.zshrc" autoload -Uz compinit compinit zstyle ':completion:*' menu select interactive zstyle ':completion:*:warnings' format '%BNo matching %b%d' unsetopt menu_complete auto_list ``` 3. Start write a command. For example, write `ba` 4. Press tab to show options (interactive mode appears) 5. Write a letter that not mach with any option (to generate a completion warning) 6. Press backspace Tachan! zsh: segmentation fault (core dumped) danielsh, on IRC, send this coredump: http://sprunge.us/BXDU Greetings. --=20 =C3=93scar Garc=C3=ADa Amor | ogarcia@connectical.com Connectical | http://connectical.com --047d7b3a825ca82d46052b6d1761--