buggrep - Bugs: bug #38500, memory leak featuring find exec


You are not allowed to post comments on this tracker with your current authentication level.

bug #38500: memory leak featuring find exec

Submitted by:  -Deleted Account- <egeektronic>
Submitted on:  Mon Mar 11 10:17:40 2013  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Need Info
Privacy: PublicAssigned to: None
Open/Closed: Open

Mon Mar 11 14:48:38 2013, comment #1:

What makes you think it's a memory leak? Perhaps grep simply ran out of memory.

Paul Eggert <eggert>
Project Member
Mon Mar 11 10:17:40 2013, original submission:

greping 4 or more urandom

% grep --version
grep (GNU grep) 2.14

% ls /lib/udev/devices/
initctl null ppp shm urandom X0R zero

% find /lib/udev/devices/ -name "*" -exec grep -H "aaaa" {} \;
grep: /lib/udev/devices/: Is a directory
grep: /lib/udev/devices/ppp: Permission denied
grep: /lib/udev/devices/shm: Is a directory
grep: memory exhausted

-Deleted Account- <egeektronic>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by eggert (Posted a comment)
  • -unavailable- added by egeektronic (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Mar 11 14:48:38 2013eggertStatusNone=>Need Info

    Back to the top

    Powered by Savane 3.1-cleanup1