#7 egrep / grep crashes zsh

open
nobody
None
5
2003-11-28
2003-11-28
Mick Weiss
No

OS: WinXP Pro.

Problem:
I wanted to filter my chatzilla logs and strip each
login / logout / timeout.

When I did this-> cat logfile | grep -v
'\|<--|\|-->|=_=' > newlogfile

Then i tried the following:
cat logfile | egrep -v '\|<--|\|-->|=_=' > newlogfile

then:
cat logfile | egrep -vF '\|<--|\|-->|=_=' > newlogfile

None of these stripped any of the logs.

So then I tried this to test... echo " -->| foo
(foo@bar.net) has joined #bash" | grep -v '\|<--|\|-->|=_='

zsh.exe crashed.

======================
Steps to recreate this:
1. put grep in your classpath
2. start zsh
3. echo "-->| foo (foo@bar.net) has joined #bash" |
grep -v '\|<--|\|-->|=_='

you should see a popup with the freebsd devil
Error Sig:
AppName: zsh.exe AppVer: 0.0.0.0 ModName: zsh.exe
ModVer: 0.0.0.0 Offset: 0003813e

Reproducable?
- every second time.

Note: echo "-->| foo (foo@bar.net) has joined #bash" |
grep -v '\|<--|\|-->|=_='
works on FreeBSD without a problem

Note: fgrep may also be affected by this.

Also: I have attached the error report (in xml)

If you have any questions / comments - please e-mail me.

Regards,

- Mick

Discussion

  • Mick Weiss
    Mick Weiss
    2003-11-28

    Error Report

     
    Attachments