[fpc-pascal] Recursion

Paul Davidson pdavidson at coraxnetworks.com
Sun Jul 17 23:19:03 CEST 2005


Having problem with app.  It is rule based, and operates with recursion.
Events, such as HTTP requests, timers etc, are processed in separate 
threads such that rule engine can handle more than one request at a 
time.

When a rule cascade recurses for 10th time, a thread dies.  But only 
first time.  Triggering the same rule cascade any time after that works 
perfectly - up to depths of 150+

Mac OS/Darwin.
No objects are created or destroyed during rule cascade.
Not dependent on size of rules
FPC 1.9x to 2.x.x

Any hints at all?  Been tracking this bug for months :|

P Davidson





More information about the fpc-pascal mailing list