Mail Archives: djgpp/2001/03/16/20:02:04
I'm having a similar problem to what I had before -- I get a General
Protection Fault while attempting to create a very long linked list.
The "add a new element to the list" routine is iterative now, whereas
before it was recursive. I'm just using 17,000-odd file/data elements
this time around, whereas before I was only using about 8000.
Before I go into the specifics of what the error is, can I ask the
DJGPP gurus if there's an internal limitation on the _number_ of
allocations one can do? I'm allocating about 50 bytes 17,000-odd
times over. Would this cause a problem in the allocation code?
I'm going to wait until Monday to post the GPF register dump, because
I'd like to trace it down to the exact point where the error happens
first. :-)
Thanks in advance...
Damon Casale, damon AT WRONG DOT redshift DOT com (remove the obvious)
MALLOC 2: The Adventure of Link. ;-p
- Raw text -