Jump to content

Actor.GetNthForm() or suspended stack count CTD


NVNNN

Recommended Posts

Hello, guys. I've been testing my recent causes of CTD and have tried enabling Papyrus logging. Although i've read it somewhere that it does not help with resolving anything, I still did it because i don't understand completely how it works :3

 

Last entries of it are as follows:

 

[08/13/2018 - 10:06:52AM] Suspended stack count is over our warning threshold, dumping stacks:

[08/13/2018 - 10:06:52AM] VM is freezing...

[08/13/2018 - 10:06:52AM] VM is frozen

[08/13/2018 - 10:06:52AM] Dumping stack 22400966:

[08/13/2018 - 10:06:52AM] Frame count: 0 (Page count: 0)

[08/13/2018 - 10:06:52AM] State: Waiting on other stack for call (Freeze state: Freezing)

[08/13/2018 - 10:06:52AM] Type: Normal

[08/13/2018 - 10:06:52AM] Return register: None

[08/13/2018 - 10:06:52AM] Has stack callback: No

[08/13/2018 - 10:06:52AM] Stack trace:

[08/13/2018 - 10:06:52AM] [Active effect 5 on (00000014)].XPMSEWeaponStyleScaleEffect.OnObjectUnequipped() - (requested call)

[08/13/2018 - 10:06:52AM] [param 0]: [sPELL < (00045F9C)>]

[08/13/2018 - 10:06:52AM] [param 1]: None

[08/13/2018 - 10:06:52AM] Dumping stack 22400975:

[08/13/2018 - 10:06:52AM] Frame count: 0 (Page count: 0)

[08/13/2018 - 10:06:52AM] State: Waiting on other stack for call (Freeze state: Freezing)

[08/13/2018 - 10:06:52AM] Type: Normal

[08/13/2018 - 10:06:52AM] Return register: None

[08/13/2018 - 10:06:52AM] Has stack callback: No

[08/13/2018 - 10:06:52AM] Stack trace:

[08/13/2018 - 10:06:52AM] [Active effect 5 on (00000014)].XPMSEWeaponStyleScaleEffect.OnObjectEquipped() - (requested call)

[08/13/2018 - 10:06:52AM] [param 0]: [sPELL < (00045F9C)>]

[08/13/2018 - 10:06:52AM] [param 1]: None

[08/13/2018 - 10:06:52AM] Dumping stack 22401012:

[08/13/2018 - 10:06:52AM] Frame count: 0 (Page count: 0)

[08/13/2018 - 10:06:52AM] State: Waiting on other stack for call (Freeze state: Freezing)

[08/13/2018 - 10:06:52AM] Type: Normal

[08/13/2018 - 10:06:52AM] Return register: None

[08/13/2018 - 10:06:52AM] Has stack callback: No

[08/13/2018 - 10:06:52AM] Stack trace:

[08/13/2018 - 10:06:52AM] [Active effect 5 on (00000014)].XPMSEWeaponStyleScaleEffect.OnObjectEquipped() - (requested call)

[08/13/2018 - 10:06:52AM] [param 0]: [Armor < (4F002F9A)>]

[08/13/2018 - 10:06:52AM] [param 1]: None

[08/13/2018 - 10:06:52AM] Dumping stack 22401029:

[08/13/2018 - 10:06:52AM] Frame count: 0 (Page count: 0)

[08/13/2018 - 10:06:52AM] State: Waiting on other stack for call (Freeze state: Freezing)

[08/13/2018 - 10:06:52AM] Type: Normal

[08/13/2018 - 10:06:52AM] Return register: None

[08/13/2018 - 10:06:52AM] Has stack callback: No

[08/13/2018 - 10:06:52AM] Stack trace:

[08/13/2018 - 10:06:52AM] [Active effect 5 on (00000014)].XPMSEWeaponStyleScaleEffect.OnObjectEquipped() - (requested call)

[08/13/2018 - 10:06:52AM] [param 0]: [sPELL < (00045F9C)>]

[08/13/2018 - 10:06:52AM] [param 1]: None

[08/13/2018 - 10:06:52AM] Dumping stack 22401045:

[08/13/2018 - 10:06:52AM] Frame count: 0 (Page count: 0)

[08/13/2018 - 10:06:52AM] State: Waiting on other stack for call (Freeze state: Freezing)

[08/13/2018 - 10:06:52AM] Type: Normal

[08/13/2018 - 10:06:52AM] Return register: None

[08/13/2018 - 10:06:52AM] Has stack callback: No

[08/13/2018 - 10:06:52AM] Stack trace:

[08/13/2018 - 10:06:52AM] [Active effect 5 on (00000014)].XPMSEWeaponStyleScaleEffect.OnObjectUnequipped() - (requested call)

[08/13/2018 - 10:06:52AM] [param 0]: [Armor < (4F002F9A)>]

[08/13/2018 - 10:06:52AM] [param 1]: None

[08/13/2018 - 10:06:52AM] Dumping stack 22401089:

[08/13/2018 - 10:06:52AM] Frame count: 0 (Page count: 0)

[08/13/2018 - 10:06:52AM] State: Waiting on other stack for call (Freeze state: Freezing)

[08/13/2018 - 10:06:52AM] Type: Normal

[08/13/2018 - 10:06:52AM] Return register: None

[08/13/2018 - 10:06:52AM] Has stack callback: No

[08/13/2018 - 10:06:52AM] Stack trace:

[08/13/2018 - 10:06:52AM] [Active effect 5 on (00000014)].XPMSEWeaponStyleScaleEffect.OnObjectEquipped() - (requested call)

[08/13/2018 - 10:06:52AM] [param 0]: [Armor < (4F002F9A)>]

[08/13/2018 - 10:06:52AM] [param 1]: None

[08/13/2018 - 10:06:52AM] Dumping stack 22401094:

[08/13/2018 - 10:06:52AM] Frame count: 0 (Page count: 0)

[08/13/2018 - 10:06:52AM] State: Waiting on other stack for call (Freeze state: Freezing)

[08/13/2018 - 10:06:52AM] Type: Normal

[08/13/2018 - 10:06:52AM] Return register: None

[08/13/2018 - 10:06:52AM] Has stack callback: No

[08/13/2018 - 10:06:52AM] Stack trace:

[08/13/2018 - 10:06:52AM] [Active effect 5 on (00000014)].XPMSEWeaponStyleScaleEffect.OnObjectUnequipped() - (requested call)

[08/13/2018 - 10:06:52AM] [param 0]: [Armor < (4F002F9A)>]

[08/13/2018 - 10:06:52AM] [param 1]: None

[08/13/2018 - 10:06:52AM] Dumping stack 22381199:

[08/13/2018 - 10:06:52AM] Frame count: 4 (Page count: 4)

[08/13/2018 - 10:06:52AM] State: Waiting on other stack for return (Freeze state: Freezing)

[08/13/2018 - 10:06:52AM] Type: Normal

[08/13/2018 - 10:06:52AM] Return register: [Form < (0A33D89A)>]

[08/13/2018 - 10:06:52AM] Has stack callback: No

[08/13/2018 - 10:06:52AM] Stack trace:

[08/13/2018 - 10:06:52AM] [ (00000014)].Actor.GetNthForm() - "<native>" Line ?

[08/13/2018 - 10:06:52AM] IP: 0

 

These lines are always present before i crash. Can any of you please explain 2 events highlighted in bold and comment on whether they may have something to do with game instability:

 

1)

[08/13/2018 - 10:06:52AM] Suspended stack count is over our warning threshold, dumping stacks:

 

2)

[08/13/2018 - 10:06:52AM] [ (00000014)].Actor.GetNthForm() - "<native>" Line ?

 

[08/13/2018 - 10:06:52AM] IP: 0

 

Thank you in advance.

Link to comment
Share on other sites

Update to XPMS(S)E 4.50, that GetNthForm part was removed in the last version because it was slow and the part where it was used took more time the more items the player/npc had in their inventory.

 

1)

[08/13/2018 - 10:06:52AM] Suspended stack count is over our warning threshold, dumping stacks:

You have more items on the stack (place where papyrus saves function calls) than a certain number that Bethesda thinks should be allowed, those are debug features.

2)

[08/13/2018 - 10:06:52AM] [ (00000014)].Actor.GetNthForm() - "<native>" Line ?

[08/13/2018 - 10:06:52AM] IP: 0

GetNthForm returns the Nth item from a container. You pass an int value to it for example 2 and it returns the item in that container with the 2nd index.

https://www.creationkit.com/index.php?title=GetNthForm_-_ObjectReference

Edited by Groovtama
Link to comment
Share on other sites

Update to XPMS(S)E 4.50, that GetNthForm part was removed in the last version because it was slow and the part where it was used took more time the more items the player/npc had in their inventory.

 

1)

[08/13/2018 - 10:06:52AM] Suspended stack count is over our warning threshold, dumping stacks:

You have more items on the stack (place where papyrus saves function calls) than a certain number that Bethesda thinks should be allowed, those are debug features.

2)

[08/13/2018 - 10:06:52AM] [ (00000014)].Actor.GetNthForm() - "<native>" Line ?

[08/13/2018 - 10:06:52AM] IP: 0

GetNthForm returns the Nth item from a container. You pass an int value to it for example 2 and it returns the item in that container with the 2nd index.

https://www.creationkit.com/index.php?title=GetNthForm_-_ObjectReference

 

Thank you, I will.

 

But could it have been the cause of CTD or the update is being implemented just for mere optimization?

Link to comment
Share on other sites

The HH issue was basically a combination of Bethesda's engine spamming onObjectEquipped events and that part running GetNthForm in a loop which runs slow and choking the game to death.

 

The GetNthForm part might even be the reason for other chokes where a lot of NPCs spawned or NPCs equip a lot of items at the same time and having a huge inventory.

Edited by Groovtama
Link to comment
Share on other sites

  • Recently Browsing   0 members

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