Jump to content
Nexus Mods Official Soundtrack - The Sounds of Modding ×

[Dumping stack] What is it and how to solve?


AndrealphusVIII

Recommended Posts

Hello there

 

I'm having some frequent CTDs and I think it's because of "dumping stacks" accourding to my papyrus log.

 

The last lines of my log are:

 

 

  Reveal hidden contents

 

 

Also, a bit higher in the log I saw this:

 

 

[07/31/2013 - 07:05:50PM] Suspended stack count is over our warning threshold, dumping stacks:

 

My load order:

 

  Reveal hidden contents

 

 

What are those "dumping stacks" exactly? And how can I solve this issue?

Link to comment
Share on other sites

One of the causes of stack dumping is when the game tries to process too many script actions at one time. Especially when it is the same event on the same actor but being processed on two or more different scripts.

 

A good example of this is with Hearthfire without any USKP patches or my own fix. There is a HF script that parsed every item added or removed from the player's inventory. By itself it was alright but when added in with some mods especially mods that used the same event with the player's inventory, stack dumps could start happening especially when the game was trying to process hundreds or more items at one time. That script only needed to check the item to make sure it was a specific one before further processing, however it did not.

 

I'm not sure what exactly is causing your stack dumps. A wild guess would indicate at least heavy scripting if not improper scripting allowing unnecessary processing to occur. However, since your stack dump contains a variety of script sources I would lean towards heavy scripting rather than improper scripting. Tho it is possible that both are the cause.

Link to comment
Share on other sites

The strange thing is that this is the first time in my playthrough I'm having it. Yesterday and before, I didn't have any problem with it whatsoever.

I installed/updated the following mods today:

  • SMIM
  • Destroy the Thieves Guild
  • Live another life - Alternate Start
  • Bookcovers Skyrim
  • ENBoost

Can any of those have caused it?

 

I also started the Dawnguard Mainquest today. I don't know whether it can be related to that though.

 

I'll take a look at those updated mods and I'm hoping to find my answer there.

 

Edit: None of the above mods had any posts on their modpage regarding stack dumps. Any recommendations where I should start to look to fix the issue?

Edited by AndrealphusVIII
Link to comment
Share on other sites

Maybe you have tweaked your Papyrus Settings in Skyrim.ini to problematic settings...

 

Most notably these ones;

 

iMaxMemoryPageSize=

iMinMemoryPageSize=

iMaxAllocatedMemoryBytes=

 

What settings do you have?

 

Some websites suggest settings which will destroy your papyrus script engine. Like RCRN tells people to allocate 2GB of memory to papyrus (lol...!) Others on top say to set the min max values at like 1MB - 5MB ... some change the Update budgets to 500 ... some even suggest to change all of them to ridiculous properties.

 

If you changed them, put them back at the defaults and see if your problems went away... here are the defaults;

[Papyrus]
fUpdateBudgetMS=1.2
fExtraTaskletBudgetMS=1.2
fPostLoadUpdateTimeMS=500
iMinMemoryPageSize=128
iMaxMemoryPageSize=512
iMaxAllocatedMemoryBytes=76800
bEnableLogging=0
bEnableTrace=0
bLoadDebugInformation=0
bEnableProfiling=0
Link to comment
Share on other sites

I remember in the past I had en error message from Frostfall my script system was going to slow for the game while skinning animals for Hunterborn. So I changed the settings, but after that I did several clean installs which should have reset those settings to their defaults?

 

I'll try changing them to those settings (except bEnableLogging, Trace and bLoadDebugInformation) and trying to figure out whether there is any difference.

 

Thanks in advance

 

Edit: I made the changes, but I'm still getting the error messages. It seems like they're mostly present when I'm near Jorvaskkr. I'm using Moolight Tales and ESF: Companions questline extended. Could they have something to do with it? Should I uninstall them?

Edited by AndrealphusVIII
Link to comment
Share on other sites

Stack Overflow

Stack Buffer Overflow

Papyrus ini Settings

 

Try the following:

 

 

[Papyrus]

fUpdateBudgetMS=800

fExtraTaskletBudgetMS=800

iMaxAllocatedMemoryBytes=76800

 

You can also try increasing iMaxAllocatedMemoryBytes to a multiple of the default value (2x, 4x etc) but don't exceed 2457600 as it may make the problem worse rather than better,

Link to comment
Share on other sites

My last papyrus log (I just went outside Breezehome and walked around Jorrvaskrr. I didn't crash though. I just ran around and exited the game manually to check my papyrus log):

 

 

  Reveal hidden contents

 

 

I tried removing ESFCompanions, Werewolf Mastery + Moonlight Tales. Still having stack dumps though...

 

Is there anything else noticable wrong that may be causing the stack dumps?

 

I haven't tried to increase iMaxAllocatedMemoryBytes yet. I will try that asap.

 

Could the stack errors maybe be caused by missing files?

 

Kind regards

Andre

 

Edit: It seems that dragonactorscript and 0005a6ca are repeated many times in my log. Could they be the culprit? I have searched for 0005a6ca and it seems to be a virtual location for Mirmulnir. Which could explain why I'm having the stack dumps, since I fought him recently. I'll try loading a save game from before that fight and see if there's any difference.

Edited by AndrealphusVIII
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...