[Grml] for loop zsh parse error 100% cpu

Michael Prokop mika at grml.org
Thu Sep 11 09:44:21 CEST 2008


* Matthias Merk <macem99 at gmail.com> [20080911 08:31]:

> im using grml-etc-core on a bit outdated debian box.
> and when executing the following cpu goes to 100% and i have to kill -9 zsh.

> for i in 1 2 3; do
> zsh: parse error

> i think it came up when i upgraded grml-etc-core to unstable. which
> version is in stable?

% acp grml-etc-core
grml-etc-core:
  Installed: 0.3.56
  Candidate: 0.3.56
  Version table:
 *** 0.3.56 0
        996 http://deb.grml.org grml-testing/main Packages
        100 /var/lib/dpkg/status
     0.3.49 0
        996 http://deb.grml.org grml-stable/main Packages

> $ apt-cache policy grml-etc-core zsh
> grml-etc-core:
>   Installed: 0.3.56
>   Candidate: 0.3.56
>   Version Table:
>  *** 0.3.56 0
>         500 http://deb.grml.org grml-testing/main Packages
>         100 /var/lib/dpkg/status

Why do you use grml-testing without using grml-stable as well? :)

> zsh:
>   Installed: 4.2.5-7
>   Candidate: 4.2.5-7
>   Version Table:
>      4.3.2-13bpo1 0
>         200 http://www.backports.org sarge-backports/main Packages
>  *** 4.2.5-7 0
>         500 http://ftp.at.debian.org sarge/main Packages
>         100 /var/lib/dpkg/status

Ah, pretty old box. :)

I can't reproduce the problem with zsh 4.3.6 (i686-pc-linux-gnu)
and latest grml-etc-core.

Does it happen with 'zsh -f' as well?

Can you please try to downgrade to an older grml-etc-core version so
we can locate the problem easier?

If you have mercurial (hg) and Debian's build stuff available you
can build all the different versions on your own:

hg clone http://hg.grml.org/grml-etc-core
cd grml-etc-core
hg up $VERSION # where VERSION is just a tag in hg, just use the
               # grml-etc-core version you'd like to get
debuild -us -uc

If that's not an option for you let me know and we will provide
different debian packages for you.

@Frank: do you have any idea where this might come from?

regards,
-mika-
-- 
 http://grml.org/            # Linux for texttool-users and sysadmins
 http://wiki.grml.org/       # share your knowledge
 http://grml.supersized.org/ # the grml development weblog
 #grml @ irc.freenode.org    # meet us on irc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.mur.at/pipermail/grml/attachments/20080911/3c02385e/attachment.pgp 


More information about the Grml mailing list