Issue #490
%Error: Internal Error: ...: ../V3Link.cpp:113: Symbol table not found looking up symbol
| Status: | Closed | Start date: | 04/24/2012 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | Wilson Snyder | % Done: | 0% |
|
| Category: | TranslationError | |||
| Target version: | - |
Description
Got internal error (without any regular errors):
%Error: Internal Error: ...: ../V3Link.cpp:113: Symbol table not found looking up symbol
Running under gdb:
Breakpoint 1, LinkVisitor::symsFind (this=0x7fffffff6510, nodep=0xae2840) at ../V3Link.cpp:113
113 nodep->v3fatalSrc("Symbol table not found looking up symbol");
(gdb) bt
#0 LinkVisitor::symsFind (this=0x7fffffff6510, nodep=0xae2840) at ../V3Link.cpp:113
#1 0x00000000005935b0 in LinkVisitor::visit (this=0x7fffffff6510, nodep=0x12eee20) at ../V3Link.cpp:727
#2 0x000000000049459f in AstPackageImport::accept (this=0x12eee20, v=..., vup=0x0) at ../V3AstNodes.h:1084
#3 0x0000000000488f7f in AstNode::iterateAndNext (this=0x12e74c0, v=..., vup=0x0) at ../V3Ast.cpp:776
#4 0x0000000000488df9 in AstNode::iterateChildren (this=0x12e71e0, v=..., vup=0x0) at ../V3Ast.cpp:758
#5 0x000000000058f751 in LinkVisitor::visit (this=0x7fffffff6510, nodep=0x12e71e0) at ../V3Link.cpp:268
#6 0x0000000000477edf in AstNVisitor::visit (this=0x7fffffff6510, nodep=0x12e71e0, vup=0x0) at ./V3Ast__gen_visitor.h:117
#7 0x000000000042b81b in AstModule::accept (this=0x12e71e0, v=..., vup=0x0) at ../V3AstNodes.h:1046
#8 0x0000000000488f7f in AstNode::iterateAndNext (this=0x5e44260, v=..., vup=0x0) at ../V3Ast.cpp:776
#9 0x0000000000488dd1 in AstNode::iterateChildren (this=0xab8bc0, v=..., vup=0x0) at ../V3Ast.cpp:757
#10 0x000000000058ee38 in LinkVisitor::visit (this=0x7fffffff6510, nodep=0xab8bc0) at ../V3Link.cpp:224
#11 0x0000000000475ddb in AstNetlist::accept (this=0xab8bc0, v=..., vup=0x0) at ../V3AstNodes.h:4183
#12 0x0000000000593a96 in LinkVisitor::LinkVisitor (this=0x7fffffff6510, rootp=0xab8bc0) at ../V3Link.cpp:782
#13 0x000000000058d676 in V3Link::link (rootp=0xab8bc0) at ../V3Link.cpp:796
#14 0x000000000046ebb7 in process () at ../Verilator.cpp:158
#15 0x000000000047491c in main (argc=210, argv=0x7fffffff7388, env=0x7fffffff7a20) at ../Verilator.cpp:668
(gdb) p *nodep
$3 = {_vptr.AstNode = 0x66d130, m_nextp = 0xae23e0, m_backp = 0xd5a600, m_op1p = 0x0, m_op2p = 0xae0950, m_op3p = 0x0, m_op4p = 0x0, m_iterpp = 0x0, m_headtailp = 0x0, m_fileline = 0xae0d70, m_editCount = 1080915,
static s_editCntGbl = 2172149, static s_editCntLast = 1081256, m_clonep = 0x0, m_cloneCnt = 0, static s_cloneCntGbl = 16631, m_numeric = 0, m_didWidth = false, m_doingWidth = false, m_width = 0, m_widthMin = 0,
m_user1p = 0xa87fbc0, m_user1Cnt = 2, m_user2Cnt = 1, m_user2p = 0x1, m_user3p = 0x0, m_user3Cnt = 0, m_user4Cnt = 1, m_user4p = 0xae26b0, m_user5p = 0x0, m_user5Cnt = 0}
It looks like this is related to bug 474, i.e. I am trying to work around bug 474 but workaround causes this internal error.
History
Updated by Wilson Snyder about 1 year ago
Yes, it's choking on the package import.
Updated by Wilson Snyder about 1 year ago
- Category set to TranslationError
- Status changed from New to Resolved
- Assignee set to Wilson Snyder
Missed case where need to do package before import.
Fixed in git towards 3.840+.
Also available in: Atom
![[logo]](/img/veripool_small.png)