View Full Version : Problem with GDI AV Bug
Walky
19-Oct-2006, 08:51 AM
We currently have the problem that we have a GDI Access Violation in our code. This Bug causes the Application to freeze sooner or later.
We made a special Watchdog functionality (Check for an existing file all n milliseconds. If the file exists, delete it and call StandardEurekaError) to get the callstack once the application is frozen.
Problem is that once the application main thread is frozen, Eureka Log doesn't do anything anymore: The file still gets deleted, but no log file is written.
One Assumption of me was that a Modal Message Box was shown but couldn't actually be draw due to the GDI corruption bug. So I disabled the Exception Dialog of Eureka Log, but still no log file is written.
Best Regards
Daniel
admin
19-Oct-2006, 06:46 PM
Hi,
Walky wrote:
> We currently have the problem that we have a GDI Access Violation in our
> code. This Bug causes the Application to freeze sooner or later.
>
> We made a special Watchdog functionality (Check for an existing file
> all n milliseconds. If the file exists, delete it and call
> StandardEurekaError) to get the callstack once the application is
> frozen.
>
> Problem is that once the application main thread is frozen, Eureka Log
> doesn't do anything anymore: The file still gets deleted, but no log
> file is written.
>
> One Assumption of me was that a Modal Message Box was shown but
> couldn't actually be draw due to the GDI corruption bug. So I disabled
> the Exception Dialog of Eureka Log, but still no log file is written.
>
> Best Regards
> Daniel
Are you able to create a little source demo capable to reproduce this issue?
--
Best regards...
Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!
Walky
20-Oct-2006, 07:49 AM
In case you have a multi-processor machine handy, I can supply you with code. On single processor machines, the error only happens VERY infrequently.
(If I'm correct with my assumption then it only occurres if 2 race conditions happen in the correct order)
admin
23-Oct-2006, 07:22 AM
Hi,
Walky wrote:
> In case you have a multi-processor machine handy, I can supply you with
> code. On single processor machines, the error only happens VERY
> infrequently.
>
> (If I'm correct with my assumption then it only occurres if 2 race
> conditions happen in the correct order)
I'm sorry but I have only single core machines.
If you want I can connect with your PC using our remote support tool, so to can
definitely check the problem on your PC, ok?
To allow me to connect directly with your PC you must only download and run our
remote control tool (http://www.eurekalog.com/files/EurekaLog_Remote_Support.exe).
It is only a simple TCP client, working on the HTTPS ports, so it works with any
firewall and local network configuration.
If you want you can send other info to me using the support@eurekalog.com email.
(just to save your privacy). :)
--
Best regards...
Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!
Walky
23-Oct-2006, 04:56 PM
Sorry, but our only multiprocessor system is at the same time a productive envirement with customer data on it. Due to our security requirements we cannot allow remoting there.
Since I'm still trying to find the error, It might be possible that I stumble over an easier way to reproduce the error. If I find one, I'll send you an update.
Thanks & best regrads
Daniel Bernhard
BTW: Under normal circumstances I didn't manage to block EurekaLog (Trust me, I tried *gg*)
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.