Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

_rpm crashes zsh



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. 

(kevins@kevins)(zsh:3)% gdb ./zsh
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-mandrake-linux"...
(gdb) r -l
Starting program: /usr/local/src/zsh-3.1.6-pws-6/Src/./zsh -l
(kevins@kevins)(zsh:1)% rpm -qip
Program received signal SIGSEGV, Segmentation fault.
0x400bb9fc in chunk_alloc () from /lib/libc.so.6
(gdb) bt
#0  0x400bb9fc in chunk_alloc () from /lib/libc.so.6
#1  0x401555e0 in __DTOR_END__ () from /lib/libc.so.6
Cannot access memory at address 0x28.
(gdb) 

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. 

  -Kevin Sullivan



Messages sorted by: Reverse Date, Date, Thread, Author