[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep (2.5.1) ACCESS violation bug
From: |
Bacchu, Anjan |
Subject: |
grep (2.5.1) ACCESS violation bug |
Date: |
Thu, 14 Jul 2005 16:34:59 -0700 |
Hi There,
I can recreate a GPF(ACCESS violation) in grep(grep (GNU grep) 2.5.1)
on a custom redhat linux 2.4.x kernel on dell i386 hardware).
pls. see below.
Also, I was able to recreate the same problem on my workstation
using cygwin's version of grep (again 2.5.1) -- pls. see DOWN BELOW.
Thank you,
BR,
~A
address@hidden <mailto:address@hidden> : /tmp
$ !189
grep -P "(^.*\w\S*)(\s*)" sedInput.txt
Segmentation fault
address@hidden <mailto:address@hidden> : /tmp
$ cat sedInput.txt
cache[0].fieldName ="DocumentType"; address@hidden
<mailto:address@hidden> : /tmp
$
address@hidden <mailto:address@hidden> : ~
$ grep -V
grep (GNU grep) 2.5.1
Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
address@hidden <mailto:address@hidden> : ~
$
C:\temp>grep -P "(^.*\w\S*)(\s*)" sedInput.txt
cache[0].fieldName ="DocumentType";
♦
cache[0].fieldName ="DocumentType";
♦
cache[0].fieldName ="DocumentType";
4 [main] grep 5328 handle_exceptions: Exception:
STATUS_ACCESS_VIOLATION
517 [main] grep 5328 open_stackdumpfile: Dumping stack trace to
grep.exe.stackdump
C:\temp>grep -V
grep (GNU grep) 2.5.1
Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
C:\temp>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- grep (2.5.1) ACCESS violation bug,
Bacchu, Anjan <=