question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`3D Map` in route finder crashes

See original GitHub issue

Description

After determining a route using the route finder, I clicked 3D Map. That caused the issue as near I can tell.

Additional Information

Graphic card: GTX 980 Driver: 390.77

Exception Details:

EDDiscovery v9.0.4.0 An unhandled fatal exception has occurred.

==== BEGIN ====
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
  at OpenTK.Platform.SDL2.SDL.GL.CreateContext(IntPtr window)
  at OpenTK.Platform.SDL2.Sdl2GraphicsContext..ctor(GraphicsMode mode, IWindowInfo win, IGraphicsContext shareContext, Int32 major, Int32 minor, GraphicsContextFlags flags)
  at OpenTK.Platform.SDL2.Sdl2Factory.CreateGLContext(GraphicsMode mode, IWindowInfo window, IGraphicsContext shareContext, Boolean directRendering, Int32 major, Int32 minor, GraphicsContextFlags flags)
  at OpenTK.Graphics.GraphicsContext..ctor(GraphicsMode mode, IWindowInfo window, Int32 major, Int32 minor, GraphicsContextFlags flags)
  at OpenTK.Sdl2GLControl.CreateContext(Int32 major, Int32 minor, GraphicsContextFlags flags)
  at OpenTK.GLControl.OnHandleCreated(EventArgs e)
  at System.Windows.Forms.Control.WmCreate(Message& m)
  at System.Windows.Forms.Control.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
===== END =====

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
klightspeedcommented, Feb 21, 2018

Confirmed exception by dropping the appropriate bitness SDL2.dll from https://www.libsdl.org/download-2.0.php into the executable’s directory.

We need to add Backend = PlatformBackend.PreferNative to the toolkit options at https://github.com/EDDiscovery/EDDiscovery/blob/master/EDDiscovery/Program.cs#L38

0reactions
klightspeedcommented, Feb 21, 2018

Thinking about it, that fix may also fix the 3D map crash I saw ages ago on Linux.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix Maps when it crashes - Android
If the Google Maps app on your phone or tablet crashes or has other issues that affect your experience on Maps, try the...
Read more >
Finder crashes when copying from one exte…
Finder crashes when copying from one external HD to another and when moving folders around and renaming them. I've come to the end...
Read more >
How to fix Map App (Crashes on Windows 10)?
I am here to work with you on this problem. Try following and check after each step 1. Reset Maps app. Right click...
Read more >
Google Maps constantly crashing : r/ios
I'm using an 11 Pro Max, with the latest iOS 15.3 and my Google maps keeps freezing and crashing. It constantly crashes especially...
Read more >
Ford Pass mapping keeps crashing
I tried to map an upcoming trip Today on the Ford Pass app and it crashed. I closed the app and tried again...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found