BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delphi exe crashes on startup

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General)
View previous topic :: View next topic  
Author Message
Peter Young
Guest





PostPosted: Sun Feb 27, 2005 7:59 pm    Post subject: Delphi exe crashes on startup Reply with quote



I have a Delphi application deployed to a number of customers.
Recently we just finally ported the application from Delphi 3 to 7. It
is a database application and uses Advantage database components. On a
few customers using Windows XP Pro with SP1 the application crashes
upon startup. In essence we receive the windows error about sending a
report to Microsoft. I cannot reproduce this on other PCs with XP Pro
SP1. I cannot reproduce this is in the test enviroment. The version in
Delphi 3 still runs fine on the machine in question and they are
essentially the same program. I have tried removing the XP Manifest
and the same problem occurs. We have Delphi 7.0 Build 8.1
Professional.

So I'm guessing that somewhere I am importing a library (i.e. in a 3rd
party component) that is not available on this particular PC, hence
causing the crash. I am further guessing this because some of the 3rd
party components have changed and so required updating before being
installed in Delphi 7. This is the only explanation I can think of,
but wondering if there are any other suggestions out there, or things
to look for in particular.
One of the largest new 3rd party components is the JEDI library.

Thanks
Peter
Back to top
Michael Valverde
Guest





PostPosted: Thu Mar 03, 2005 5:27 am    Post subject: Re: Delphi exe crashes on startup Reply with quote



Peter,

I once ran across something similar. The user had the PC set to 256 colors
and it was hosing my Delphi applications.
If the other XP machines are the same, then it could be something like this.
Good luck!
MV

"Peter Young" <ivmsbc (AT) shaw (DOT) ca> wrote

Quote:
I have a Delphi application deployed to a number of customers.
Recently we just finally ported the application from Delphi 3 to 7. It
is a database application and uses Advantage database components. On a
few customers using Windows XP Pro with SP1 the application crashes
upon startup. In essence we receive the windows error about sending a
report to Microsoft. I cannot reproduce this on other PCs with XP Pro
SP1. I cannot reproduce this is in the test enviroment. The version in
Delphi 3 still runs fine on the machine in question and they are
essentially the same program. I have tried removing the XP Manifest
and the same problem occurs. We have Delphi 7.0 Build 8.1
Professional.

So I'm guessing that somewhere I am importing a library (i.e. in a 3rd
party component) that is not available on this particular PC, hence
causing the crash. I am further guessing this because some of the 3rd
party components have changed and so required updating before being
installed in Delphi 7. This is the only explanation I can think of,
but wondering if there are any other suggestions out there, or things
to look for in particular.
One of the largest new 3rd party components is the JEDI library.

Thanks
Peter



Back to top
Peter Young
Guest





PostPosted: Sun Mar 13, 2005 11:13 pm    Post subject: Re: Delphi exe crashes on startup Reply with quote



Thanks for the idea. I noticed this before in Delphi 3 and using the
BDE that if using 256 colours or less the program would crash.
Unfortunately this is not the case here.

Using remote debugger this comes back as "Too Many Concurrent
Exceptions". Again, this seems to occur only on this one site, other
clients running XP do not have this problem, so I am at a pit of a
loss. The bug appears in the System.pas unit, but I am not sure what
is triggering it.

Again any ideas would be welcome.

"Michael Valverde" <mdv (AT) hatespam (DOT) com> wrote

Quote:
Peter,

I once ran across something similar. The user had the PC set to 256 colors
and it was hosing my Delphi applications.
If the other XP machines are the same, then it could be something like this.
Good luck!
MV

Back to top
ME.
Guest





PostPosted: Mon Mar 14, 2005 11:00 am    Post subject: Re: Delphi exe crashes on startup Reply with quote

Peter Young wrote:
Quote:
Again any ideas would be welcome.

OTTOMH, Hyperthreading on the CPU? AMD 64? Wrong Package versions and
building with packages enabled...?

With Hyperthreading, probably a likely candidate, the creation order of
components could be in the wrong order. This will cause weird,
unexplainable crashes at certain times, like startup or close down,
that are almost impossible to recreate on a mono (cored) processor
machine.

Hope that helps...


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.