Jump to content

Game crash when switching from game to vab/sph or when attempting a docking maneuver


Recommended Posts

After a few quick tests on my part this issue seems to be specific to my save file. When I create a new game, I can rapidly go from game to/fom van to/from game to/from sph. So that being said:

Steps that lead to event that causes the game to crash:

1. Load game, enter VAB/SPH (doesn't matter which)

2. Load vehicle into game (adjusting craft or not)

3. Launch vehicle (or not)

4. Return to VAB/SPH

5. Crash to desktop, 'send to apple' report generated

I'd also note that for step 2, if I do make changes to the craft, the things I changed do not persist when I relaunch the game, as if the game didn't bother saving the craft changes (this doesn't happen 100% of the time and I haven't seen a pattern. Could be a feature that I'm just not understanding). I'm wondering if this might have something to do with the crashes, that the game is expecting a part to be on the ship but it isn't there.

Steps that lead to event that causes game to freeze (no crash report generated, KSP.log doesn't look odd to me but it's not like I really know, it does say something about not bothering to save debris right before freeze.)

1. Load game, enter VAB/SPH (doesn't matter which)

2. Load vehicle into game (adjusting craft or not)

3. Launch craft

4. Rendezvous another craft in orbit

5. Approach target to dock

In this case, again it will just freeze and i'm forced to command-tab to desktop and force quit.

One of these two events happens for every flight, every time. Now, as I said, this seems to only affect one particular save file from some quick tests, so it's not game breaking in a literal sense. But, this could be my second persistence file loss since I bought the game (first time was a drive wipe :( ) so i'd rather try to avoid that.

Plugins:

1. BoulderCo CityLights/Clouds

2. Environmental Enhancements

3. MechJeb2

4. ModuleManager 2.5.0

5. NavyFish DockingPortAlignment

6. ProceduralFairings

7. SCANSat

8. TachFuelBalancer

9. TriggerTech Kerbal Alarm Clock.

hey thanks!

Edited by ThreeWholePunch
Link to comment
Share on other sites

  • 4 weeks later...

Hey, thanks Master Tao.

I figured out the docking port freeze, that was the DockingPortAlignment mod. I'll look into that later but before then I want to figure out what is causing the program to crash when switching to VAB. Actually, it's not just to VAB but any scene change is at a high risk of crashing. I'm at the point where I now expect a crash after every other scene change. I've also noted that the game sometimes freezes at an auto-save point, but for now i'll assume that's a separate issue.

About my setup:

I'm on a Mac book pro 2012 (last model before retina), latest OS X, 8GB ram, and an SSD (which is new, issues were occurring at the same frequency on my old disk drive). As far as mono:

Joels-MacBook-Pro:~ joel$ mono --version
Mono JIT compiler version 3.10.0 ((detached/92c4884 Thu Nov 13 23:27:38 EST 2014)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: normal
SIGSEGV: altstack
Notification: kqueue
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: yes(3.4svn-mono-(detached/e656cac)
GC: sgen
Joels-MacBook-Pro:~ joel$

As far as plugins, I've added the ActiveTextureManagement in hopes that would help manage memory but that didn't seem to do the trick (at first it seemed to help a bit).

Player.log

[HighLogic]: =========================== Scene Change : From SPACECENTER to EDITOR (Async) =====================

(Filename: /Applications/buildAgent/work/d63dfc6385190b60/artifacts/MacStandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

[SmokeScreen PersistentEmitterManager] : OnDestroy

(Filename: /Applications/buildAgent/work/d63dfc6385190b60/artifacts/MacStandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12/22/2014 10:20:14 PM,KerbalAlarmClock,Destroying the KerbalAlarmClock-KACSpaceCenter

(Filename: /Applications/buildAgent/work/d63dfc6385190b60/artifacts/MacStandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12/22/2014 10:20:14 PM,KerbalAlarmClock,AppLauncher: Destroying Button-BEFORE NULL CHECK

(Filename: /Applications/buildAgent/work/d63dfc6385190b60/artifacts/MacStandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12/22/2014 10:20:14 PM,KerbalAlarmClock,AppLauncher: Destroying Button-AFTER NULL CHECK

(Filename: /Applications/buildAgent/work/d63dfc6385190b60/artifacts/MacStandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12/22/2014 10:20:14 PM,KerbalAlarmClock,API Cleaned up

(Filename: /Applications/buildAgent/work/d63dfc6385190b60/artifacts/MacStandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

UnloadTime: 8.288692 ms
KSP(6262,0xa0efa1d4) malloc: *** mach_vm_map(size=4198400) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
KSP(6262,0xa0efa1d4) malloc: *** mach_vm_map(size=8388608) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Receiving unhandled NULL exception
Obtained 247 stack frames.
#0 0x00000090335180 in _platform_bzero$VARIANT$sse42
#1 0x0000000143fb14 in g_ptr_array_set_size
#2 0x0000000134dd55 in array_safe_grow
#3 0x0000000134e44a in mono_add_process_object
#4 0x0000000134e651 in mono_traverse_objects
#5 0x0000000134e65e in mono_traverse_objects
#6 0x0000000134e65e in mono_traverse_objects
#7 0x0000000134e65e in mono_traverse_objects
#8 0x0000000134e65e in mono_traverse_objects
#9 0x0000000134e65e in mono_traverse_objects
#10 0x0000000134e65e in mono_traverse_objects
#11 0x0000000134e65e in mono_traverse_objects
#12 0x0000000134e65e in mono_traverse_objects
#13 0x0000000134e65e in mono_traverse_objects
#14 0x0000000134e65e in mono_traverse_objects
#15 0x0000000134e65e in mono_traverse_objects
#16 0x0000000134e65e in mono_traverse_objects
#17 0x0000000134e65e in mono_traverse_objects
#18 0x0000000134e65e in mono_traverse_objects
#19 0x0000000134e65e in mono_traverse_objects
#20 0x0000000134e65e in mono_traverse_objects
#21 0x0000000134e65e in mono_traverse_objects
#22 0x0000000134e65e in mono_traverse_objects
#23 0x0000000134e65e in mono_traverse_objects
#24 0x0000000134e65e in mono_traverse_objects
#25 0x0000000134e65e in mono_traverse_objects
#26 0x0000000134e65e in mono_traverse_objects
#27 0x0000000134e65e in mono_traverse_objects
#28 0x0000000134e65e in mono_traverse_objects
#29 0x0000000134e65e in mono_traverse_objects
#30 0x0000000134e65e in mono_traverse_objects
#31 0x0000000134e65e in mono_traverse_objects
#32 0x0000000134e65e in mono_traverse_objects
#33 0x0000000134e65e in mono_traverse_objects
#34 0x0000000134e65e in mono_traverse_objects
#35 0x0000000134e65e in mono_traverse_objects
#36 0x0000000134e65e in mono_traverse_objects
#37 0x0000000134e65e in mono_traverse_objects
#38 0x0000000134e65e in mono_traverse_objects
#39 0x0000000134e65e in mono_traverse_objects
#40 0x0000000134e65e in mono_traverse_objects
#41 0x0000000134e65e in mono_traverse_objects
#42 0x0000000134e65e in mono_traverse_objects
#43 0x0000000134e65e in mono_traverse_objects
#44 0x0000000134e65e in mono_traverse_objects
#45 0x0000000134e65e in mono_traverse_objects
#46 0x0000000134e65e in mono_traverse_objects
#47 0x0000000134e65e in mono_traverse_objects
#48 0x0000000134e65e in mono_traverse_objects
#49 0x0000000134e65e in mono_traverse_objects
#50 0x0000000134e65e in mono_traverse_objects
#51 0x0000000134e65e in mono_traverse_objects
#52 0x0000000134e65e in mono_traverse_objects
#53 0x0000000134e65e in mono_traverse_objects
#54 0x0000000134e65e in mono_traverse_objects
#55 0x0000000134e65e in mono_traverse_objects
#56 0x0000000134e65e in mono_traverse_objects
#57 0x0000000134e65e in mono_traverse_objects
#58 0x0000000134e65e in mono_traverse_objects
#59 0x0000000134e65e in mono_traverse_objects
#60 0x0000000134e65e in mono_traverse_objects
#61 0x0000000134e65e in mono_traverse_objects
#62 0x0000000134e65e in mono_traverse_objects
#63 0x0000000134e65e in mono_traverse_objects
#64 0x0000000134e65e in mono_traverse_objects
#65 0x0000000134e65e in mono_traverse_objects
#66 0x0000000134e65e in mono_traverse_objects
#67 0x0000000134e65e in mono_traverse_objects
#68 0x0000000134e65e in mono_traverse_objects
#69 0x0000000134e65e in mono_traverse_objects
#70 0x0000000134e65e in mono_traverse_objects
#71 0x0000000134e65e in mono_traverse_objects
#72 0x0000000134e65e in mono_traverse_objects
#73 0x0000000134e65e in mono_traverse_objects
#74 0x0000000134e65e in mono_traverse_objects
#75 0x0000000134e65e in mono_traverse_objects
#76 0x0000000134e65e in mono_traverse_objects
#77 0x0000000134e65e in mono_traverse_objects
#78 0x0000000134e65e in mono_traverse_objects
#79 0x0000000134e65e in mono_traverse_objects
#80 0x0000000134e65e in mono_traverse_objects
#81 0x0000000134e65e in mono_traverse_objects
#82 0x0000000134e65e in mono_traverse_objects
#83 0x0000000134e65e in mono_traverse_objects
#84 0x0000000134e65e in mono_traverse_objects
#85 0x0000000134e65e in mono_traverse_objects
#86 0x0000000134e65e in mono_traverse_objects
#87 0x0000000134e65e in mono_traverse_objects
#88 0x0000000134e65e in mono_traverse_objects
#89 0x0000000134e65e in mono_traverse_objects
#90 0x0000000134e65e in mono_traverse_objects
#91 0x0000000134e65e in mono_traverse_objects
#92 0x0000000134e65e in mono_traverse_objects
#93 0x0000000134e65e in mono_traverse_objects
#94 0x0000000134e65e in mono_traverse_objects
#95 0x0000000134e65e in mono_traverse_objects
#96 0x0000000134e65e in mono_traverse_objects
#97 0x0000000134e65e in mono_traverse_objects
#98 0x0000000134e65e in mono_traverse_objects
#99 0x0000000134e65e in mono_traverse_objects
#1000x0000000134e65e in mono_traverse_objects
#1010x0000000134e65e in mono_traverse_objects
#1020x0000000134e65e in mono_traverse_objects
#1030x0000000134e65e in mono_traverse_objects
#1040x0000000134e65e in mono_traverse_objects
#1050x0000000134e65e in mono_traverse_objects
#1060x0000000134e65e in mono_traverse_objects
#1070x0000000134e65e in mono_traverse_objects
#1080x0000000134e65e in mono_traverse_objects
#1090x0000000134e65e in mono_traverse_objects
#1100x0000000134e65e in mono_traverse_objects
#1110x0000000134e65e in mono_traverse_objects
#1120x0000000134e65e in mono_traverse_objects
#1130x0000000134e65e in mono_traverse_objects
#1140x0000000134e65e in mono_traverse_objects
#1150x0000000134e65e in mono_traverse_objects
#1160x0000000134e65e in mono_traverse_objects
#1170x0000000134e65e in mono_traverse_objects
#1180x0000000134e65e in mono_traverse_objects
#1190x0000000134e65e in mono_traverse_objects
#1200x0000000134e65e in mono_traverse_objects
#1210x0000000134e65e in mono_traverse_objects
#1220x0000000134e65e in mono_traverse_objects
#1230x0000000134e65e in mono_traverse_objects
#1240x0000000134e65e in mono_traverse_objects
#1250x0000000134e65e in mono_traverse_objects
#1260x0000000134e65e in mono_traverse_objects
#1270x0000000134e65e in mono_traverse_objects
#1280x0000000134e65e in mono_traverse_objects
#1290x0000000134e65e in mono_traverse_objects
#1300x0000000134e65e in mono_traverse_objects
#1310x0000000134e65e in mono_traverse_objects
#1320x0000000134e65e in mono_traverse_objects
#1330x0000000134e65e in mono_traverse_objects
#1340x0000000134e65e in mono_traverse_objects
#1350x0000000134e65e in mono_traverse_objects
#1360x0000000134e65e in mono_traverse_objects
#1370x0000000134e65e in mono_traverse_objects
#1380x0000000134e65e in mono_traverse_objects
#1390x0000000134e65e in mono_traverse_objects
#1400x0000000134e65e in mono_traverse_objects
#1410x0000000134e65e in mono_traverse_objects
#1420x0000000134e65e in mono_traverse_objects
#1430x0000000134e65e in mono_traverse_objects
#1440x0000000134e65e in mono_traverse_objects
#1450x0000000134e65e in mono_traverse_objects
#1460x0000000134e65e in mono_traverse_objects
#1470x0000000134e65e in mono_traverse_objects
#1480x0000000134e65e in mono_traverse_objects
#1490x0000000134e65e in mono_traverse_objects
#1500x0000000134e65e in mono_traverse_objects
#1510x0000000134e65e in mono_traverse_objects
#1520x0000000134e65e in mono_traverse_objects
#1530x0000000134e65e in mono_traverse_objects
#1540x0000000134e65e in mono_traverse_objects
#1550x0000000134e65e in mono_traverse_objects
#1560x0000000134e65e in mono_traverse_objects
#1570x0000000134e65e in mono_traverse_objects
#1580x0000000134e65e in mono_traverse_objects
#1590x0000000134e65e in mono_traverse_objects
#1600x0000000134e65e in mono_traverse_objects
#1610x0000000134e65e in mono_traverse_objects
#1620x0000000134e65e in mono_traverse_objects
#1630x0000000134e65e in mono_traverse_objects
#1640x0000000134e65e in mono_traverse_objects
#1650x0000000134e65e in mono_traverse_objects
#1660x0000000134e65e in mono_traverse_objects
#1670x0000000134e65e in mono_traverse_objects
#1680x0000000134e65e in mono_traverse_objects
#1690x0000000134e65e in mono_traverse_objects
#1700x0000000134e65e in mono_traverse_objects
#1710x0000000134e65e in mono_traverse_objects
#1720x0000000134e65e in mono_traverse_objects
#1730x0000000134e65e in mono_traverse_objects
#1740x0000000134e65e in mono_traverse_objects
#1750x0000000134e65e in mono_traverse_objects
#1760x0000000134e65e in mono_traverse_objects
#1770x0000000134e65e in mono_traverse_objects
#1780x0000000134e65e in mono_traverse_objects
#1790x0000000134e65e in mono_traverse_objects
#1800x0000000134e65e in mono_traverse_objects
#1810x0000000134e65e in mono_traverse_objects
#1820x0000000134e65e in mono_traverse_objects
#1830x0000000134e65e in mono_traverse_objects
#1840x0000000134e65e in mono_traverse_objects
#1850x0000000134e65e in mono_traverse_objects
#1860x0000000134e65e in mono_traverse_objects
#1870x0000000134e65e in mono_traverse_objects
#1880x0000000134e65e in mono_traverse_objects
#1890x0000000134e65e in mono_traverse_objects
#1900x0000000134e65e in mono_traverse_objects
#1910x0000000134e65e in mono_traverse_objects
#1920x0000000134e65e in mono_traverse_objects
#1930x0000000134e65e in mono_traverse_objects
#1940x0000000134e65e in mono_traverse_objects
#1950x0000000134e65e in mono_traverse_objects
#1960x0000000134e65e in mono_traverse_objects
#1970x0000000134e65e in mono_traverse_objects
#1980x0000000134e65e in mono_traverse_objects
#1990x0000000134e65e in mono_traverse_objects
#2000x0000000134e65e in mono_traverse_objects
#2010x0000000134e65e in mono_traverse_objects
#2020x0000000134e65e in mono_traverse_objects
#2030x0000000134e65e in mono_traverse_objects
#2040x0000000134e65e in mono_traverse_objects
#2050x0000000134e65e in mono_traverse_objects
#2060x0000000134e65e in mono_traverse_objects
#2070x0000000134e65e in mono_traverse_objects
#2080x0000000134e65e in mono_traverse_objects
#2090x0000000134e65e in mono_traverse_objects
#2100x0000000134e65e in mono_traverse_objects
#2110x0000000134e65e in mono_traverse_objects
#2120x0000000134e65e in mono_traverse_objects
#2130x0000000134e65e in mono_traverse_objects
#2140x0000000134e65e in mono_traverse_objects
#2150x0000000134e65e in mono_traverse_objects
#2160x0000000134e65e in mono_traverse_objects
#2170x0000000134e65e in mono_traverse_objects
#2180x0000000134e65e in mono_traverse_objects
#2190x0000000134e65e in mono_traverse_objects
#2200x0000000134e65e in mono_traverse_objects
#2210x0000000134e0db in mono_unity_liveness_calculation_from_statics
#2220x000000002f2fe8 in GarbageCollectSharedAssets(bool)
#2230x00000000315222 in CleanupAfterLoad()
#2240x000000002f8675 in LevelLoading::LoadLevel(int, std::string const&, AwakeFromLoadQueue&)
#2250x000000002f8307 in PlayerLoadLevelFromThread(int, std::string const&, AwakeFromLoadQueue&)
#2260x000000002fd441 in PreloadLevelOperation::IntegrateMainThread()
#2270x000000002fc49b in PreloadManager::UpdatePreloadingSingleStep(bool)
#2280x000000002fcab8 in PreloadManager::WaitForAllAsyncOperationsToComplete()
#2290x000000002fa62a in PlayerLoop(bool, bool, IHookEvent*)
#2300x00000000661e0c in -[PlayerAppDelegate UpdatePlayer]
#2310x00000097ac5d1f in __NSFireTimer
#2320x000000962beb06 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
#2330x000000962be5b4 in __CFRunLoopDoTimer
#2340x00000096339fff in __CFRunLoopDoTimers
#2350x00000096277121 in __CFRunLoopRun
#2360x00000096276696 in CFRunLoopRunSpecific
#2370x000000962764fb in CFRunLoopRunInMode
#2380x00000098900178 in RunCurrentEventLoopInMode
#2390x000000988ffeb1 in ReceiveNextEventCommon
#2400x000000988ffcac in _BlockUntilNextEventMatchingListInModeWithFilter
#2410x00000092334d99 in _DPSNextEvent
#2420x000000923345e1 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
#2430x00000092326dac in -[NSApplication run]
#2440x00000092310310 in NSApplicationMain
#2450x00000000661b5b in PlayerMain(int, char const**)
#2460x00000000002fb5 in start
Stacktrace:


Native stacktrace:

0 libsystem_kernel.dylib 0x95f2769e __pthread_kill + 10
1 libsystem_c.dylib 0x9bc57efe abort + 156
2 KSP 0x0034c042 _Z12HandleSignaliP9__siginfoPv + 34
3 libmono.0.dylib 0x0134c716 mono_chain_signal + 76
4 libmono.0.dylib 0x012975f6 mono_sigsegv_signal_handler + 234
5 libsystem_platform.dylib 0x9033503b _sigtramp + 43
6 ??? 0xffffffff 0x0 + 4294967295
7 libmono.0.dylib 0x0143fb14 g_ptr_array_set_size + 83
8 libmono.0.dylib 0x0134dd55 array_safe_grow + 79
9 libmono.0.dylib 0x0134e44a mono_add_process_object + 100
10 libmono.0.dylib 0x0134e651 mono_traverse_objects + 440
11 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
12 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
13 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
14 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
15 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
16 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
17 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
18 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
19 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
20 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
21 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
22 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
23 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
24 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
25 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
26 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
27 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
28 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
29 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
30 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
31 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
32 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
33 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
34 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
35 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
36 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
37 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
38 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
39 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
40 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
41 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
42 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
43 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
44 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
45 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
46 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
47 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
48 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
49 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
50 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
51 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
52 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
53 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
54 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
55 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
56 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
57 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
58 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
59 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
60 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
61 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
62 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
63 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
64 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
65 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
66 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
67 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
68 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
69 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
70 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
71 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
72 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
73 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
74 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
75 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
76 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
77 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
78 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
79 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
80 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
81 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
82 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
83 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
84 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
85 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
86 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
87 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
88 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
89 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
90 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
91 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
92 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
93 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
94 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
95 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
96 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
97 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
98 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
99 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
100 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
101 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
102 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
103 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
104 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
105 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
106 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
107 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
108 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
109 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
110 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
111 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
112 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
113 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
114 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
115 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
116 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
117 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
118 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
119 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
120 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
121 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
122 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
123 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
124 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
125 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
126 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
127 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
128 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
129 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
130 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
131 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
132 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
133 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
134 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
135 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
136 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
137 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
138 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
139 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
140 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
141 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
142 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
143 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
144 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
145 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
146 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
147 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
148 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
149 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
150 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
151 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
152 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
153 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
154 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
155 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
156 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
157 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
158 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
159 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
160 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
161 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
162 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
163 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
164 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
165 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
166 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
167 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
168 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
169 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
170 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
171 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
172 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
173 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
174 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
175 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
176 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
177 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
178 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
179 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
180 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
181 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
182 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
183 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
184 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
185 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
186 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
187 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
188 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
189 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
190 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
191 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
192 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
193 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
194 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
195 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
196 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
197 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
198 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
199 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
200 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
201 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
202 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
203 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
204 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
205 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
206 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
207 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
208 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
209 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
210 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
211 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
212 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
213 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
214 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
215 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
216 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
217 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
218 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
219 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
220 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
221 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
222 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
223 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
224 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
225 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
226 libmono.0.dylib 0x0134e65e mono_traverse_objects + 453
227 libmono.0.dylib 0x0134e0db mono_unity_liveness_calculation_from_statics + 588
228 KSP 0x002f2fe8 _Z26GarbageCollectSharedAssetsb + 3128
229 KSP 0x00315222 _Z16CleanupAfterLoadv + 18
230 KSP 0x002f8675 _ZN12LevelLoading9LoadLevelEiRKSsR18AwakeFromLoadQueue + 869
231 KSP 0x002f8307 _Z25PlayerLoadLevelFromThreadiRKSsR18AwakeFromLoadQueue + 39
232 KSP 0x002fd441 _ZN21PreloadLevelOperation19IntegrateMainThreadEv + 65
233 KSP 0x002fc49b _ZN14PreloadManager26UpdatePreloadingSingleStepEb + 299
234 KSP 0x002fcab8 _ZN14PreloadManager35WaitForAllAsyncOperationsToCompleteEv + 136
235 KSP 0x002fa62a _Z10PlayerLoopbbP10IHookEvent + 714
236 KSP 0x00661e0c -[PlayerAppDelegate UpdatePlayer] + 252
237 Foundation 0x97ac5d1f __NSFireTimer + 119
238 CoreFoundation 0x962beb06 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 22
239 CoreFoundation 0x962be5b4 __CFRunLoopDoTimer + 1316
240 CoreFoundation 0x96339fff __CFRunLoopDoTimers + 351
241 CoreFoundation 0x96277121 __CFRunLoopRun + 2081
242 CoreFoundation 0x96276696 CFRunLoopRunSpecific + 390
243 CoreFoundation 0x962764fb CFRunLoopRunInMode + 123
244 HIToolbox 0x98900178 RunCurrentEventLoopInMode + 262
245 HIToolbox 0x988ffeb1 ReceiveNextEventCommon + 494
246 HIToolbox 0x988ffcac _BlockUntilNextEventMatchingListInModeWithFilter + 99
247 AppKit 0x92334d99 _DPSNextEvent + 734
248 AppKit 0x923345e1 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 186
249 AppKit 0x92326dac -[NSApplication run] + 907
250 AppKit 0x92310310 NSApplicationMain + 2082
251 KSP 0x00661b5b _Z10PlayerMainiPPKc + 731
252 KSP 0x00002fb5 start + 53

Debug info from gdb:


=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

KSP(6262,0xa0efa1d4) malloc: *** error for object 0xe9080000: Can't deallocate_pages region
KSP(6262,0xa0efa1d4) malloc: *** set a breakpoint in malloc_error_break to debug
KSP(6262,0xa0efa1d4) malloc: *** error for object 0x151a3000: Can't deallocate_pages region
KSP(6262,0xa0efa1d4) malloc: *** set a breakpoint in malloc_error_break to debug

Link to comment
Share on other sites

That is an out-of-memory issue:

KSP(6262,0xa0efa1d4) malloc: *** mach_vm_map(size=4198400) failed (error code=3)

*** error: can't allocate region

*** set a breakpoint in malloc_error_break to debug

KSP(6262,0xa0efa1d4) malloc: *** mach_vm_map(size=8388608) failed (error code=3)

*** error: can't allocate region

*** set a breakpoint in malloc_error_break to debug

Receiving unhandled NULL exception

I highly recommend Active Texture Management to solve the problem. You'll probably want the aggressive version.

Link to comment
Share on other sites

That is an out-of-memory issue:

I highly recommend Active Texture Management to solve the problem. You'll probably want the aggressive version.

KSP(6262,0xa0efa1d4) malloc: *** mach_vm_map(size=4198400) failed (error code=3)

*** error: can't allocate region

*** set a breakpoint in malloc_error_break to debug

KSP(6262,0xa0efa1d4) malloc: *** mach_vm_map(size=8388608) failed (error code=3)

*** error: can't allocate region

*** set a breakpoint in malloc_error_break to debug

Receiving unhandled NULL exception

Thanks!

I forgot to mention but at some point I did install Active Texture Management to try to solve this; the non-aggressive version.

So based on your input, I uninstalled the the regular version and installed the aggressive version. I also installed the DDSLoader because I read that might help with performance. These two steps helped reduce crashing but it does still occur. I guess at this point I'll start stripping out mods one at a time. I did add HotRockets and SmokeScreen since I started this thread so those will go first.

thanks.

Link to comment
Share on other sites

  • 2 weeks later...
That is an out-of-memory issue:

I highly recommend Active Texture Management to solve the problem. You'll probably want the aggressive version.

KSP(6262,0xa0efa1d4) malloc: *** mach_vm_map(size=4198400) failed (error code=3)

*** error: can't allocate region

*** set a breakpoint in malloc_error_break to debug

KSP(6262,0xa0efa1d4) malloc: *** mach_vm_map(size=8388608) failed (error code=3)

*** error: can't allocate region

*** set a breakpoint in malloc_error_break to debug

Receiving unhandled NULL exception

With all due respect, ATM does not solve the problem. The problem is that KSP does not handle an out-of-memory condition gracefully, it simply sails obliviously into a beachball freeze with no warning of any kind. ATM helps, by increasing play time until it happens, or allowing you to add more mods, but the root cause still exists. The root cause is that KSP does not have sufficient error handling for out-of-memory conditions.

Most of the discussions of this issue that I've seen lead to a chorus of "you're running mods, it's the mods' fault". But Squad prominently uses KSP's support of mods as a selling point, to the extent of linking to "Mods @ Curse" on their website and even having "Modding Mondays" on their blog. They can't have it both ways - if they're going to tout mods so highly, they need to be able to handle the basic underlying housekeeping. The responsibility for memory management cannot and should not fall upon the shoulders of mod creators, it needs to be handled by the core software. Squad cannot of course control how many plugins you drop into your gamedata folder, but they should handle errors more gracefully than simply letting the program freeze and make the user force-quit. The analogy I like to use is elevators. Otis can't stop you from trying to fit 30 sumo wrestlers into one of their elevator cars, but they have a warning to let you know when it's overloaded. They don't let the car move at all, as opposed to letting you take your chances and just drop into the basement on a broken cable.

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...