zsh-workers
 help / color / mirror / code / Atom feed
From: Vincent Lefevre <vincent@vinc17.net>
To: zsh-workers@zsh.org
Subject: Re: segfault in completion for configure
Date: Sun, 13 Mar 2016 03:26:05 +0100	[thread overview]
Message-ID: <20160313022605.GA23300@zira.vinc17.org> (raw)
In-Reply-To: <160312082029.ZM2340@torch.brasslantern.com>

On 2016-03-12 08:20:29 -0800, Bart Schaefer wrote:
> On Mar 12,  4:11am, Vincent Lefevre wrote:
> }
> } On 2016-03-11 15:00:56 -0800, Bart Schaefer wrote:
> } > [...] if you have a TRAPCHLD function it's
> } > possible that it's corrupting something.
> } 
> } I can't reproduce the bug if I remove:
> } 
> }   [[ -n $TTY && $TERM == (xterm*|dtterm|mlterm|rxvt*|screen*) ]] &&
> }     {
> }       [[ $TERM == screen* ]] || print -nP "\e]1;%m${ptsn:+[$ptsn]}:%.\x07"
> }       print -nP "\e]2;${jobstr}${WINTITLE:+ $WINTITLE |} %n@%m - %~ | %y\x07"
> }     } > /dev/tty
> 
> What if you just remove the $TERM comparisons, i.e. leave the test of
> $TTY and the print statement?

I can't reproduce the crash if I remove these comparisons.
I'll try the patch tomorrow.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


  parent reply	other threads:[~2016-03-13  2:26 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-11 13:47 Vincent Lefevre
2016-03-11 14:32 ` Peter Stephenson
2016-03-11 23:00   ` Bart Schaefer
2016-03-12  3:11     ` Vincent Lefevre
2016-03-12 16:20       ` Bart Schaefer
2016-03-12 17:34         ` Bart Schaefer
2016-03-13 21:58           ` Vincent Lefevre
2016-03-15  2:43             ` Bart Schaefer
2016-03-17 13:43               ` Vincent Lefevre
2016-03-17 15:15               ` Vincent Lefevre
2016-03-17 18:13                 ` Bart Schaefer
2016-03-17 19:55                   ` Vincent Lefevre
2016-03-17 19:59                   ` Vincent Lefevre
2016-03-17 15:24               ` Vincent Lefevre
2016-03-17 18:15                 ` Bart Schaefer
2016-03-17 18:24                   ` Peter Stephenson
2016-03-17 20:09                     ` Daniel Shahaf
2016-03-17 21:49                       ` Bart Schaefer
2016-03-20  2:07                   ` Bart Schaefer
2016-03-21 10:56                     ` Peter Stephenson
2016-03-21 15:26                       ` Bart Schaefer
2016-04-05 12:49                     ` Vincent Lefevre
2016-03-13  2:26         ` Vincent Lefevre [this message]
2016-03-12  2:56   ` Vincent Lefevre
2016-03-12 16:15     ` Bart Schaefer
2016-03-11 22:13 ` Daniel Shahaf
2016-03-12  2:58   ` Vincent Lefevre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160313022605.GA23300@zira.vinc17.org \
    --to=vincent@vinc17.net \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).