zsh crashes with long double quoted strings.

Bug #1070820 reported by Andrew Myers
34
This bug affects 5 people
Affects Status Importance Assigned to Milestone
zsh (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

zsh consistently crashes when entering long double quoted strings. For example

echo "asdf
asdf
asdf
asdf
asdf
asdf
asfd <newline>

consistently crashes zsh on my machine.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: zsh 5.0.0-2ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.6.1-0ubuntu3
Architecture: amd64
Date: Wed Oct 24 08:13:14 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
SourcePackage: zsh
UpgradeStatus: Upgraded to quantal on 2012-10-22 (1 days ago)

Revision history for this message
Andrew Myers (asm198) wrote :
Revision history for this message
Axel Beckert (xtaran) wrote : Re: [Bug 1070820] [NEW] zsh crashes with long double quoted strings.

Hi,

Andrew Myers wrote:
> Public bug reported:
>
> zsh consistently crashes when entering long double quoted strings. For
> example
>
> echo "asdf
> asdf
> asdf
> asdf
> asdf
> asdf
> asfd <newline>
>
> consistently crashes zsh on my machine.

Hrm. I'm sorry, but I can't reproduce it:

~ % echo "asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> asdf
dquote> "
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
~ %

Works as expected.

> DistroRelease: Ubuntu 12.10
> Package: zsh 5.0.0-2ubuntu1
> Architecture: amd64

I tested it on Quantal amd64 and zsh 5.0.0-2ubuntu1, too.

> ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
> Uname: Linux 3.5.0-17-generic x86_64

3.5.0-16-generic #25-Ubuntu SMP Fri Sep 28 22:31:15 UTC 2012 x86_64
here.

Any special stuff in your .zshrc?

  Regards, Axel
--
 ,''`. | Axel Beckert <email address hidden>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
  `- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5

Changed in zsh (Ubuntu):
status: New → Incomplete
Revision history for this message
Andrew Myers (asm198) wrote :

Hmm, seems to be related to oh-my-zsh somehow. I'll do some more digging.

Revision history for this message
Axel Beckert (xtaran) wrote :

Frank Terberg could reproduce the issue. Details follow.

Changed in zsh (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Axel Beckert (xtaran) wrote :

Ehm, Terbeck, not Terberg. Sorry.

Revision history for this message
Axel Beckert (xtaran) wrote :

According posting on the upstream mailing list: http://www.zsh.org/mla/workers/2012/msg00651.html

Revision history for this message
Axel Beckert (xtaran) wrote :

This bug has been fixed upstream in git commit 23f98c3e1d4792e32c616e1f73c383988bd86a9c

Changed in zsh (Ubuntu):
status: Confirmed → Fix Committed
Changed in zsh (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.