zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <schizo@debian.org>
To: zsh-workers@sunsite.dk
Cc: "Jörg Sommer" <joerg@alea.gnuu.de>, 426161-forwarded@bugs.debian.org
Subject: Re: Bug#426161: zsh: crashes in reverse_menu
Date: Sat, 26 May 2007 22:50:23 -0400	[thread overview]
Message-ID: <20070527025023.GA19806@scowler.net> (raw)
In-Reply-To: <20070526205426.GA19686@alea.gnuu.de>

On Sat, May 26, 2007 at 10:54:26PM +0200, Jörg Sommer wrote:
> Hi,
> 
> after typing “vared CF” I've called “reverse-menu-complete” with M-x and
> zsh crashes. This also happens in zsh-beta 4.3.4-dev-0+20070516-1 and is
> not #416970.
> 
> % gdb zsh
> <0,2416>(iBook):~% vared CF 
> Program received signal SIGSEGV, Segmentation fault.
> 0x0fbc87d8 in reverse_menu (dummy=0xfc3be40, dummy2=0x0)
>     at ../../../Src/Zle/compresult.c:1231
> 1231    ../../../Src/Zle/compresult.c: No such file or directory.
>         in ../../../Src/Zle/compresult.c
> (gdb) bt
> #0  0x0fbc87d8 in reverse_menu (dummy=0xfc3be40, dummy2=0x0)
>     at ../../../Src/Zle/compresult.c:1231
> #1  0x1004a4c8 in runhookdef ()
> #2  0x0fc19e2c in reversemenucomplete (args=<value optimized out>)
>     at ../../../Src/Zle/zle_tricky.c:357
> #3  0x0fc13738 in completecall (args=<value optimized out>)
>     at ../../../Src/Zle/zle_tricky.c:208
> #4  0x0fc04eec in execzlefunc (func=0xfc39804, args=0xfc3be40, 
>     set_bindk=269896152) at ../../../Src/Zle/zle_main.c:1254
> #5  0x0fc0510c in zlecore () at ../../../Src/Zle/zle_main.c:1019
> #6  0x0fc057e4 in zleread (lp=<value optimized out>, rp=<value optimized out>, 
>     flags=<value optimized out>, context=<value optimized out>)
>     at ../../../Src/Zle/zle_main.c:1174
> #7  0x100394b4 in ingetc ()
> #8  0x10034264 in ?? ()
> #9  0x10041b7c in gettok ()
> #10 0x100425e4 in yylex ()
> #11 0x10060c08 in parse_event ()
> #12 0x10037a94 in loop ()
> #13 0x1003883c in zsh_main ()
> #14 0x1000b8b0 in main ()

This is because reverse_menu() is trying to dereference minfo.group
which is NULL.


       reply	other threads:[~2007-05-27  2:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070526205426.GA19686@alea.gnuu.de>
2007-05-27  2:50 ` Clint Adams [this message]
2007-05-28 12:29   ` Peter Stephenson
     [not found] <20070825004026.12883.52907.reportbug@chain.digitalkingdom.org>
2007-08-25 14:51 ` Bug#439425: Random, but fairly regular, zsh segfaults Clint Adams
2007-08-25 17:50   ` Peter Stephenson
2007-08-25 17:54     ` Robin Lee Powell
2007-08-27  0:11       ` Clint Adams
2007-08-27  2:29         ` Robin Lee Powell
2007-08-25 17:53   ` Robin Lee Powell
     [not found] <schizo@debian.org>
2007-04-14 20:53 ` release whinging Clint Adams
2007-04-15 18:58   ` Peter Stephenson

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=20070527025023.GA19806@scowler.net \
    --to=schizo@debian.org \
    --cc=426161-forwarded@bugs.debian.org \
    --cc=joerg@alea.gnuu.de \
    --cc=zsh-workers@sunsite.dk \
    /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).