zsh-workers
 help / color / mirror / code / Atom feed
From: Kevin Sullivan <kevins@mediaone.net>
To: wischnow@informatik.hu-berlin.de
Cc: zsh-workers@sunsite.auc.dk
Subject: Re: _rpm crashes zsh
Date: Tue, 12 Oct 1999 05:31:19 -0400 (EDT)	[thread overview]
Message-ID: <14338.64821.158127.536658@kevins> (raw)
In-Reply-To: <199910120855.KAA05195@beta.informatik.hu-berlin.de>

Sven Wischnowsky writes:
> 
> Kevin Sullivan wrote:
> 
> > I was very happy when I saw the _rpm completion widget show up in the
> > recent distributions. However, I am having a problem with it. One of
> > the ways that I use rpm is to get information about a specific rpm I
> > have in the current directory with:
> > 
> > rpm -qip <rpm name> 
> > 
> > But instead of looking for local packages it simply crashes. I have
> > included a gdb traceback of the problem. 
> >
> > ...
> > 
> > I am using Mandrake 6.0 Linux and a straight non-patched version of
> > zsh-3.1.6-pws-6. If there is any more information I can provide let
> > me know. 
> 
> Either I accidentally deleted a mail or there wasn't a reply to
> this...
> 
> I tried but couldn't reproduce this with my pws-6 plus the 40+ patches 
> that appeared in the last weeks. Maybe this is fixed by Bart's 8151?
> (At least it looks like a memory problem...)
> 

Having not gotten an answer to the query I set off to figure it out
myself. I have a plain pws-6 version. Perhaps I should try Bart's 8151 
but in any event let me tell you what I found out. 

During the config process I enabled: --enable-zsh-mem
--enable-zsh-secure-free --enable-zsh-mem-warning --enable-zsh-debug
and --enable-zsh-mem-debug. 

When I fired up zsh and attempted:

my_prompt_here> rpm -q My<TAB> 

I got this error/warning message: 'BUG: attempt to free already free
storage'

So I fired up gdb put a break at mem.c:977 and mem.c:1054 but for some 
reason I was unable to get it to repeat under gdb.. Well I ran out of
time and was happy with simply enabling --enable-zsh-mem and
--enable-zsh-secure-free. I wanted to get a stack trace when I got 
to the DPUTS warning message, but... 

I believe the error message I was seeing was coming from 977 but I
have not verified this. 

Thanks, in any event I will try the 8151 patch... 

-Kevin Sullavin


  reply	other threads:[~1999-10-12  9:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-12  8:55 Sven Wischnowsky
1999-10-12  9:31 ` Kevin Sullivan [this message]
1999-10-12 17:17 ` Chmouel Boudjnah
  -- strict thread matches above, loose matches on Subject: below --
1999-09-29 22:00 Kevin Sullivan

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=14338.64821.158127.536658@kevins \
    --to=kevins@mediaone.net \
    --cc=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.auc.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).