[Grml] for loop zsh parse error 100% cpu

Matthias Merk macem99 at gmail.com
Thu Sep 11 11:01:24 CEST 2008


On Thu, Sep 11, 2008 at 9:44 AM, Michael Prokop <mika at grml.org> wrote:
> * 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? :)

i commented out stable five minutes ago :)

>> 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?

Yes!

> 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?

it breaks with 0.3.52 where the vcs prompt stuff was introduced (
http://hg.grml.org/grml-etc-core/rev/1331f322ab7e )
thats why i upgraded actually ;)

maybe i neeed a newer version of zsh!?

thanks for the help!


More information about the Grml mailing list