Package: grep;
Reported by: Mahyar Mirrashed <mirrashm <at> myumanitoba.ca>
Date: 2022年2月28日 08:16:07 UTC
Severity: normal
Tags: moreinfo
View this message in rfc822 format
From: Mahyar Mirrashed <mirrashm <at> myumanitoba.ca> To: 54194 <at> debbugs.gnu.org Subject: bug#54194: Memory Leak on Fedora Machine Date: 2022年2月27日 23:34:07 -0600
[Message part 1 (text/plain, inline)]
Hi there, I was implementing a simplistic shell script parser for fun in C. When profiling with valgrind with --trace-children=yes, I accidentally profiled `grep` and noticed that there was over 110KB of memory leakage. I am running grep v3.6 which is the most recent according to `dnf` on Fedora Linux 35 (KDE Plasma) x86_64 with kernel 5.16.9-200 Thinking that it was because of whatever came with Fedora, I tried compiling from source but the same memory leakage persisted. The line that I was profiling was cat /proc/self/status | grep nonvol > nonvoluntaryswitches.txt Regards, Mahyar
[Message part 2 (text/html, inline)]
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.