Fix random internal crashes (#666).

Internally, in V3Broken check m_interpp for null, and make several cleanups
in the addNext/addNextHere/unlinkFr* methods.
This commit is contained in:
Wilson Snyder
2023-03-18 09:48:26 -04:00
parent 70c2d1eded
commit d60a3e2b66
5 changed files with 41 additions and 17 deletions
+1
View File
@@ -221,6 +221,7 @@ void V3ErrorGuarded::v3errorEnd(std::ostringstream& sstr, const string& extra)
}
#ifndef V3ERROR_NO_GLOBAL_
if (dumpTree() || debug()) {
V3Broken::allowMidvisitorCheck(true);
V3ThreadPool::s().requestExclusiveAccess([&]() VL_REQUIRES(m_mutex) {
if (dumpTree()) {
v3Global.rootp()->dumpTreeFile(