View Full Version : Freeze detection cannot be stopped
jfalch
05-Oct-2005, 04:23 PM
My program has a DB call (loading some 60000 records into a MySQL DB) that takes several minutes. I have not been able to stop the "application frozen" message from appearing.
a) setting CurrentEurekaLogOptions.FreezeActivate:= False; before the DB call (query.ExecSql) does not stop it.
b) setting CurrentEurekaLogOptions.FreezeTimeout:= 30*60; // 30 min (?) before the DB call does not extend the checking interval - remians as about 60 seconds.
c) SetEurekaLogState(False); before the DB call does not stop it.
d) setting "Anti-Freeze Options" "Activate" to off in the program´s Advanced Eurekalog Options does not stop it, either.
Any suggestions ? I am using v5.0.3 with Delphi 4 (SP3).
Regards,
Jürgen Falch
admin
05-Oct-2005, 04:37 PM
jfalch wrote:
> My program has a DB call (loading some 60000 records into a MySQL DB)
> that takes several minutes. I have not been able to stop the
> "application frozen" message from appearing.
> a) setting CurrentEurekaLogOptions.FreezeActivate:= False; before the
> DB call (query.ExecSql) does not stop it.
> b) setting CurrentEurekaLogOptions.FreezeTimeout:= 30*60; // 30 min (?)
> before the DB call does not extend the checking interval - remians as
> about 60 seconds.
> c) SetEurekaLogState(False); before the DB call does not stop it.
> d) setting "Anti-Freeze Options" "Activate" to off in the program´s
> Advanced Eurekalog Options does not stop it, either.
>
> Any suggestions ? I am using v5.0.3 with Delphi 4 (SP3).
>
> Regards,
> Jürgen Falch
It's really strange.
It's the first time I have seen a similar behavior!
Are you sure to don't reactivate the Anti-Freeze option in any other Thread?
In any case try to do this (to avoid to works with a mistaken EurekaLog
configuration):
1)...Close all opened Delphi/CBuilder instances;
2)...De install all installed EurekaLog versions;
3)...Remove all folders containing the ExceptionLog.* or
?ExceptionExpert.* files;
4)...download and install the last EurekaLog version;
5)...restart your PC.
I'm waiting to your feedback as soon as possible, ok? :)
--
Best regards...
Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG showing line n.
jfalch
10-Oct-2005, 12:50 AM
Hello,
I have done as you suggested (1) to 5)); did not change the behaviour described in my previous post.
However, I noticed (somewhat lately) that the Eurekalog version shown in the first line of the "application frozen" .elf files was not 5.0.3 , but 5.0.2 RC1. An exhaustive disk search for this string finally found it in dclusr40.dof , the compiler options file for the "Borland User Components" (as [EurekaLog]EurekaLog Version=). I sometimes do add new components to this (my "misc") package, which then has to be recompiled; so it has probably acquired its own set of Eurekalog options from my defaults (delphi\bin\DefProj.eof ??).
It appears to me so that a) that the package has it´s own set of Eurekalog options, which is stored in an [Eurekalog] section of the above .dof file; and that b) these settings somehow seem to override the CurrentEurekaLogOptions() for the program concerning FreezeActivate (which, if this is so, I think to be questionable - a .dpk/.bpl package should, to my mind, take its Eurekalog options from the program it is compiled into).
Having done all this, I am now back again to "application frozen"; however, this time with an .elf Eurekalog version of 5.0.0 RC2; disk scan has not yet found this string in my Delphi directories.
Somewhat confused: regards,
jfalch
10-Oct-2005, 01:03 AM
I am not explicitly using threads (eg TThread.Create or such). However,the program uses ReadDirectoryChanges() in a separate thread.
admin
10-Oct-2005, 10:41 AM
jfalch wrote:
> Hello,
>
> I have done as you suggested (1) to 5)); did not change the behaviour
> described in my previous post.
>
> However, I noticed (somewhat lately) that the Eurekalog version shown
> in the first line of the "application frozen" .elf files was not 5.0.3
> , but 5.0.2 RC1. An exhaustive disk search for this string finally
> found it in dclusr40.dof , the compiler options file for the "Borland
> User Components" (as [EurekaLog]EurekaLog Version=). I sometimes do add
> new components to this (my "misc") package, which then has to be
> recompiled; so it has probably acquired its own set of Eurekalog
> options from my defaults (delphi\bin\DefProj.eof ??).
>
> It appears to me so that a) that the package has it´s own set of
> Eurekalog options, which is stored in an [Eurekalog] section of the
> above .dof file; and that b) these settings somehow seem to override
> the CurrentEurekaLogOptions() for the program concerning FreezeActivate
> (which, if this is so, I think to be questionable - a .dpk/.bpl package
> should, to my mind, take its Eurekalog options from the program it is
> compiled into).
>
> Having done all this, I am now back again to "application frozen";
> however, this time with an .elf Eurekalog version of 5.0.0 RC2; disk
> scan has not yet found this string in my Delphi directories.
>
> Somewhat confused: regards,
If in the .ELF file it's shows EurekaLog 5.0.2 RC1 then you are working
with EurekaLog 5.0.2 RC1! :(
I suggest to you to clean all your working folders from any old
EurekaLog versions, reinstall the last 5.0.3 and retry, please.
I'm waiting for your feedback about it, ASAP, ok?
--
Best regards...
Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG showing line n.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.