This is the mail archive of the
mailing list for the Cygwin project.
Memory error with PDKSH 5.2.14-3?
- From: Thomas Baker <thomas dot baker at bi dot fhg dot de>
- To: Cygwin <cygwin at cygwin dot com>
- Date: Mon, 6 Jun 2005 12:17:35 +0200
- Subject: Memory error with PDKSH 5.2.14-3?
- References: <20050605082204.GA1664@Octavius>
Just wanted to report that I was seeing error messages such as the
following in Korn shell scripts:
/home/tbaker/u/bin/urlists: internal error: alloc: freeing
memory outside of block (corrupted?)
By running the scripts in debug mode (set -x), I found that
the problem seemed to occur when declared functions (i.e.,
declared within the script) were invoked multiple times.
The functions would work at first, then stop working --
as if the functions somehow ate up the available memory.
Since rolling back from 5.2.14-3 to 5.2.14-2, the problem
seems to have gone away.
I am not a programmer and do not have time to test this
systematically but thought others on this list might want
to hear about this.
Dr. Thomas Baker firstname.lastname@example.org
SUB - Goettingen State +49-551-39-3883
and University Library +49-30-8109-9027
Papendiek 14, 37073 Göttingen
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html