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 11 Mar 2013 10:17:40 AM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Need Info
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Mon 11 Mar 2013 02:48:38 PM UTC, comment #1: 

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

Paul Eggert <eggert>
Project Member
Mon 11 Mar 2013 10:17:40 AM UTC, 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
  • -email is unavailable- added by eggert (Posted a comment)
  • -email is unavailable- added by egeektronic (Submitted the item)

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

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-03-11 eggert StatusNone => Need Info

    Back to the top

    Powered by Savane 3.7