Thread View: gnu.bash.bug
1 messages
1 total messages
Started by Ray Nickson
Mon, 04 Sep 1989 01:07
memory leak
Author: Ray Nickson
Date: Mon, 04 Sep 1989 01:07
Date: Mon, 04 Sep 1989 01:07
25 lines
1317 bytes
1317 bytes
The following bug which I reported in version 1.02 does not seem to have
gone away in 1.03.
From: Ray Nickson <nickson@comp.vuw.ac.nz>
Date: Fri, 25 Aug 89 15:59:34 +1200
I don't think this has been reported before; apologies if it has.
Loops cause bash (1.02, gcc-compiled on HP300s running MORE/Bsd and
Sun380s running SUNOS4) to consume memory without bound.
This is quite dramatic; put bash into a tight loop
(while :; do :; done) and watch the memory size; it goes up tens of
Ks a second on a lightly loaded sun. Similar behaviour also occurrs
with other more realistic loops, adding 20K or so for every half
dozen iterations.
Sorry I can't give any more details, I'll look deeper if you can't
reproduce it.
-rgn
--
Ray Nickson, Dept. Comp. Sci., Victoria University of Wellington, New Zealand.
nickson@comp.vuw.ac.nz ...!uunet!vuwcomp!nickson + 64 4 721000x8593
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads