News:

 

Topic: (Fixed) Fatal Error  (Read 8231 times)

0 Members and 1 Guest are viewing this topic.

  • No avatar
  • Posts: 2103
  • Polygon
December 29, 2014, 10:51:41 am
Hi IStonia,

You appear to of made changes to the size of the "Manipulation Window". On resizing (or hiding) that window (or when adjusting custom windows), I am getting various "Fatal Errors"

Here are 2.

First one, when adjusting custom window:-
(NOTE: This error is possibly due to when changing custom window, the "Manipulation Window" is also resizing)

Code: [Select]
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at SlimDX.Direct3D9.Device.DrawIndexedPrimitives(PrimitiveType primitiveType, Int32 baseVertexIndex, Int32 minimumVertexIndex, Int32 vertexCount, Int32 startIndex, Int32 primitiveCount)
   at DigitalFossil.Character.RenderInRetopoModeWithEffectBuffered(FrameDerived frame, Boolean useEffect, Boolean textured, Single effectAmount, Device deviceIn, Material mtrl, Int32 numVertexIndices, Int32 indexStartPos, Int32 primitiveCount, IndexBuffer ib, VertexBuffer vb, Int32 stride, Boolean isForBackFacing)
   at DigitalFossil.Character.RenderInRetopoModeWithEffectBuffered(FrameDerived frame, Boolean useEffect, Boolean textured, Single effectAmount, Device deviceIn, Material mtrl, Int32 numVertexIndices, Int32 indexStartPos, Int32 primitiveCount, IndexBuffer ib, VertexBuffer vb, Int32 stride)
   at DigitalFossil.Character.DrawMeshContainerInRawData(Device deviceIn, MeshContainerDerived mesh, FrameDerived frame, Boolean drawMaterialWithTransparent, Single effectAmount, Boolean forEdgeRendering, Color edgeColor)
   at DigitalFossil.Character.DrawMeshContainerInRawData(Device deviceIn, MeshContainerDerived mesh, FrameDerived frame, Boolean drawMaterialWithTransparent)
   at DigitalFossil.Character.FrameHierarchyFunction_DrawFrame(FrameDerived frame, Boolean drawMaterialWithTransparent)
   at DigitalFossil.Character.RenderBegin()
   at DigitalFossil.Character.Render()
   at DigitalFossil.BaseGraphicWindow.RenderObjectsInOrder(ArrayList charactersToRender, Boolean solid, Boolean transparent)
   at DigitalFossil.BaseGraphicWindow.RenderObjectsInOrder(Boolean solid, Boolean transparent)
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.RenderObjects()
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.Render()
   at DigitalFossil.BaseGraphicWindow.Render3DEnvironment()
   at DigitalFossil.BaseGraphicWindow.FullRenderDetail(Boolean forced)

2nd, when resizing or hiding "Manipulation Window" (Also seeing this error when changing "Viewport Layout")
Code: [Select]
SlimDX.Direct3D9.Direct3D9Exception: D3DERR_INVALIDCALL: Invalid call (-2005530516)
   at SlimDX.Result.Throw[T](Object dataKey, Object dataValue)
   at SlimDX.Result.Record[T](Int32 hr, Boolean failed, Object dataKey, Object dataValue)
   at SlimDX.Result.Record[T](Int32 hr, Object dataKey, Object dataValue)
   at SlimDX.Direct3D9.Sprite.Begin(SpriteFlags flags)
   at DigitalFossil.SpriteFont.DrawText(Int32 x, Int32 y, Color color, String scoreText, DrawTextFormat drawTextFormat)
   at DigitalFossil.SpriteFont.DrawText(Int32 x, Int32 y, Color color, String scoreText)
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.WorldAxisPoint.Draw(Boolean highlightedIn, Line drawingLine, SpriteFont drawingFont, Vector2 vCenter)
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.RenderWorldSpaceAxis()
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.Render()
   at DigitalFossil.BaseGraphicWindow.Render3DEnvironment()
   at DigitalFossil.BaseGraphicWindow.FullRenderDetail(Boolean forced)[/quote]

There are times I can adjust the size of the "Manipulation Window" without fatal error popup, but the display is no longer functioning/updating.

OS:- Windows 7 -64

« Last Edit: December 29, 2014, 12:01:39 pm by steve »

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
December 29, 2014, 11:50:57 am
I have reupload the file. The function for HUD font scale causes the problem.

  • No avatar
  • Posts: 2103
  • Polygon
December 29, 2014, 12:06:53 pm
The function for HUD font scale causes the problem.

That is a pity. I have been wanting to be able to adjust the HUD font size for a while (my poor old eyes are not what they where LOL).

All the best for the new year.

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
December 29, 2014, 12:20:41 pm

  • No avatar
  • Posts: 2103
  • Polygon
December 29, 2014, 12:31:57 pm
Try this.

No errors showing with that build.
Excellent being able to adjust HUD font size.

Many thanks.