Jump to content

Continuous acces violations when reverting to hangar


Recommended Posts

So my KSP crashes quite a lot (about 25% of the time) when I revert to the hangar, logs below. Thanks for any help in advance.

Spoiler

Kerbal Space Program [version: Unity 2017.1.3p1 (02d73f71d3bd)]

KSP_x64.exe caused an Access Violation (0xc0000005)
  in module KSP_x64.exe at 0033:d7bc0ded.

Error occurred at 2019-08-27_180502.
C:\Kerbal Space Program\KSP_x64.exe, run by HB Stratos.
53% memory in use.
16334 MB physical memory [7656 MB free].
30158 MB paging file [13536 MB free].
134217728 MB user address space [134172640 MB free].
Read from location 00000008 caused an access violation.

Context:
RDI:    0x00000010  RSI: 0x03c31d90  RAX:   0x00000000
RBX:    0x00000001  RCX: 0x00000000  RDX:   0x032e3060
RIP:    0xd7bc0ded  RBP: 0x00aff790  SegCs: 0x00000033
EFlags: 0x00010246  RSP: 0x00aff5f0  SegSs: 0x0000002b
R8:    0x00000000  R9: 0x00aff7d8  R10:   0xffffffff
R11:    0x00aff5e0  R12: 0x00000002  R13:   0xd8b53601
R14:    0x00024fdc  R15: 0x00031a4f

Bytes at CS:EIP:
8b 48 08 41 8d 50 01 89 8c 24 c0 00 00 00 48 8d 

Stack:
0x00aff5f0: 00000000 00000000 00aff790 00000000 ................
0x00aff600: 03c31d90 00000000 d78eada6 00007ff6 ................
0x00aff610: d878723c 00007ff6 0000004e 00000000 <rx.....N.......
0x00aff620: 00031a4f 00000000 d7862cb5 00007ff6 O........,......
0x00aff630: 00000000 00000000 d878723c 00007ff6 ........<rx.....
0x00aff640: 0002103d 00000000 0002103d 00000000 =.......=.......
0x00aff650: 86735440 00000000 d7bb4b6b 00007ff6 @Ts.....kK......
0x00aff660: 00aff790 00000000 00aff790 00000000 ................
0x00aff670: d8b53001 00007ff6 d7d506ff 00007ff6 .0..............
0x00aff680: c3455e5a 00000253 00000010 00000000 Z^E.S...........
0x00aff690: d8b53601 00007ff6 03c31d90 00000000 .6..............
0x00aff6a0: d8b53001 00007ff6 d7bc4de7 00007ff6 .0.......M......
0x00aff6b0: c347ae37 00000001 c347ae37 00000253 7.G.....7.G.S...
0x00aff6c0: 00aff7b0 00000000 03c31d90 00000000 ................
0x00aff6d0: 877ee350 00000000 05f385e0 00000000 P.~.............
0x00aff6e0: 8797c5d0 00000000 d77976ea 00007ff6 .........vy.....
0x00aff6f0: d8b6f700 00007ff6 7267d540 00000000 ........@.gr....
0x00aff700: 02fd3710 00000000 00060a9e 00000000 .7..............
0x00aff710: d8b6f930 00007ff6 d77979f7 00007ff6 0........yy.....
0x00aff720: d8b6f7d0 00007ff6 8797c5d0 00000000 ................
0x00aff730: 00000002 00000000 0386a8e0 00000000 ................
0x00aff740: 8797c5d0 00000000 d7f56c9e 00007ff6 .........l......
0x00aff750: d8b6cf30 00007ff6 826fe3b0 00000001 0.........o.....
0x00aff760: 00000002 00000000 826fe3e8 00000001 ..........o.....
0x00aff770: 826fe3e8 00000001 d803c6b9 00007ff6 ..o.............
0x00aff780: 00aff8b0 00000000 877ee350 00000000 ........P.~.....
0x00aff790: 86525070 00000000 00000001 00000000 pPR.............
0x00aff7a0: 0002103e 00000000 00031a4f 00000000 >.......O.......
0x00aff7b0: 829a69e0 00000001 00000044 00007ff6 .i......D.......
0x00aff7c0: 0000f140 00000000 00031a4f 00000000 @.......O.......
0x00aff7d0: 00000010 00000000 d80ba489 00007ff6 ................
0x00aff7e0: 00000000 00000000 000c0101 fffffffe ................
0x00aff7f0: 00000000 ffffffff 00000000 0000016c ............l...
0x00aff800: cbcff070 00000001 00100000 00000000 p...............
0x00aff810: 00000000 00000000 00033333 00000000 ........33......
0x00aff820: 00080000 00000000 00000000 00000000 ................
0x00aff830: 00031a4f 00007201 d77977c1 00007ff6 O....r...wy.....
0x00aff840: 00000000 00000000 00000000 00000000 ................
0x00aff850: 00000000 00000000 00000000 00000000 ................
0x00aff860: 00000000 00000000 00000000 00000000 ................
0x00aff870: 00000000 00000000 00000000 00000000 ................
0x00aff880: 00000000 00000000 00000000 00000000 ................
0x00aff890: 00000000 00000000 00000000 00000000 ................
0x00aff8a0: 00000000 00000000 00000000 00000000 ................
0x00aff8b0: 00000000 00000000 00000010 00000000 ................
0x00aff8c0: d8b53601 00007ff6 00000002 00000000 .6..............
0x00aff8d0: 826fe5c0 00000001 d7d4cb92 00007ff6 ..o.............
0x00aff8e0: 826fe5c0 00000001 c3455e56 00000253 ..o.....V^E.S...
0x00aff8f0: 03c31d90 00000000 d8b53001 00007ff6 .........0......
0x00aff900: c3455e51 00000253 d7d4ec5c 00007ff6 Q^E.S...\.......
0x00aff910: c3455e51 00000253 826fe5c0 00000001 Q^E.S.....o.....
0x00aff920: c3455e51 00000253 03c31d90 00000000 Q^E.S...........
0x00aff930: 00000048 00000000 00000001 00000000 H...............
0x00aff940: 00000000 00000000 00000000 00000000 ................
0x00aff950: 00000000 00000000 00000000 00000000 ................
0x00aff960: 00000000 00000000 00000000 00000000 ................
0x00aff970: d8b53628 00007ff6 00000002 00000000 (6..............
0x00aff980: 03c31d90 00000000 00000000 00000000 ................
0x00aff990: 00000af4 00000000 d7d4ed9c 00007ff6 ................
0x00aff9a0: 00000000 00000000 00affc01 00000000 ................
0x00aff9b0: d8b53001 00007ff6 00000000 00000000 .0..............
0x00aff9c0: 00000001 00000000 d7670000 00007ff6 ..........g.....
0x00aff9d0: 00000002 00000000 d7d4eee6 00007ff6 ................
0x00aff9e0: 00000af4 00000000 00affc01 00000000 ................
0x00aff9f0: 03c31d90 00000000 00000000 00000000 ................
0x00affa00: 00000000 00000000 00000000 00000000 ................
0x00affa10: 00000000 00000000 d7bb0149 00007ff6 ........I.......
0x00affa20: 00000af4 00000000 00000af4 00000000 ................
0x00affa30: 00affc10 00000000 00000000 00000000 ................
0x00affa40: 00000af4 00000000 00000000 00000000 ................
0x00affa50: 00000000 00000000 00000000 00000000 ................
0x00affa60: 00000000 00000000 d770f40b 00007ff6 ..........p.....
0x00affa70: 00000000 00000000 00000000 00000000 ................
0x00affa80: 00000000 00000000 00000000 00000000 ................
0x00affa90: 00000246 00000000 d770f5ba 00007ff6 F.........p.....
0x00affaa0: 00000af4 00000000 0000270c 00000000 .........'......
0x00affab0: 00affc10 00000000 00000000 00000000 ................
0x00affac0: 00000001 00007ff6 0000000b 00000000 ................
0x00affad0: 00401366 00000000 00000104 00000000 f.@.............
0x00affae0: 00000012 00000000 20380001 00000000 ..........8 ....
0x00affaf0: 0f405b13 00000397 00000234 00000000 .[@.....4.......
0x00affb00: 00000000 00000000 d77206d3 00007ff6 ..........r.....
0x00affb10: 00000004 00000000 00affc10 00000000 ................
0x00affb20: 00000000 00000000 00000000 00000000 ................
0x00affb30: 00000000 00000000 00000000 00000000 ................
0x00affb40: 0000001d 00000000 00000000 00000000 ................
0x00affb50: 00000000 00008227 00000000 00000000 ....'...........
0x00affb60: 65726170 5748746e d800444e 00007ff6 parentHWND......
0x00affb70: 0000000a 00000000 00000042 00000000 ........B.......
0x00affb80: 00000000 00000000 65646968 646e6957 ........hideWind
0x00affb90: 0000776f 00000000 0000000a 00000000 ow..............
0x00affba0: 00000042 00000000 00000000 00000000 B...............
0x00affbb0: 02ca23d0 00000000 00000438 00000000 .#......8.......
0x00affbc0: 00000780 00000000 02dd3790 00000000 .........7......
0x00affbd0: 00000030 00000000 02c91de0 00000000 0...............
0x00affbe0: 00000030 00000000 00000042 00000000 0.......B.......
0x00affbf0: 02de4be0 00000000 02de4c08 00000000 .K.......L......
0x00affc00: 02de4c08 00000000 68747541 69746e65 .L......Authenti
0x00affc10: 02de4c10 00000000 00000024 00000000 .L......$.......
0x00affc20: 00affbf8 00000000 00000024 00000000 ........$.......
0x00affc30: 00000042 00000000 02de4bb0 00000000 B........K......
0x00affc40: 0000002c 00000000 00000000 00000001 ,...............
0x00affc50: 0000002c 00000000 00000042 00007ff9 ,.......B.......
0x00affc60: 02dd6730 00000000 00000014 00000000 0g..............
0x00affc70: 72657961 00008200 00000014 00000000 ayer............
0x00affc80: 00000042 00000000 02dd6750 00000000 B.......Pg......
0x00affc90: 00000012 00000000 02c90860 00000000 ........`.......
0x00affca0: 00000005 00000000 00000042 00000000 ........B.......
0x00affcb0: 02de4b80 00000000 00000029 00000000 .K......).......
0x00affcc0: 00affd40 00000000 00000029 00000000 @.......).......
0x00affcd0: 00000042 00000000 02dd3790 00000000 B........7......
0x00affce0: 0000003f 00000000 d871fa67 00007ff6 ?.......g.q.....
0x00affcf0: 0000003f 00000000 00000042 00007ff6 ?.......B.......
0x00affd00: 02de4bb0 00000000 0000002e 00000000 .K..............
0x00affd10: 00000022 00000000 0000002d 00000000 ".......-.......
0x00affd20: 00000042 00000000 02dcf940 00000000 B.......@.......
0x00affd30: 0000004e 00000000 d871ca85 00007ff6 N.........q.....
0x00affd40: 0000004e 00000000 00000042 00000000 N.......B.......
0x00affd50: 02c90860 00000000 d8786d01 00007ff6 `........mx.....
0x00affd60: 00000000 00000000 d87369ee 00007ff6 .........is.....
0x00affd70: 00b736f4 00000000 00000000 00000000 .6..............
0x00affd80: 00000000 00000000 00000000 00000000 ................
0x00affd90: 00000000 00000000 d8724650 00007ff6 ........PFr.....
0x00affda0: 00000000 00000000 00000000 00000000 ................
0x00affdb0: d7670000 00007ff6 00000000 00000000 ..g.............
0x00affdc0: 00000000 00000000 00000000 00000000 ................
0x00affdd0: 00000068 00000000 00b7271e 00000000 h........'......
0x00affde0: 00b726fe 00000000 00b72620 00000000 .&...... &......
0x00affdf0: 00000000 00000000 00000000 00000000 ................
0x00affe00: 00000000 00000000 00000000 00000c01 ................
0x00affe10: 00000001 00000000 00000000 00000000 ................
0x00affe20: 00000000 00000000 00010001 00000000 ................
0x00affe30: 00000000 00000000 00000000 00000000 ................
0x00affe40: 00000000 00000000 ff147bd4 00007ff9 .........{......
0x00affe50: 00000000 00000000 00000000 00000000 ................
0x00affe60: 00000000 00000000 00000000 00000000 ................
0x00affe70: 00000000 00000000 0010ce71 00007ffa ........q.......
0x00affe80: 00000000 00000000 00000000 00000000 ................
0x00affe90: 00000000 00000000 00000000 00000000 ................
0x00affea0: 00000000 00000000 00000000 00000000 ................
0x00affeb0: 00000000 b51490ce 00000000 00000000 ................
0x00affec0: 00000000 00000000 fda0f9e0 00007ff9 ................
0x00affed0: 00afe740 00000000 ffe522d1 a4b80001 @........"......
0x00affee0: 48b4692e 00007ff9 00afe740 00000000 .i.H....@.......
0x00affef0: 00000000 00000000 00000000 00000000 ................
0x00afff00: 00000000 00000000 00000000 00000000 ................
0x00afff10: 00000000 00000000 00000000 00000000 ................
0x00afff20: 00000000 00000000 00000000 00000000 ................
0x00afff30: 00000000 00000000 00000000 00000000 ................
0x00afff40: 00000000 00000000 00000000 00000000 ................
0x00afff50: 00000000 00000000 00000000 00000000 ................
0x00afff60: 00000000 00000000 00000000 00000000 ................
0x00afff70: 00000000 00000000 00000000 00000000 ................
0x00afff80: 00000000 00000000 00000000 00000000 ................
0x00afff90: 00000000 00000000 00000000 00000000 ................
0x00afffa0: 00000000 00000000 00000000 00000000 ................
0x00afffb0: 00000000 00000000 00000000 00000000 ................
0x00afffc0: 00000000 00000000 00000000 00000000 ................
0x00afffd0: 00000000 00000000 00000000 00000000 ................
0x00afffe0: 00000000 00000000 00000000 00000000 ................
0x00affff0: 00000000 00000000 00000000 00000000 ................

Module 1
C:\Windows\SYSTEM32\xinput1_3.dll
Image Base: 0x00400000  Image Size: 0x0001e000
File Size:  107368      File Time:  2007-04-04_185422
Version:
   Company:    Microsoft Corporation
   Product:    Microsoft® DirectX for Windows®
   FileDesc:   Microsoft Common Controller API
   FileVer:    9.18.944.0
   ProdVer:    9.18.944.0

Module 2
C:\Program Files\Bonjour\mdnsNSP.dll
Image Base: 0x23ad0000  Image Size: 0x00026000
File Size:  132968      File Time:  2011-08-30_230532
Version:
   Company:    Apple Inc.
   Product:    Bonjour
   FileDesc:   Bonjour Namespace Provider
   FileVer:    3.0.0.10
   ProdVer:    3.0.0.10

Module 3
C:\Kerbal Space Program\KSP_x64_Data\Plugins\steam_api64.dll
Image Base: 0x23b70000  Image Size: 0x00041000
File Size:  249120      File Time:  2018-12-18_081236
Version:
   Company:    Valve Corporation
   Product:    Steam Client API
   FileDesc:   Steam Client API
   FileVer:    4.4.91.85
   ProdVer:    1.0.0.1


== [end of error.log] ==
 

Download of error.log and crash.dmp:

https://cdn.discordapp.com/attachments/439724558518583316/615940843735351316/error.log
https://cdn.discordapp.com/attachments/439724558518583316/615940844427411489/crash.dmp

Link to comment
Share on other sites

WinDebug says:  Access violation - code c0000005

So it's a classic access violation (or General Protection Fault)

Something (=KSP) tried to access memory at an address it wasn't allowed to access.

Doh... one of the most common and hard-to-track errors :( 

Long story short, one of the most common causes for that crappy message is something being wrong with your Windows profile (other reasons: something is wrong with your Windows installation, software, and a 1000 other reasons)

To check: try making a new user account and start KSP from that.

If that helps: profile problem

If not: further investigation required

Edited by VoidSquid
Link to comment
Share on other sites

Ideally one would have the so called symbols for the exe and any dll's, then the debugger can tell you what caused that access violation. Such analysis though costs a lot of time and quite often leads to no practical usable results. In your case, WinDebug gave me:

Spoiler

(3c48.4788): Access violation - code c0000005 (first/second chance not available)
ntdll!NtGetContextThread+0x14:
00007ffa`0013ddf4 c3              ret
0:000> .ecxr.
Unable to load image C:\Kerbal Space Program\KSP_x64.exe, Win32 error 0n2
*** WARNING: Unable to verify timestamp for KSP_x64.exe
*** ERROR: Module load completed but symbols could not be loaded for KSP_x64.exe
rax=0000000000000000 rbx=0000000000000001 rcx=0000000000000000
rdx=00000000032e3060 rsi=0000000003c31d90 rdi=0000000000000010
rip=00007ff6d7bc0ded rsp=0000000000aff5f0 rbp=0000000000aff790
 r8=0000000000000000  r9=0000000000aff7d8 r10=00000000ffffffff
r11=0000000000aff5e0 r12=0000000000000002 r13=00007ff6d8b53601
r14=0000000000024fdc r15=0000000000031a4f
iopl=0         nv up ei pl zr na po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010246
KSP_x64+0x550ded:
00007ff6`d7bc0ded 8b4808          mov     ecx,dword ptr [rax+8] ds:00000000`00000008=????????
 

Not easy to understand, if you're not a programmer... and I'm just a simple administrator myself, knowing only the very basics about debugging ;) 

What I can see here is that a function call NtGetContextThread to the ntdll.dll failed, the ntdll.dll is a core Windows library and is 99+% not to blame, usually this is caused by either a bad user profile, or bad drivers (graphics driver are most common here), or a bad application module.

Go figure... yeah, this stuff sucks :D 

 

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...