bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-grep] [bugs #12368] Segfault with grep -P


From: anonymous
Subject: [bug-grep] [bugs #12368] Segfault with grep -P
Date: Fri, 18 Mar 2005 19:33:47 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050302 Firefox/1.0.1 Fedora/1.0.1-1.3.2

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12368>

                 Summary: Segfault with grep -P
                 Project: grep
            Submitted by: None
            Submitted on: Fri 03/18/2005 at 14:33
                Category: None
                Severity: 5 - Average
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

I got a seg fault while doing some routine greping.  Since I don't start
using a large amount of memory, I figure this is not the sort of bug that was
warned about in the man page.

The original command I ran was:

cat ~/segFault.list | grep -P '^\.\/[^/]+\/[^/]+$'

However, I've narrowed it down to
grep -P '[^/]*'
(or grep -P '[^/]+'
 or grep -P '[^/]{2,}
 etc)
None of these do quite what I would expect them to in perl.

grep --version yields:
grep (GNU grep) 2.5.1

System: Fedora Core 3 (or Core 2)
Bash: GNU bash, version 3.00.14(1)-release (i386-redhat-linux-gnu)

Reproduced on a number of different machines (all running grep 2.5.1)...sorry
this is the only version I have access to.

If I missed something important that needs to be known...just ask.

Manfred






    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 03/18/2005 at 14:33  Name: segFault.list  Size: 17.33KB   By: None
original input for crashing grep
<http://savannah.gnu.org/bugs/download.php?item_id=12368&item_file_id=2325>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12368>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]