I have a javascript run every 30 seconds to invoke 5 other javascript through "apiExecute". Each of these 5 script is simple and only do 3-5 of SQL commands through ODBC and it works fine in short time. But when I leave it overnight, I got a crash report in the morning showing the crashing module is odbc32.dll.

The system I am using is win xp.  odbc32.dll is provided by Microsoft. Is it really Microsoft's bug or something wrong in FS?
As odbc32.dll has been so widely used for many years, it should not be so fragile.