Author Topic: Access Violation in paint  (Read 7249 times)

slc_tracker

  • Newbie
  • *
  • Posts: 3
    • View Profile
Access Violation in paint
« on: April 23, 2004, 01:02:08 PM »
Right at startup I am getting this

Caught Exception:
 Function: Paint
 Exception: Access Violation


it happens a few times and then says it is stoppiong logging.  After that everything seems to work except there is no map.  I just down loaded this and want to give it a try.

This is on Win XP.

here is more of the log file
==========================
<snip>
Initializing Winsock
Initializing Threads
Initializing Index File
Initialization Complete

readTrack_GPX returned 0

Caught Exception:
 Function: Paint
 Exception: Access Violation


Caught Exception:
 Function: Paint
 Exception: Access Violation

readTrack_GPX returned 0

Caught Exception:
 Function: Paint
 Exception: Access Violation

========== end of file ====================

Alan

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 165
    • View Profile
Access Violation in paint
« Reply #1 on: April 23, 2004, 01:59:38 PM »
This is in 2.0, right?  Could you send the full log file (specifically the top part so we know what video card you're using, etc) to support@topofusion.com.  Does it give you these exceptions right off the bat when you load it up?  If not, is there anything specific that seems to cause it to give them (viewing a track, for example).

slc_tracker

  • Newbie
  • *
  • Posts: 3
    • View Profile
Access Violation in paint
« Reply #2 on: April 23, 2004, 02:46:42 PM »
Thanks for the quick reply

This is version 2.0  I downloaded it today.  It throws the exception while the splash screen is still there.  Then when the app comes up I see downloading disabled in the background.  If I try to toggle the view status map button the backgound changes to downloading and never comes up.  


This is on an HP laptop.  I could check with the vendor if there are any video driver updates.  I have not done this in a few months.  Is this using ActiveX?

I this log file it gave me more paint errors when I tried to zoom the map.


Here is the full log.


TopoFusion 2.00 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 = 32
Color Info : Sizes : R=8, G=8, B=8
Color Info : Shifts : R=16, G=8, B=0
DirectDraw : Driver "ATI MOBILITY RADEON 9600 Series " (ati2dvag.dll)
DirectDraw : Total Video Memory : 29609984
DirectDraw : Free Video Memory : 29609984
DirectDraw : Hardware supports blits
DirectDraw : Hardware supports 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=874, Height=475, was created in Video Memory
Creating Sprites
Successfully Created Surfaces
Initializing Memory Pool
Total Physical Memory: 1073070080
Physical Memory Free: 658669568
Memory Load: 38 percent
Tile Cache Size = 801
801 surfaces created in (local) video memory
0 surfaces created in system memory
Initializing Winsock
Initializing Threads
Initializing Index File
Initialization Complete

readTrack_GPX returned 0
readTrack_GPX returned 0
CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

CopyJpegToSurface: DDCopyBitmap failed

Caught Exception:
 Function: Paint
 Exception: Access Violation

Alan

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 165
    • View Profile
Access Violation in paint
« Reply #3 on: April 23, 2004, 04:16:33 PM »
Ok, I believe I see what the problem is, we'll try to release a fixed version soon.

Thanks for pointing this out

Alan

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 165
    • View Profile
Access Violation in paint
« Reply #4 on: April 24, 2004, 01:39:15 PM »
We just put up 2.01 which should fix this problem.  Please try it out and report back whether it works now or not.

Thanks.

slc_tracker

  • Newbie
  • *
  • Posts: 3
    • View Profile
Access Violation in paint
« Reply #5 on: April 27, 2004, 08:42:37 AM »
Cool that fixed it.  Nice work and good support.

Thanks,
James

  • Guest
Access Violation in paint
« Reply #6 on: June 15, 2004, 05:09:51 PM »
Try this:
Start TopoFusion
Add one file with a track
Make it active and make a network, go with the default file name and location.

This works

Now remove the just created file/network
Make the original file active
Make a network, again

bingo!

Log is included below, A gpx file(s) with ofending tracks available on request




TopoFusion 2.01 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 = 32
Color Info : Sizes : R=8, G=8, B=8
Color Info : Shifts : R=16, G=8, B=0
DirectDraw : Driver "Dell 8100" (nv4_disp.dll)
DirectDraw : Total Video Memory : 7864320
DirectDraw : Free Video Memory : 7555072
DirectDraw : Hardware supports blits
DirectDraw : Hardware supports 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=186, Height=363, was created in Video Memory
Creating Sprites
Successfully Created Surfaces
Initializing Memory Pool
Total Physical Memory: 267870208
Physical Memory Free: 55439360
Memory Load: 79 percent
Tile Cache Size = 101
30 surfaces created in (local) video memory
71 surfaces created in system memory
Initializing Winsock
Initializing Threads
Initializing Index File
Initialization Complete

Releasing other Surfaces
Creating Surfaces
DirectX Error [3519]: DirectDraw does not have enough memory to perform the operation.
BackBuffer: Width=1594, Height=929, was created in Video Memory
Creating Sprites
Successfully Created Surfaces
recreateVideoMemoryPool: Finishing up

Caught Exception:
 Function: ManagerThread (Network)
 Exception: Access Violation


Caught Exception:
 Function: Paint
 Exception: Access Violation

DirectX Error [2277]: Access to this surface is being refused because the surface is already locked by another thread.

Krein

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 1203
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Access Violation in paint
« Reply #7 on: June 16, 2004, 01:30:33 PM »
I have tried this several times with different tracks but have not been able to get it to crash.

Can you send one of your files that you know it crashes on to smorris@topofusion.com ?

Thanks!