Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: C02cond.ztst segfaults (was: Re: Strange test suite behaviour since zsh 5.2-dev-1: C02cond.ztst no more reports its finishing)
- X-seq: zsh-workers 37861
- From: Axel Beckert <abe@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx, Debian Zsh Maintainers <pkg-zsh-devel@xxxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: C02cond.ztst segfaults (was: Re: Strange test suite behaviour since zsh 5.2-dev-1: C02cond.ztst no more reports its finishing)
- Date: Mon, 1 Feb 2016 01:18:35 +0100
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAAAAAC3mUtaAAAABGdBTUEAALGPC/xhBQAAADh0RVh0U29mdHdhcmUAWFYgVmVyc2lvbiAzLjEwYSAgUmV2OiAxMi8yOS85NCAoUE5HIHBhdGNoIDEuMindFS5JAAACGElEQVQ4jXXQMU8UYRDG8f8shNjdDH4AbpfGDjAWlKiJiZ0ajL1aGCvsNCbGaCGG1koLaztaTYz6ATy+gOyehYmF3MxVxgg3FnDsHcTpJr/M+8w7Rf6nCsaVTTDqxbg9hoOXmw83H71+Eyfg4E1d7/Z2fG9rGkZbTQiu+K+3U/C+76lmkvAhJuDndnoAiftou4V84okAGclop4U/jYACZDTxrYWP0gkxVfAm/W//GLZpxIzwIN0Hn8dw0B+IWkZmQmRsj2HfhwokEklHfNCCiQCRgAR7YyhQVRVTCKCzP4Y5zBBE0t0zY3Q8oQaBqqAMlVEcgVQd9706zGirAFium8HXumlMIeMwqQCInju+2+uB6MRENupdpMt8pRlHZyuAW0F+Mb6XSIVqtxjD+iVmVqqystLEzFTGT92YqRaXpNT5eTVjeJhbALPnrTxLUZUKZsgxcNm64hAOYisT/xhF+oKTGU5RegtC3Rt6eEDi/QnIevdTx9Md2EMmYBRmCQR1026FCGQQJJExsRUqgkMGaWSbwYLnoO4T6VgpbQbdELPMBAHWWrhYrcxXnYgAsatPWygkFCBD4K62MAsOTqA6szYRPpsu6e6Y8mPiVrBMNuGIMrgwBUu4p2DgG1Ownu6hpuTv7hScefHAzAC/yRRw5U5pALMbJ4AUALvHSZhxgHPXTsHcdWD1GadAHr9avP+c0wCr7263Df8ASLwXWHWs+KIAAAAHdElNRQfYBQEBODPr
- In-reply-to: <20160131232037.GR4726@sym.noone.org>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: zsh-workers@xxxxxxx, Debian Zsh Maintainers <pkg-zsh-devel@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: The Debian Project
- References: <20160131201933.GL4726@sym.noone.org> <160131125145.ZM12147@torch.brasslantern.com> <20160131230313.GP4726@sym.noone.org> <160131151251.ZM12994@torch.brasslantern.com> <20160131232037.GR4726@sym.noone.org>
Hi,
Axel Beckert wrote:
> On Sun, Jan 31, 2016 at 03:12:51PM -0800, Bart Schaefer wrote:
> > On Feb 1, 12:03am, Axel Beckert wrote:
> > } Program terminated with signal SIGSEGV, Segmentation fault.
> > } #1 0x000055e7dc4af8f4 in is_cond_binary_op (str=0x7f05376fe238 "non-empty-string") at ../../Src/text.c:63
> >
> > Try this:
> >
> > diff --git a/Src/text.c b/Src/text.c
> > index 04acd2a..cf6d3eb 100644
> > --- a/Src/text.c
> > +++ b/Src/text.c
> > @@ -47,7 +47,7 @@ int text_expand_tabs;
> > */
> > static const char *cond_binary_ops[] = {
> > "=", "!=", "<", ">", "-nt", "-ot", "-ef", "-eq",
> > - "-ne", "-lt", "-gt", "-le", "-ge", "=~"
> > + "-ne", "-lt", "-gt", "-le", "-ge", "=~", NULL
> > };
> >
> > static char *tptr, *tbuf, *tlim, *tpending;
>
> Thanks! That fixed at least my local segfault when compiling with
> -fPIE. Will now push that patch to our Jenkins. Hopefully this also
> fixes the 32-bit C02cond.ztst issues, at least the symptoms are the
> same.
It did. Thanks again, Bart!
Regards, Axel
--
,''`. | Axel Beckert <abe@xxxxxxxxxx>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
`- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
Messages sorted by:
Reverse Date,
Date,
Thread,
Author