Elvas Tower: OR0.9 & X1680 Error: System.AccessViolationException: - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

OR0.9 & X1680 Error: System.AccessViolationException: Rate Topic: -----

#1 User is offline   Alle 

  • Apprentice
  • Group: Status: Switchman
  • Posts: 17
  • Joined: 04-February 13
  • Gender:Male
  • Location:Modena, Italy.
  • Simulator:RW, OR, Trainz
  • Country:

Posted 25 July 2013 - 05:52 PM

Hi!
I have this problem meanwhile use the dispatcher window:

Error: System.AccessViolationException: Tentativo di lettura o scrittura della memoria protetta. Spesso questa condizione indica che altre parti della memoria sono danneggiate.
   in ORTS.WorldFile.PrepareFrame(RenderFrame frame, ElapsedTime elapsedTime)
   in ORTS.SceneryDrawer.PrepareFrame(RenderFrame frame, ElapsedTime elapsedTime)
   in ORTS.World.PrepareFrame(RenderFrame frame, ElapsedTime elapsedTime)
   in ORTS.Viewer3D.Update(Single elapsedRealTime, RenderFrame frame)
   in ORTS.UpdaterProcess.Update()
   in ORTS.UpdaterProcess.DoUpdate()
   in ORTS.UpdaterProcess.UpdaterThread()
   in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   in System.Threading.ExecutionContext.runTryCode(Object userData)
   in System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   in System.Threading.ThreadHelper.ThreadStart()


Error: System.AccessViolationException: Tentativo di lettura o scrittura della memoria protetta. Spesso questa condizione indica che altre parti della memoria sono danneggiate.
   in Microsoft.Xna.Framework.Graphics.GraphicsDevice.set_VertexDeclaration(VertexDeclaration value)
   in ORTS.ShapePrimitive.Draw(GraphicsDevice graphicsDevice)
   in ORTS.SceneryMaterial.Render(GraphicsDevice graphicsDevice, IEnumerable`1 renderItems, Matrix& XNAViewMatrix, Matrix& XNAProjectionMatrix)
   in ORTS.RenderFrame.DrawSequences(GraphicsDevice graphicsDevice, Boolean logging)
   in ORTS.RenderFrame.DrawSimple(GraphicsDevice graphicsDevice, Boolean logging)
   in ORTS.RenderFrame.Draw(GraphicsDevice graphicsDevice)
   in ORTS.RenderProcess.Draw()
   in ORTS.RenderProcess.Draw(GameTime gameTime)
   in Microsoft.Xna.Framework.Game.DrawFrame()
   in Microsoft.Xna.Framework.Game.Tick()
   in Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
   in Microsoft.Xna.Framework.GameHost.OnIdle()
   in Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
   in System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   in System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
   in System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   in System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   in System.Windows.Forms.Application.Run(Form mainForm)
   in Microsoft.Xna.Framework.WindowsGameHost.Run()
   in Microsoft.Xna.Framework.Game.Run()
   in ORTS.Viewer3D.Run(BinaryReader inf)
   in ORTS.Program.Start(UserSettings settings, String[] args)
   in ORTS.Program.<>c__DisplayClass6.<Main>b__3()
   in ORTS.Program.Main(String[] args)


This problem happened on the ultimate version OR 0.9.0 and ultimate experimental version. Why do this? something has to do NET Frameworks?
However, i attached the ORLog.

Cheers from Italy. Alex.

Attached File(s)


This post has been edited by Alle: 25 July 2013 - 05:54 PM


#2 User is offline   Alle 

  • Apprentice
  • Group: Status: Switchman
  • Posts: 17
  • Joined: 04-February 13
  • Gender:Male
  • Location:Modena, Italy.
  • Simulator:RW, OR, Trainz
  • Country:

Posted 22 August 2013 - 01:00 PM

This is a example of the bug: :(

Attached Image: ORErrorJIT.JPG

I do not know what I can do. With this problem, i can not change switches in explore route.

Regards, Alex.

#3 User is offline   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,491
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 23 August 2013 - 02:26 PM

View PostAlle, on 22 August 2013 - 01:00 PM, said:

I do not know what I can do. With this problem, i can not change switches in explore route.


My advice is to disable the dispatcher window and to use Manual Mode for the signalling (press Control-M with the train stopped - check the Track Monitor/F4 window for which mode you're in). That should give you full control with G/Shift-G and Alt-click.

#4 User is offline   captain_bazza 

  • Chairman, Board of Directors
  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 13,927
  • Joined: 21-February 06
  • Gender:Male
  • Location:Way, way, way, South
  • Simulator:MSTS & OR
  • Country:

Posted 23 August 2013 - 05:00 PM

Not forgetting the display state of the locomotive in the background?

Cheers Bazza

#5 User is offline   Alle 

  • Apprentice
  • Group: Status: Switchman
  • Posts: 17
  • Joined: 04-February 13
  • Gender:Male
  • Location:Modena, Italy.
  • Simulator:RW, OR, Trainz
  • Country:

Posted 29 August 2013 - 08:59 AM

@James: I tried to do, but in explore route is not possible (only with dispatch, yes can do).

@Bazza: There is a "problem" the antialising options (i have a AMD Radeon card).

#6 User is offline   roeter 

  • Vice President
  • Group: Status: Elite Member
  • Posts: 2,426
  • Joined: 25-October 11
  • Gender:Male
  • Country:

Posted 29 August 2013 - 12:35 PM

In Explorer mode, you can not switch to Manual, but you should be able to set all switches ahead of or behind the train. If G or Shift-G does not work, you can try Alt+left-mouse click. Just tested it and works fine for me.

#7 User is offline   captain_bazza 

  • Chairman, Board of Directors
  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 13,927
  • Joined: 21-February 06
  • Gender:Male
  • Location:Way, way, way, South
  • Simulator:MSTS & OR
  • Country:

Posted 29 August 2013 - 07:59 PM

Quote

@Bazza: There is a "problem" the antialising options (i have a AMD Radeon card).

Precisely why I changed over the NVIDIA cards.

Quote

If G or Shift-G does not work, you can try Alt+left-mouse click. Just tested it and works fine for me.

@roeter, thanks, that's useful to know.

Cheers Bazza

#8 User is offline   Alle 

  • Apprentice
  • Group: Status: Switchman
  • Posts: 17
  • Joined: 04-February 13
  • Gender:Male
  • Location:Modena, Italy.
  • Simulator:RW, OR, Trainz
  • Country:

Posted 31 August 2013 - 10:08 AM

Confirm, it works.
But, this option, is useful up to a certain point, is not possible solved the my problem the error System.AccessViolationException, on the Dispatch? ;)

#9 User is offline   Alle 

  • Apprentice
  • Group: Status: Switchman
  • Posts: 17
  • Joined: 04-February 13
  • Gender:Male
  • Location:Modena, Italy.
  • Simulator:RW, OR, Trainz
  • Country:

Posted 10 April 2014 - 08:08 AM

Hi everyone, i understood why happens such problem!! :)
This problem, happen while if you have two monitors (in my case, i have two monitor).
Probably, OR, doesn't read game windowed with dispatcher viewer.
I tried to change option from windowed to a full screen. In the first monitor, the game, a full screen, and in the second, the dispatcher.
And by doing so, it works! Not appear more usual message then before (the message: system.accessviolationexception). :cheers3:

In my opinion, a check should be done about it on because when you use windowed mode, and with the dispatcher activated, the game crashes with the error "Attempted to read or write protected memory", while, if I use on full screen (always with dispatcher active), this problem doesn't appear? (in case of dual monitors, of course)

Regards. :good2:

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users