[DUG] Long running apps & weirdness

Rohit Gupta rohit at cfl.co.nz
Mon May 14 09:52:55 NZST 2007


Trevor,

Two things.

1.  We have something similar right now to do with Crystal Reports.  I 
fairly sure that I have found the two problems in it.  One is that 
callback from a dll is into a nested procedure with local variables and 
could be called after the object has been destroyed.  The other is to do 
with strings.  The more strings we pass to the dll the faster the 
crash.  Basically memory/stack/registers are getting trashed leading to 
nonsense errors and even the app just disappearing. 

2.  Running out of resources.  Open the task manager and keep an eye on 
GDI objects (the worst), User Obects, Handles etc  GDI is the worst.  
Windows goes crazy, you cant even shut down.  Old version of Nero used 
to do this.  And ODBC driver for MSSQL did/does it too.



Trevor Jones wrote:
> Hello,
>   Just wondering if any of you have encountered really weird bugs and
> support issues on machines that have been running for a long time (without a
> reboot).
>
>  
> Trevor
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject: unsubscribe
>
>
>   

-- 
*Rohit Gupta*
* B.E. Elec.   M.E.   Mem IEEE    Associate IEE*
*Technical Manager*
*Computer Fanatics Limited*
** 
*Tel*     +64 9 4892280
*Fax*    +64 9 4892290
*Email  *rohit at cfl.co.nz <mailto:rohit at cfl.co.nz>**
*Web    *www.cfl.co.nz <http://www.cfl.co.nz/>
 
------------------------------------------------------------------------
This email and any attachments contain information, which is 
confidential and may be subject to legal privilege and copyright. If you 
are not the intended recipient, you must not use, distribute or copy 
this email or attachments. If you have received this in error, please 
notify us immediately by return email and then delete this email and any 
attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.adventureeducation.co.nz/pipermail/delphi/attachments/20070514/4323b70c/attachment-0001.html


More information about the Delphi mailing list