Board index » off-topic » Re: Thread : freezing app.
|
Martin James
Delphi Developer |
|
Martin James
Delphi Developer |
Re: Thread : freezing app.2005-02-15 06:22:52 AM off-topic18 Quote
CPU to be pegged at the end-stop. Rgds, Martin |
| Liz
Delphi Developer |
2005-02-15 07:11:31 AM
Re:Re: Thread : freezing app.
Martin James wrote:
QuoteThe other odd thing is that you say the process CPU shows up at 0, no |
| Martin James
Delphi Developer |
2005-02-15 10:56:53 AM
Re:Re: Thread : freezing app.Quote
QuoteI think Remy hates me :) Martin PS I posted the demo app at last, but you've probaly written your stuff by now. Rgds, Martin {smallsort} |
| Liz
Delphi Developer |
2005-02-15 04:06:12 PM
Re:Re: Thread : freezing app.
Martin James wrote:
QuoteHe did! Aparrently, you have to clear the IOhandler inputBuffer disconnection.. QuotePS I posted the demo app at last, but you've probaly written your your help. |
| Liz
Delphi Developer |
2005-02-15 04:36:33 PM
Re:Re: Thread : freezing app.
Martin James wrote:
QuoteOdd. I would not expect a single socket read to return more than, {*word*99}ness of me. Problem is, I havent found a good vt100 component that does all I need thats free... and this one is great except under heavy load (I didnt write it all, I did however make a lot of it, and a large number of alterations to it) |
| Galadriel
Delphi Developer |
2005-02-15 05:38:39 PM
Re:Re: Thread : freezing app.
Martin James a écrit :
Quote>Thank you Joseph, I'll also try to run your app on the faulty PC. definitely would use it in my further apps and modify the current one as soon as possible. Yet sorry if I'm a little stubborn, but I really would like to *understand* why my current app freezes ! Is it my fault ? Is it the PC fault ? is it the Windows fault ? is it the Delphi fault ? As a thread newbie I would definitely say that it is my fault ... but I can't figure out where is the problem. And I can't understand why the app works on every single PC where I tested it except one and only one where it freezes. I would say even more : on the PC where it freezes it only freezes with XP ! I formated the PC installed win2k and it works ! I re-formated the PC installed XP and it freezes ! On other XP PC it works ! Help Mulder & Scully where are you ? ;-P |
| Finn Tolderlund
Delphi Developer |
2005-02-15 08:10:57 PM
Re:Re: Thread : freezing app.
"Galadriel" < XXXX@XXXXX.COM >skrev i en meddelelse
QuoteI formated the PC installed win2k and it works ! Thoughts: You are constantly adding lines to the memo, so the contents grow all the time. Could the huge amount of data in the memo be the reason? Or is there a difference on your XP and others XP where it works? I'm thinking about different windows updates and security patches. Could it be that the XP that freezes do not have all patches installed? |
| Martin James
Delphi Developer |
2005-02-15 08:50:39 PM
Re:Re: Thread : freezing app.QuoteI replaced the memo1 in your demo with my useless display component, In the othe, more complex, demo, I used the Async Pro terminal & emulator. This is now free, AFAIK, on SourceForge. Maybee is lacks some funtionality or is slow anyway. Rgds, Martin |
| Martin James
Delphi Developer |
2005-02-15 08:59:16 PM
Re:Re: Thread : freezing app.Quote
flushing caches on a multiprocessor system. Besides, IMHO the kernel on XP & W2k is the same, so I do not know how one OS could expoit a hardware deficiency & the other not. Very X. QuoteI formated the PC installed win2k and it works ! Rgds, Martin |
| Liz
Delphi Developer |
2005-02-16 12:21:24 AM
Re:Re: Thread : freezing app.
Finn Tolderlund wrote:
Quote
like 300k+ it only processed around 5k of lines before seemingly stopping.. it seems the messages are just flooding in and drowing in out everything else.. |
| Marco Caspers
Delphi Developer |
2005-02-16 05:55:54 AM
Re:Re: Thread : freezing app.
Martin James wrote:
[snip] QuoteThis does sound like hardware, but how this could affect your little This could also very well cause a freeze in the application. Mainboard memory controller drivers and video card drivers come to mind. I'd check that first before blaming it on the hardware itself. There's many a driver delivered in Windows XP by Microsoft that will cause bad things. Also i experenced sometimes USB devices like memory sticks will hang applications for no apparent reason.. |
| Galadriel
Delphi Developer |
2005-02-16 06:15:32 PM
Re:Re: Thread : freezing app.
Finn Tolderlund a écrit :
Quote"Galadriel" < XXXX@XXXXX.COM >skrev i en meddelelse QuoteI tried the app on my XP and let it run for about 6 minutes. No freeze. minute so there is not a huge amoun of data in the TMemo. QuoteOr is there a difference on your XP and others XP where it works? QuoteI'm thinking about different windows updates and security patches. Thank you. |
| Galadriel
Delphi Developer |
2005-02-16 06:15:38 PM
Re:Re: Thread : freezing app.QuoteI tried something similar in I made a filefinder, set it off on *.* on |
| Galadriel
Delphi Developer |
2005-02-16 06:15:47 PM
Re:Re: Thread : freezing app.
Martin James a écrit :
Quote>And I can't understand why the app works on every single PC where I hit some instructions in the CPU that are bugged on the faulty machine and Win2k will not ? Or maybe some drivers are not the same between 2k and XP ? Quote
|
| Galadriel
Delphi Developer |
2005-02-16 06:15:59 PM
Re:Re: Thread : freezing app.
Marco Caspers a écrit :
QuoteMartin James wrote: Quote
|
