Jump to content

Runtime error!


Devinw188

Recommended Posts

When I got to exit from building my ship, with "B" or "ESC", the game crashes with the "Microsoft Visual C++ Runtime Library

Runtime Error!" message, I for the life of me cannot find a way to fix it, I have tried a clean boot to no avail.

 

Any help is appreciated!

Link to comment
Share on other sites

Thanks for the quick reply! I'm using the steam version. Here's the log, i believe its the right one:

 

Mon Jan 23 13:17:58 2017| Client started: "E:\Steam\steamapps\common\Avorion\bin\Avorion.exe" "--serverpath=bin/AvorionServer.exe"

Mon Jan 23 13:17:58 2017| Client Beta 0.10.1 r7302, running on Windows 8.1+.

Mon Jan 23 13:17:58 2017| CPU: AuthenticAMD 4 Cores

Mon Jan 23 13:17:58 2017| Init Steamworks...Init Steamworks... ok

Mon Jan 23 13:17:58 2017| Init Steamworks ok

Mon Jan 23 13:17:58 2017| Init SDL2... ok

Mon Jan 23 13:17:58 2017| Getting display mode... ok

Mon Jan 23 13:17:58 2017| Current display mode: 1920 x 1080

Mon Jan 23 13:17:58 2017| Creating settings... loading... ok

Mon Jan 23 13:17:58 2017| Creating client window...Detected 1 displays

Mon Jan 23 13:17:58 2017| Display 0: x: 0, y: 0, w: 1920, h: 1080

Mon Jan 23 13:17:58 2017| Using display 0

Mon Jan 23 13:17:58 2017| Creating window, x: 0, y: 0, w: 1920, h: 1080... ok

Mon Jan 23 13:17:59 2017| Creating GL context... ok

Mon Jan 23 13:17:59 2017| Setting window mode FullScreen... ok

Mon Jan 23 13:17:59 2017| Creating client window ok

Mon Jan 23 13:17:59 2017| Init rendering... starting rendering... initialize...OpenGL Context Information:

Mon Jan 23 13:17:59 2017| Version: 4.5

Mon Jan 23 13:17:59 2017| VersionString: 4.5.0 NVIDIA 376.33

Mon Jan 23 13:17:59 2017| Vendor: NVIDIA Corporation

Mon Jan 23 13:17:59 2017| Renderer: GeForce GTX 750/PCIe/SSE2

Mon Jan 23 13:17:59 2017| GLSL Version: 4.50 NVIDIA

Mon Jan 23 13:17:59 2017| Init GLEW... ok

Mon Jan 23 13:17:59 2017| Init Debug Message Callback... ok

Mon Jan 23 13:17:59 2017| Set VSync... ok

Mon Jan 23 13:17:59 2017| Secure BackBuffer... ok

Mon Jan 23 13:17:59 2017| Init Canvas...Create canvas of size 1357 x 763... ok

Mon Jan 23 13:17:59 2017| Init Canvas ok

Mon Jan 23 13:17:59 2017| Init Refraction Texture... ok

Mon Jan 23 13:17:59 2017| Init Post Processing... ok

Mon Jan 23 13:17:59 2017| Init Debug Renderers... ok

Mon Jan 23 13:17:59 2017| Rendering initialized

Mon Jan 23 13:17:59 2017| Init rendering ok

Mon Jan 23 13:17:59 2017| Check problematic drivers... ok

Mon Jan 23 13:17:59 2017| Init shader level... ok

Mon Jan 23 13:17:59 2017| Init loading screen... ok

Mon Jan 23 13:17:59 2017| Draw first loading screen... draw... ok

Mon Jan 23 13:17:59 2017| Init SFX... ok

Mon Jan 23 13:17:59 2017| Init Input... ok

Mon Jan 23 13:17:59 2017| Init GameInput... ok

Mon Jan 23 13:17:59 2017| Init Main Menu... ok

Mon Jan 23 13:18:00 2017| Init Music... ok

Mon Jan 23 13:18:00 2017| Apply loaded settings... ok

Mon Jan 23 13:18:00 2017| Client initialized

Mon Jan 23 13:18:00 2017| Received stats and achievements from Steam

Mon Jan 23 13:18:15 2017| Starting server 'bin/AvorionServer.exe' with arguments '--galaxy-name First Game --server-name Devinw188's Server --port 27000 --public 0 --listed 0 --exit-on-last-admin-logout --admin 76561198057564322 --use-steam-networking 1 --threads 3 '

Mon Jan 23 13:18:16 2017| Waiting for Online polling threads

Mon Jan 23 13:18:16 2017| Online polling threads finished

Mon Jan 23 13:18:16 2017| Waiting for LAN polling threads

Mon Jan 23 13:18:16 2017| LAN polling threads finished

Mon Jan 23 13:18:16 2017| remote address: ip, init: steam

Mon Jan 23 13:18:16 2017| Connecting to server at 127.0.0.1:27000

Mon Jan 23 13:18:16 2017| Client UDP: Error receiving from 127.0.0.1, error: An existing connection was forcibly closed by the remote host, received bytes: 0

Mon Jan 23 13:18:21 2017| Initiating connection with server ID 90106455647266818

Mon Jan 23 13:18:25 2017| Querying for an authentication session ticket

Mon Jan 23 13:18:25 2017| Authentication successful!

Mon Jan 23 13:18:31 2017| <Server> Player Devinw188 joined the galaxy

Mon Jan 23 13:18:48 2017|

Link to comment
Share on other sites

I encountered the exact same issue, and likewise found that dumping the galaxy and creating a new one fixed it (same settings).

 

After poking through the logs (the last attempt did actually generated a useful line before the CTD) I think I found the problem.

 

Ship names are saved to an XML file with the name of the ship.

The crash appears to be happening when the ship is saved.

Quotation marks in the ship name cause the problem for me consistently.

Quotation marks are also an invalid character for file names...  ;)

 

It's also possible the quotation marks are messing up the parser involved in saving the ship, depending on how you are searching it.

Suggestion:  Parse out characters that would be invalid (in either supported OS) and don't allow them in ship names.

Link to comment
Share on other sites

The file system (for both platforms) should be able to handle that, suggesting it is the save routine that doesn't like it.

 

I did pop a bug report onto the forum about it.

 

Also, that's an awful lot of puns you put in that one line there...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...