zsh-users
 help / color / mirror / code / Atom feed
* core dump after system upgrade.
@ 2004-12-22 22:39 Le Wang
  2004-12-22 23:05 ` Le Wang
  2004-12-22 23:21 ` Travis Spencer
  0 siblings, 2 replies; 5+ messages in thread
From: Le Wang @ 2004-12-22 22:39 UTC (permalink / raw)
  To: zsh-users

Hi,

I've just upgraded my system to Mandrake 10.1, and I'm having a very serious
problem.  Zsh is core dumping when I navigate through completion choices with
menu completion.  At first I though it happened randomly, but I'm now able to
consistently replicate the problem.  I've tried the latest cvs code, and
almost every version going back to 4.0.9, and the problem persists.  I've
also trimmed my zshrc file to just 3 lines:

autoload -U compinit
compinit
zstyle ':completion:*' menu scroll=0 select=2

I compiled the cvs version with --enable-zsh-debug and get this from the core
file:

Core was generated by `zsh'.
Program terminated with signal 11, Segmentation fault.

warning: current_sos: Can't read pathname for load map: Input/output error

Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libgpm.so.1...done.
Loaded symbols for /lib/libgpm.so.1
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/local/lib/zsh/4.2.1-dev-1/zsh/parameter.so...done.
Loaded symbols for /usr/local/lib/zsh/4.2.1-dev-1/zsh/parameter.so
Reading symbols from /usr/local/lib/zsh/4.2.1-dev-1/zsh/zle.so...done.
Loaded symbols for /usr/local/lib/zsh/4.2.1-dev-1/zsh/zle.so
Reading symbols from /usr/local/lib/zsh/4.2.1-dev-1/zsh/complete.so...done.
Loaded symbols for /usr/local/lib/zsh/4.2.1-dev-1/zsh/complete.so
Reading symbols from /usr/local/lib/zsh/4.2.1-dev-1/zsh/zutil.so...done.
Loaded symbols for /usr/local/lib/zsh/4.2.1-dev-1/zsh/zutil.so
Reading symbols from /usr/local/lib/zsh/4.2.1-dev-1/zsh/complist.so...done.
Loaded symbols for /usr/local/lib/zsh/4.2.1-dev-1/zsh/complist.so
Reading symbols from /usr/local/lib/zsh/4.2.1-dev-1/zsh/rlimits.so...done.
Loaded symbols for /usr/local/lib/zsh/4.2.1-dev-1/zsh/rlimits.so
Reading symbols from /usr/local/lib/zsh/4.2.1-dev-1/zsh/computil.so...done.
Loaded symbols for /usr/local/lib/zsh/4.2.1-dev-1/zsh/computil.so
#0  0x40276cc0 in singledraw () at complist.c:1564
1564        clprintm(g, mtab[ml1 * columns + mc1], mcc1, ml1, lc1,

What else can I try to fix the problem?

Thanks.

--
Le

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: core dump after system upgrade.
  2004-12-22 22:39 core dump after system upgrade Le Wang
@ 2004-12-22 23:05 ` Le Wang
  2004-12-22 23:21 ` Travis Spencer
  1 sibling, 0 replies; 5+ messages in thread
From: Le Wang @ 2004-12-22 23:05 UTC (permalink / raw)
  To: zsh-users

A bit more info:  I just realized that the problem is caused when any entry
on the screen is longer than the width of the screen.  If I make the terminal
size very large, the problem does not happen, however as I resize the
terminal window to be narrower, it core dumps as soon as any entry is split
over 2 lines.

--
Le

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: core dump after system upgrade.
  2004-12-22 22:39 core dump after system upgrade Le Wang
  2004-12-22 23:05 ` Le Wang
@ 2004-12-22 23:21 ` Travis Spencer
  2004-12-23  1:08   ` Le Wang
  1 sibling, 1 reply; 5+ messages in thread
From: Travis Spencer @ 2004-12-22 23:21 UTC (permalink / raw)
  To: Le Wang; +Cc: zsh-users

On Wed, Dec 22, 2004 at 05:39:48PM -0500, Le Wang wrote:
> Zsh is core dumping when I navigate through completion choices with
> menu completion.  I've also trimmed my zshrc file to just 3 lines:
> 
> autoload -U compinit
> compinit
> zstyle ':completion:*' menu scroll=0 select=2

In case its helpful, I ran this test on Solaris 9 with 4.0.6, 4.2.1
and 4.2.1-dev-1 and on FC3 Linux with version 4.2.0, but I can't
reproduce it.

-- 

Regards,

Travis Spencer


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: core dump after system upgrade.
  2004-12-22 23:21 ` Travis Spencer
@ 2004-12-23  1:08   ` Le Wang
  2004-12-23  4:50     ` Le Wang
  0 siblings, 1 reply; 5+ messages in thread
From: Le Wang @ 2004-12-23  1:08 UTC (permalink / raw)
  To: zsh-users

 --- Travis Spencer <tspencer+zsh@cs.pdx.edu> wrote: 
> On Wed, Dec 22, 2004 at 05:39:48PM -0500, Le Wang wrote:
> > Zsh is core dumping when I navigate through completion choices with
> > menu completion.  I've also trimmed my zshrc file to just 3 lines:
> > 
> > autoload -U compinit
> > compinit
> > zstyle ':completion:*' menu scroll=0 select=2
> 
> In case its helpful, I ran this test on Solaris 9 with 4.0.6, 4.2.1
> and 4.2.1-dev-1 and on FC3 Linux with version 4.2.0, but I can't
> reproduce it.

I never had a problem before my system upgrade either.  I'm assuming it's
another package that got "upgraded" that's causing the problem.  I just don't
know which one.

--
Le

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: core dump after system upgrade.
  2004-12-23  1:08   ` Le Wang
@ 2004-12-23  4:50     ` Le Wang
  0 siblings, 0 replies; 5+ messages in thread
From: Le Wang @ 2004-12-23  4:50 UTC (permalink / raw)
  To: zsh-users

 --- Le Wang <lewang@yahoo.com> wrote: 
> I never had a problem before my system upgrade either.  I'm assuming it's
> another package that got "upgraded" that's causing the problem.  I just
> don't
> know which one.


No no no.  I went back and tried some previous versions again, and somehow
all versions prior to 4.2.0 work now.  So a bug would appear to have been
introduced in 4.2.0.

Here is a recipe:

$ xterm -geometry 40x10 -exec zsh -f

in the new window do the following:

  echo $ZSH_VERSION
  autoload -U compinit
  compinit
  zstyle ':completion:*' menu scroll=0 select=2
  rm -rf /tmp/zsh_test
  cd /tmp
  mkdir zsh_test
  cd zsh_test
  touch 'asdf asdf asdf adsf asdf adsf asdf asdf'
  touch b

now do:

  ls <tab>

hold on to tab for a FEW SECONDS to bring up menu completion, and it should
still work fine.

now, narrow the window until zsh segfaults.


Please tell me I'm not imagining this!

--
Le

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-12-23  4:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-22 22:39 core dump after system upgrade Le Wang
2004-12-22 23:05 ` Le Wang
2004-12-22 23:21 ` Travis Spencer
2004-12-23  1:08   ` Le Wang
2004-12-23  4:50     ` Le Wang

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).