Good point Rohit,

  I hadn't even thought of resource leaks.  That might explain a lot.

 

  Trouble is, the OS is so locked down that Task manager is not available.

 

  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Rohit Gupta
Sent: Monday, 14 May 2007 9:53 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Long running apps & weirdness

 

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: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] 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   <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]

Web     <http://www.cfl.co.nz/> 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. 

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

Reply via email to