Le 17/02/2011 12:53, Khaled Hosny a écrit : >> May I suggest that you add to the code a global counter of how many times >> database (re-)generation was attempted and stop trying if it reaches, say 3. >> This way, future similar bugs would not trigger an endless loop. >> (Interestingly >> enough, on my Linux machine, I rapidly got a stack overflow, while on the >> windows (virtual) box, I had to kill the process after a few minutes.) > > The loop itself was the bug, it shouldn't be looping at all (I was > simply calling a function1 that calls function2 but function2 were in > turn calling function1 again :) The new version already uploaded to > CTAN. > I understand that. I just wanted to suggest an additional safety net so that, if another similar bug ever happens, it is catched more cleanly.
Manuel.
