- Joined
- Jul 10, 2007
- Messages
- 6,306
So, I've had a problem recently that I haven't been able to solve.
1. There is no thread crash going on
2. There are no leaks
3. When the number of operations grows, the stack becomes corrupted. However, the thread does not crash.
4. The stack does not become corrupted when doing these operations in a separate thread. Once again, the thread isn't crashing when everything is just on the original thread. I don't understand what the difference is if the thread doesn't crash either way.
It has been verified with absolute certainty that the resource does not leak and that the operations do not cause stack corruption. It has also been verified with absolute certainty that the thread never crashes.
The culprit is this set of lines in ListHtNt at line 469.
The code being run is Untitled Trigger 001
Please help me figure this problem out. I'm at a total loss.
1. There is no thread crash going on
2. There are no leaks
3. When the number of operations grows, the stack becomes corrupted. However, the thread does not crash.
4. The stack does not become corrupted when doing these operations in a separate thread. Once again, the thread isn't crashing when everything is just on the original thread. I don't understand what the difference is if the thread doesn't crash either way.
It has been verified with absolute certainty that the resource does not leak and that the operations do not cause stack corruption. It has also been verified with absolute certainty that the thread never crashes.
The culprit is this set of lines in ListHtNt at line 469.
JASS:
debug private method clearNode takes thistype end returns nothing
debug loop
debug call clearAddress()
debug exitwhen this == end
debug set this = this.p_next
endloop
debug endmethod
The code being run is Untitled Trigger 001
Please help me figure this problem out. I'm at a total loss.