Unexpected mark stack overflow fatal error in gc

Fatal error in gc unexpected mark stack overflow It happens randomly on startup of the game (Not loading a save or starting a world) and on accepting and saving changes to a modlist. Verifying the game or (Sometimes) restarting the PC fixes it, but I am not sure what to blame for it. Yes […]

Содержание

  1. Fatal error in gc unexpected mark stack overflow
  2. Mingw 32bit: Unexpected mark stack overflow (8.0.2+) #260
  3. Comments
  4. Fatal error in gc unexpected mark stack overflow
  5. Fatal error in gc unexpected mark stack overflow
  6. RimWorld
  7. Fatal error in gc unexpected mark stack overflow

Fatal error in gc unexpected mark stack overflow

It happens randomly on startup of the game (Not loading a save or starting a world) and on accepting and saving changes to a modlist.

Verifying the game or (Sometimes) restarting the PC fixes it, but I am not sure what to blame for it.

Yes I have mods installed but it doesn’t seem consistent.

Is anyone else getting a similar error?

Do you get it everytime?
Also do you have alot of mods or just a few?
And are any 1.3 version?

Cause I have alot and a handful are 1.3, but according to the comments they are working with 1.4 so I don’t think they are causing the overflow.

Just had my first Fatal Error in GC mid-gameplay (modded), just added VGP + Buildable Terrain and a stockpile limit mod to today’s play through about an hour ago or so.
The logs are referencing the usual library mods (Harmony), but also bills and stack limits in the crash stack traces (player log in appdata/user/LocalLow/LudeonStudios/ ..etc). So I’m going to remove the stockpile limit mod and see if it stops; Fingers crossed it’s just a mod derp.

Maybe see if any mods are being referenced in the crash stack trace. A stack trace gives an idea of what was being used at the time of the crash, it’s possible one of them involved could be responsible.

Edit: Haven’t had a re-occurrence of the error so far after disabling the stockpile limit mod.

Источник

Mingw 32bit: Unexpected mark stack overflow (8.0.2+) #260

Hello.
I’m using Gauche on Windows.
Recently, Gauche updated bdwgc to 8.0.2 and build/test error began to occur
on MSYS2/MinGW-w64 32bit environent.
(There is no problem on MSYS2/MinGW-w64 64bit environent.)
(Before update, Gauche used bdwgc 7.6.10 and there was no problem.)

The error message was shown in the message box as follows.
title: ‘Fatal error in GC’
message: ‘Unexpected mark stack overflow’

I tried to investigate this problem and found the following three points.

OS: Windows 8.1 (64bit)
DevTool: MSYS2/MinGW-w64 (32bit) (gcc version 7.3.0 (Rev2, Built by MSYS2 project))

gctest error (this might not be a real problem . )
I downloaded gc-8.0.2.tar.gz and tested it as follows.

Then, I tried to gctest repeatedly as follows.

Then, I tried testA and testB on the following versions and got almost the same results.
(testA was passed and testB had some errors)

  • gc master 7bfd248 (2019-1-5)
  • gc master e71ab76 (2018-9-5)
  • gc master 0846bf2 (2016-11-28) + libatomic_ops-7.6.8.tar.gz
  • gc-7.6.10.tar.gz + libatomic_ops-7.6.8.tar.gz
  • gc-7.6.8.tar.gz + libatomic_ops-7.6.8.tar.gz
  • gc-7.6.8.tar.gz + libatomic_ops-7.6.6.tar.gz
  • gc-7.4.16.tar.gz + libatomic_ops-7.4.12.tar.gz

The testB error log in .libs/gctest.gc.log had various patterns as follows.

  • ‘List reversal produced incorrect list — collector is broken’
  • ‘Wrong finalization data — collector is broken’
  • ‘Clobbered a leaf — collector is broken’
  • ‘Lost a node at level 3 — collector is broken’
  • ‘Lost a node at level 9 — collector is broken’
  • ‘Lost a node at level 11 — collector is broken’
  • ‘Lost a node at level 13 — collector is broken’

But, old Gauche using bdwgc 7.6.10 was no prolem.
So, I think this might not be a real problem .

‘munmap setting’
I tried ‘git bisect start e71ab76 c7837f8‘ and found the following commit.

  • gc master 1aabce0 (2018-4-14) ‘Enable memory unmapping by default’

I confirmed that the error occurs on Gauche since this commit.
So, I added configure option —disable-munmap
and confirmed that no error occurs on this commit.
But, the error still occured on gc-8.0.2.tar.gz .

‘new api for VDB’
I tried ‘git bisect start e71ab76 ad5116f‘ and found the following commit.

  • gc master 06009b0 (2018-8-15) ‘New API to turn on manual VDB at runtime’

I confirmed that the error occurs on Gauche since this commit
even though I added configure option —disable-munmap .

For now, I think I should add configure option —disable-munmap
for Windows 32bit environment but I don’t know how to fix 3. .
Also, I can’t use ‘make check’ to judge whether Gauche works normally .

The text was updated successfully, but these errors were encountered:

Источник

Fatal error in gc unexpected mark stack overflow

I’ve been getting this error quite often since the last update (0.7.7f) that states [Fatal Error in GC: Unexpected mark stack overflow];

A little googling brings up plenty of Unity specific links so I assume it’s a Unity error, which this game is built in. I imagine/hope it’ll get fixed soon. Really enjoying the game thus far though.

I’ve been getting this error quite often since the last update;

A little googling brings up plenty of Unity specific links so I assume it’s a Unity error, which this game is built in. I imagine/hope it’ll get fixed soon. Really enjoying the game thus far though.

I have over 150 Hrs in this game an never had that happen

its lighning blast skill
known bug

Damn, that’s my main skill lol. and yeah, coincidentally started after running this sorcerer so that makes a lot of sense. Huh, well back to my Shaman then. Thank you.

EDIT: For others experiencing this issue, you may also want to contribute to this thread on the Last Epoch forums:

Источник

Fatal error in gc unexpected mark stack overflow

RimWorld

Line 5171
«Loaded file (Map) is from version 1.3.3117 rev669, we are running version 1.3.3159 rev754»

Have you changed some mod versions or the Rimworld client version?

All the errors i looked at were all to do with plants, animals or biome. Some for the same items being added twice, do you possibly have 2 versions of the same mod with different version numbers loading at the same time?

I am not a coder, this is my best guess.

I worked tech support for nearly 20 years. You don’t have to be a «programmer» to understand an error message.

Your error says you’re running out of memory. Typically caused by a memory leak, but could also be bad RAM. If you’re getting the error in other applications, check your hardware.

Otherwise, realize that Rimworld was updated a couple days ago and you’re running 500 mods. Something likely broke.

You know how Rimpy works, right? It’s data driven meaning people need to manually put in information so that you can use the database. But this information has to be acquired first. You cannot expect that all this is up to date already. I’m using Rimpy too with 350 mods less and I couldnt start up the game yesterday. It is normal.

No, I’m not a programmer. But I know that «stack overflow» has something to do with memory and memory leaks. It is when some error in the programming leads the program to use up all of the memory which leads to crashes or bluescreens. That can happen in many other programs as well. I had it once in Rimworld and it had to do with textures not being correctly loaded.

Also, by just looking through your modlist. I mean, it looks like you just took everything from the workshop and mashed it together. There are like 5 different storage mods AND stack mods, all the veggie/farming mods put together, like all the builder mods.. literally everything. I’ve used most of these as well but not in a single modlist! There is no way that all that works well together even on a normal day.

Источник

Fatal error in gc unexpected mark stack overflow

I’m on the latest_experimental beta A20.1 (b5) and my friends and I are getting an «unexpected mark stack overflow» crash every now and then. We are using our A20 world.

Has anybody else been getting this? I did not get this crash in any previous versions.

This happened twice in my game (3 players) both yesterday and today. Each time after playing for about 5 hours. We’re not on the experimental branch.

Today, this crash corrupted the save file a bit. When it crashed, I (the host) was a passenger in a 4×4 truck another player was driving. When I restarted the game and the others rejoined, all of the vehicles (and drones) the other players had were located in odd places far away. A crazy thing then happened: I got on my motorcycle to help look for the missing vehicles. Then one of the players joined and my character teleported from my motorcycle into the truck, about a km away! Then my character teleported back onto my motorcycle, but (1) the game opened the console with an error message I didn’t write down, but it was a «null reference» error; and (2) this resulted in my character being stuck on the motorcycle, floating slightly above it in fact, and unable to do anything but mouse-turn. I couldn’t stop it, so I angled it into the corner of a building, and stayed there for a few minutes while the other players tracked down their vehicles and drones. At this point, we decided the safest move was to have everyone pocket their vehicles/drones and logout, me (the host) last of course. I could not exit my motorcycle, but the tab and esc menus worked, so I was able to exit cleanly. Upon reloading the game, tragedy struck, as all of the items in my hotbar had disappeared.

So, as far as I can tell, this bug caused a crash, which led to everything else that happened (which could perhaps be described as other bugs, or just bad luck with the save file getting corrupted by the crash). We are able to continue to play, though it was pretty crushing to lose all of my weapons and tools. Always keep a backup supply of the 2nd best items you’ve found, I guess 🙁

Источник

Comments

@Hamayama

@ivmai
ivmai

changed the title
Mingw 32bit: Unexpected mark stack overflow

Mingw 32bit: Unexpected mark stack overflow (8.0.2+)

Jan 15, 2019

ivmai

added a commit
that referenced
this issue

Jan 22, 2019

@ivmai

Issue #260 (bdwgc).

* mark.c [!NEED_FIXUP_POINTER] (GC_push_all_stack): Call
GC_push_all_eager() instead of GC_push_all() if GC_mark_stack_top is
rather close to GC_mark_stack_limit.

ivmai

added a commit
that referenced
this issue

Jan 28, 2019

@ivmai

Issue #260 (bdwgc).

* mark.c [!NEED_FIXUP_POINTER] (GC_push_all_stack): Call
GC_push_all_eager() instead of GC_push_all() if GC_mark_stack_top is
rather close to GC_mark_stack_limit.

ivmai

added a commit
that referenced
this issue

Jan 28, 2019

@ivmai

(a cherry-pick of commit c9381cc from 'release-8_0')

Issue #260 (bdwgc).

* mark.c [!(THREADS && MPROTECT_VDB) && !NEED_FIXUP_POINTER]
(GC_push_all_stack): Call GC_push_all_eager() instead of GC_push_all()
if GC_mark_stack_top is rather close to GC_mark_stack_limit.

ivmai

added a commit
that referenced
this issue

Jan 29, 2019

@ivmai

(a cherry-pick of commit 420a476 from 'release-7_6')

Issue #260 (bdwgc).

* mark.c [!(THREADS && MPROTECT_VDB)]
(GC_push_all_stack): Call GC_push_all_eager() instead of GC_push_all()
if GC_mark_stack_top is rather close to GC_mark_stack_limit.

ivmai

added a commit
that referenced
this issue

Jan 29, 2019

@ivmai

(a cherry-pick of commit 420a476 from 'release-7_6')

Issue #260 (bdwgc).

* mark.c [!(THREADS && MPROTECT_VDB)]
(GC_push_all_stack): Call GC_push_all_eager() instead of GC_push_all()
if GC_mark_stack_top is rather close to GC_mark_stack_limit.

Question

Michel Bartolone

    • Share

Twice in two days…I started a new save to see if I could get past the issue. I get to orbit, and I get a gc crash:
Unexpected mark stack overflow

mod list:
            «name»: «Achievements»
            «name»: «BetterBurnTime»
            «name»: «SCANsat»
            «name»: «KAS«
            «name»: «CommunityDeltaVMaps»
            «name»: «CommunityPartsTitles»
            «name»: «CommunityPartsTitlesExtrasCategory»
            «name»: «ContractConfigurator-CleverSats»
            «name»: «ContractConfigurator-FieldResearch»
            «name»: «ContractConfigurator-KerbalAcademy»
            «name»: «ContractConfigurator-KerbinSpaceStation»
            «name»: «ContractConfigurator-Tourism»
            «name»: «EnvironmentalVisualEnhancements»
            «name»: «IndicatorLights»
            «name»: «IndicatorLightsCommunityExtensions»
            «name»: «KDEX»
            «name»: «KeepItStraight»
            «name»: «KerbalEngineerRedux»
            «name»: «KerbalOccupationColors»
            «name»: «KKL»
            «name»: «ModuleManager»
            «name»: «MechJeb2»
            «name»: «PartMapper»
            «name»: «PatchManager»
            «name»: «RealChute»
            «name»: «SolarScience»
            «name»: «USITools»
            «name»: «ClickThroughBlocker»
            «name»: «MagiCore»
            «name»: «CommunityPartsTitlesExtrasNoCCKDup»
            «name»: «Toolbar»
            «name»: «SpeedUnitAnnex»
             «name»: «CommunityCategoryKit»
           «name»: «WaypointManager»
           «name»: «EnvironmentalVisualEnhancements-HR»
            «name»: «KerbalJointReinforcementContinued»
            «name»: «KspCraftOrganizer»
            «name»: «SimpleFuelSwitch»
            «name»: «StationKeeping»
            «name»: «VariantPersist»
            «name»: «MSP3000»
            «name»: «ContractConfigurator»
            «name»: «SoundingRockets»
            «name»: «WorldStabilizer»
            «name»: «PreciseManeuver»
            «name»: «Targetron»
            «name»: «ToolbarController»
            «name»: «KerbalAlarmClock»
            «name»: «MechJebForAll»
            «name»: «CameraTools»
            «name»: «TrackingStationEvolved»
            «name»: «Corvus125mTwoKerbalPod»
            «name»: «K2CommandPodCont»

Log:

[LOG 11:04:35.882] [BetterBurnTime] Current celestial body set to Kerbin
[LOG 11:04:35.883] [BetterBurnTime] Geosync altitude: 2863.334 km
[LOG 11:04:38.537] [MechJebModuleAscentAutopilot] LaunchStarted = 6223.17193363712
[LOG 11:04:38.537] [MechJebModuleAscentAutopilot] LaunchStarted = 0
[LOG 11:04:38.538] [MechJebModuleAscentAutopilot] LaunchStarted = 6129.49193363508
[LOG 11:04:38.538] [MechJebModuleAscentAutopilot] LaunchStarted = 0
[LOG 11:04:38.538] [MechJebModuleAscentAutopilot] LaunchStarted = 5605.13193362363
[LOG 11:04:38.538] [MechJebModuleAscentAutopilot] LaunchStarted = 0
[LOG 11:04:38.539] [MechJebModuleAscentAutopilot] LaunchStarted = 5131.8519336133
[LOG 11:04:38.539] [MechJebModuleAscentAutopilot] LaunchStarted = 0
[LOG 11:04:38.539] [MechJebModuleAscentAutopilot] LaunchStarted = 4634.93193360245
[LOG 11:04:38.539] [MechJebModuleAscentAutopilot] LaunchStarted = 0
[LOG 11:04:38.539] [MechJebModuleAscentAutopilot] LaunchStarted = 0
[LOG 11:04:38.540] [MechJebModuleAscentAutopilot] LaunchStarted = 4285.85193359483
[LOG 11:04:38.540] [MechJebModuleAscentAutopilot] LaunchStarted = 3747.21193359101
[LOG 11:04:38.541] [MechJebModuleAscentAutopilot] LaunchStarted = 0
[LOG 11:04:38.541] [MechJebModuleAscentAutopilot] LaunchStarted = 3334.83193359138
[LOG 11:04:38.541] [MechJebModuleAscentAutopilot] LaunchStarted = 0
[LOG 11:04:38.541] [MechJebModuleAscentAutopilot] LaunchStarted = 2654.791933592
[LOG 11:04:38.541] [MechJebModuleAscentAutopilot] LaunchStarted = 0
[LOG 11:04:38.542] [MechJebModuleAscentAutopilot] LaunchStarted = 2109.5719335925
[LOG 11:04:38.542] [MechJebModuleAscentAutopilot] LaunchStarted = 0
[LOG 11:04:38.542] [MechJebModuleAscentAutopilot] LaunchStarted = 2084.79193359252
[LOG 11:04:38.542] [MechJebModuleAscentAutopilot] LaunchStarted = 0
[LOG 11:04:38.542] [MechJebModuleAscentAutopilot] LaunchStarted = 0
[LOG 11:04:38.542] [MechJebModuleAscentAutopilot] LaunchStarted = 1352.69193359319
[LOG 11:04:38.543] [MechJebModuleAscentAutopilot] LaunchStarted = 0
[LOG 11:04:38.543] [MechJebModuleAscentAutopilot] LaunchStarted = 808.652644042678
[LOG 11:04:38.543] [MechJebModuleAscentAutopilot] LaunchStarted = 0
[LOG 11:04:38.543] [MechJebModuleAscentAutopilot] LaunchStarted = 0
[LOG 11:04:38.543] [MechJebModuleAscentAutopilot] LaunchStarted = 263.060000000051
[LOG 11:04:38.543] [MechJebModuleAscentAutopilot] LaunchStarted = 0
[LOG 11:04:38.544] [MechJebModuleAscentAutopilot] LaunchStarted = 238.220000000048
[LOG 11:04:38.544] [MechJebModuleAscentAutopilot] LaunchStarted = 0
[LOG 11:04:38.544] [MechJebModuleAscentAutopilot] LaunchStarted = 195.240000000026
[LOG 11:04:38.544] [MechJebModuleAscentAutopilot] LaunchStarted = 0
[LOG 11:04:38.544] [MechJebModuleAscentAutopilot] LaunchStarted = 35.7
[LOG 11:04:38.544] [MechJebModuleAscentAutopilot] LaunchStarted = 0
[LOG 11:04:38.544] [MechJebModuleAscentAutopilot] LaunchStarted = 0
[LOG 11:04:38.545] [MechJebModuleAscentAutopilot] LaunchStarted = 72407.989406797
[LOG 11:04:38.545] [MechJebModuleAscentAutopilot] LaunchStarted = 72334.649406782
[LOG 11:04:38.545] [MechJebModuleAscentAutopilot] LaunchStarted = 0
[LOG 11:04:38.545] [MechJebModuleAscentAutopilot] LaunchStarted = 72319.909406779
[LOG 11:04:38.545] [MechJebModuleAscentAutopilot] LaunchStarted = 0
[LOG 11:04:38.546] [MechJebModuleAscentAutopilot] LaunchStarted = 0
[LOG 11:05:23.255] Mechjeb Autostage: Executing next stage on mk1pod.v2
[LOG 11:05:25.349] [EVE CloudsManager]: Disable clouds when camera: 14013.37 layer: 4000
[LOG 11:05:36.920] SR.Rocket.625.01 Exploded!! — blast awesomeness: 0.5
[LOG 11:05:36.959] [F: 196748]: [SR.Rocket.625.01] Collision Enhancer Punch Through — vel: 144.2081
[LOG 11:05:36.960] [Explosion] Combined.
[LOG 11:05:36.960] SR.Rocket.625.01 Exploded!! — blast awesomeness: 0.5
[LOG 11:05:36.997] [F: 196748]: [SR.Rocket.625.01] Collision Enhancer Punch Through — vel: 144.2052
[LOG 11:05:36.998] [Explosion] Combined.
[LOG 11:05:36.998] SR.Rocket.625.01 Exploded!! — blast awesomeness: 0.5
[LOG 11:05:37.035] [F: 196748]: [SR.Rocket.625.01] Collision Enhancer Punch Through — vel: 144.2095
[LOG 11:05:37.035] [Explosion] Combined.
[LOG 11:05:37.036] SR.Rocket.625.01 Exploded!! — blast awesomeness: 0.5
[LOG 11:05:37.105] 1 explosions created.
[LOG 11:05:53.524] KO1.0A Debris Unloaded
[LOG 11:05:53.526] Packing KO1.0A Debris for orbit
[LOG 11:05:54.785] [F: 197024]: Vessel KO1.0A Debris was on-rails at 5.2 kPa pressure and was destroyed.
[LOG 11:05:54.786] [Vessel KO1.0A Debris]: Vessel was destroyed.
[LOG 11:06:25.517] [Progress Node Reached]: RecordsDistance
[LOG 11:06:33.281] Packing KO1.0A for orbit
[LOG 11:06:38.788] Unpacking KO1.0A
[LOG 11:06:43.411] Added 1.997957 (2) reputation: ‘Progression’.
[LOG 11:07:04.983] [Progress Node Reached]: RecordsSpeed
 

  • Quote
Link to comment
Share on other sites

Recommended Posts

  • 0

VoidSquid

  • 0

Michel Bartolone

  • Author
    • Share

1 hour ago, VoidSquid said:

gc as in that is what is reported, and there is a ksp_x64_gc.log file, which I have included the contents of in the original post…as well as the last part of the ksp_x64.log, because when I tried to post the entire log, it wouldn’t let me click submit. Note that I also get a popup, with Jeb (I think it’s Jeb anyway) in a space suit, that just says «GC», has a progress bar, which does fill up, then the game exits.

  • Quote
Link to comment
Share on other sites

  • 0

Michel Bartolone

  • Author
    • Share

Here is a little more…GC = Garbage Collection. I’m still getting these occasionally, after upgrading to KSP 1.8.1 with Breaking Ground 1.3.1. What sites can I add images from (it doesn’t seem to like FB as a source URL)
 

  • Quote
Link to comment
Share on other sites

  • 0

VoidSquid

    • Share

Been away a couple of days, sorry for not replying earlier. Yesterday I made a fresh KSP 1.8.1 install incl. several mods, and now I’m getting this error as well occasionally. No verdict what’s causing this yet, my current working theory right now is that the 32 GB RAM of my rig is kind of overstraining the GC process.

  • Quote
Link to comment
Share on other sites

  • 0

VoidSquid

    • Share

Hey there, I got rid of those stupid crashes by using this mod from @linuxgurugamer, might want to try that too.

  • Quote
Link to comment
Share on other sites

  • 0

Michel Bartolone

  • Author
    • Share

Oddly enough, I installed HeapPadder on Sunday! :)

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

Понравилась статья? Поделить с друзьями:
  • Unexpected indentation как исправить
  • Unexpected error cubase
  • Unexpected indent python ошибка что значит
  • Unexpected indent python ошибка перевод
  • Unexpected error could not estimate gas for the approve