Skip to content
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.

Stack Overflow during package sort phase #73

Open
samjsmart opened this issue Mar 23, 2020 · 0 comments
Open

Stack Overflow during package sort phase #73

samjsmart opened this issue Mar 23, 2020 · 0 comments

Comments

@samjsmart
Copy link

samjsmart commented Mar 23, 2020

Using both the new features and master branch are resulting in a full SDK being generated but a stack overflow exception being thrown during the package sorting phase.

UnrealFinderTool.exe!std::unordered_map<UEObject,Package const *,std::hash<UEObject>,std::equal_to<UEObject>,std::allocator<std::pair<UEObject const ,Package const *>>>::operator[](const UEObject &) Line 401
UnrealFinderTool.exe!PackageDependencyComparer::operator()(const Package & lhs, const Package & rhs) Line 27

It appears some sort of infinite recursion is being reached as there's well over 5k nested instances of PackageDependencyComparer::operator() being logged. Increasing stack size just results in a longer time before the exception is thrown. I've increased the stack as far as 16GB to see if eventually the sort completes but I had no success there.

@samjsmart samjsmart changed the title Stack Overflow during Bubble Sort phase Stack Overflow during package sort phase Mar 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant