Author Topic: Exception: Access Violation, in Paint  (Read 5822 times)

Ralph McLaughlin

  • Newbie
  • *
  • Posts: 2
    • View Profile
Exception: Access Violation, in Paint
« on: March 24, 2004, 11:53:00 AM »
I first saw this a few days ago, infrequently at first but now all the time. I haven't figured out exactly what triggers it, but I'm unably to load my run this morning without having it pop up.

Once it happens, I have to exit and restart.

Any ideas?

Krein

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 1203
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Exception: Access Violation, in Paint
« Reply #1 on: March 25, 2004, 08:08:49 AM »
This sounds like a serious bug.  By load your run do you mean load a GPX file, or do you mean loading your run from the forerunner?

When exactly does it crash?

If you can send us your TopoFusion.log file (to beta@topofusion.com), we'll have a look and see if we can figure out what's going on.

Thanks.

mikewager

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Exception: Access Violation, in Paint
« Reply #2 on: March 25, 2004, 10:48:24 AM »
I too was getting this error whenever there were any active tracks when i started topofusion.  I could start it with no errors if I unloaded all the tracks and restarted it, but it would error out as soon as I loaded a track and did any view operation.  When I looked at the log, I noticed any operation using DirectDraw errored out.   I updated my video drivers and reset them to factory defaults.  The DirectDraw errors went away and I have not had the problem since.

I am running XP pro with a NVIDIA Quadro FX 500 video card.

  • Guest
Exception: Access Violation, in Paint
« Reply #3 on: March 25, 2004, 07:29:34 PM »
The behavior you describe is exactly the problem I'm having.

I have an Intel 82810E Graphics Controller. The driver version is dated 7/23/02. I tried to update but the response was that it was current; I don't know how to reset it. I'm running XP Home.

The log file is below. Lots of DirectX errors.

I'll keep looking for a way to update and/or reset the driver.

Thanks for your suggestions.



TopoFusion 1.700 Log Begin
Windows Major Version: 5
Windows Minor Version: 1
Windows Build Number : 2600
Windows Platform ID  : 2
Windows CSD Version  : Service Pack 1
Initializing DirectDraw
Color Info : BBP = 16
Color Info : Sizes : R=5, G=6, B=5
Color Info : Shifts : R=11, G=5, B=0
DirectDraw : Driver "Intel® 82810E Graphics Controller" (i81xdnt5.dll)
DirectDraw : Total Video Memory : 37748736
DirectDraw : Free Video Memory : 34485344
DirectDraw : Hardware supports blits
DirectDraw : Hardware doesn't support asynchronous blits
DirectDraw : Hardware supports colorfill on blits
DirectDraw : Hardware supports stretchblit
DirectDraw : Hardware supports colorkeying
DirectDraw : Hardware supports source colorkey
Creating Surfaces
BackBuffer: Width=858, Height=415, was created in Video Memory
Creating Sprites
Successfully Created Surfaces
Initializing Memory Pool
Total Physical Memory: 401129472
Physical Memory Free: 193810432
Memory Load: 51 percent
Tile Cache Size = 860
391 surfaces created in (local) video memory
469 surfaces created in system memory
Initializing Winsock
Initializing Threads
Initializing Index File
Initialization Complete

Re-doing memory pool
Releasing Video Memory
Releasing other Surfaces
Creating Surfaces
BackBuffer: Width=1274, Height=738, was created in Video Memory
Creating Sprites
Successfully Created Surfaces
Recreating Video Memory Pool
recreateVideoMemoryPool: Finishing up
Done Recreating Video Memory Pool
initOpenGL: Warning, not hardware accelerated
GL_VENDOR = Microsoft Corporation
OpenGL: GL_MAX_TEXTURE_SIZE = 1024
Uh oh: Max texture size = 1024x1024, need 2048x1024
GL error: glTexImage2D[3459]: invalid value
createTextureFromSurface: Unable to glTexImage2D
Creating Surfaces
BackBuffer: Width=1274, Height=738, was created in Video Memory
Creating Sprites
Successfully Created Surfaces
Recreating Video Memory Pool
recreateVideoMemoryPool: Finishing up
Done Recreating Video Memory Pool
Opening C:\Documents and Settings\default\My Documents\032404.gpx
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1581]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
DirectX Error [1476]: Generic failure.
Initializing Com1 at 9600 baud.

Caught Exception:
 Function: Paint
 Exception: Access Violation

  • Guest
Exception: Access Violation, in Paint
« Reply #4 on: March 26, 2004, 09:35:24 AM »
After resetting the driver for my graphics controller (actually I just reinstalled the same one) and running Norton WinDoctor (lots of ActiveX/COM problems) the problem is better, but not gone. I got the error as soon as I started TopoFusion, but could manipulate the screen (pan, zoom in/out), and load/unload files.

The log file is below. Are there any clues in it? I see what looks like video memory issues.

Ralph

-------------------------------------------------------

TopoFusion 1.700 Log Begin
Windows Major Version: 5
Windows Minor Version: 1
Windows Build Number : 2600
Windows Platform ID  : 2
Windows CSD Version  : Service Pack 1
Initializing DirectDraw
Color Info : BBP = 24
Color Info : Sizes : R=8, G=8, B=8
Color Info : Shifts : R=16, G=8, B=0
DirectDraw : Driver "Intel® 82810E Graphics Controller" (i81xdnt5.dll)
DirectDraw : Total Video Memory : 37748736
DirectDraw : Free Video Memory : 37666816
DirectDraw : Hardware supports blits
DirectDraw : Hardware doesn't support asynchronous blits
DirectDraw : Hardware supports colorfill on blits
DirectDraw : Hardware doesn't support stretchblit
DirectDraw : Hardware supports colorkeying
DirectDraw : Hardware doesn't support source colorkey
Creating Surfaces
BackBuffer: Width=858, Height=415, was created in Video Memory
Creating Sprites
Successfully Created Surfaces
Initializing Memory Pool
Total Physical Memory: 401129472
Physical Memory Free: 161411072
Memory Load: 59 percent
Tile Cache Size = 627
275 surfaces created in (local) video memory
352 surfaces created in system memory
Initializing Winsock
Initializing Threads
Initializing Index File
Initialization Complete

Opening C:\Documents and Settings\default\My Documents\032104.gpx

Caught Exception:
 Function: Paint
 Exception: Access Violation

DirectX Error [2207]: Access to this surface is being refused because the surface is already locked by another thread.
DirectX Error [2207]: Access to this surface is being refused because the surface is already locked by another thread.
Re-doing memory pool
Releasing Video Memory
Releasing other Surfaces
Creating Surfaces
DirectX Error [3498]: DirectDraw does not have enough memory to perform the operation.
BackBuffer: Width=1274, Height=738, was created in Video Memory
Creating Sprites
Successfully Created Surfaces
Recreating Video Memory Pool
recreateVideoMemoryPool: Finishing up
Done Recreating Video Memory Pool
Opening C:\Documents and Settings\default\My Documents\20 Miler -  1.gpx
Opening C:\Documents and Settings\default\My Documents\032004.gpx

Ralph McLaughlin

  • Newbie
  • *
  • Posts: 2
    • View Profile
Exception: Access Violation, in Paint
« Reply #5 on: March 29, 2004, 10:43:50 AM »
I installed beta 1.71 and have not seen this problem since. I've play with it quite a bit, new data and old data, it worked well in all respects. The download menu for selecting and saving runs is much better. Thanks.