https://open-source-silicon.dev logo
#openroad
Title
# openroad
t

tnt

12/06/2021, 8:44 AM
Copy code
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000556bb912ef03 in sta::RiseFallMinMax::maxValue(float&, bool&) const ()
(gdb) bt
#0  0x0000556bb912ef03 in sta::RiseFallMinMax::maxValue(float&, bool&) const ()
#1  0x0000556bb90e5ceb in sta::LibertyPort::capacitance() const ()
#2  0x0000556bb96fd32a in cts::TechChar::computeTopologyResults(cts::TechChar::SolutionData, sta::Vertex*, float, unsigned int) ()
#3  0x0000556bb97067ca in cts::TechChar::create() ()
#4  0x0000556bb96cd0df in cts::TritonCTS::runTritonCts() ()
#5  0x0000556bb96d8c26 in _wrap_run_triton_cts ()
#6  0x00007fa05d3235f2 in TclNRRunCallbacks () from /lib/x86_64-linux-gnu/libtcl8.6.so
#7  0x00007fa05d324924 in ?? () from /lib/x86_64-linux-gnu/libtcl8.6.so
#8  0x00007fa05d324367 in Tcl_EvalEx () from /lib/x86_64-linux-gnu/libtcl8.6.so
#9  0x00007fa05d3254fa in Tcl_Eval () from /lib/x86_64-linux-gnu/libtcl8.6.so
#10 0x0000556bb90cff48 in sta::sourceTclFile(char const*, bool, bool, Tcl_Interp*) ()
#11 0x0000556bb8ef65a5 in tclAppInit(int&, char**, char const*, Tcl_Interp*) [clone .constprop.0] ()
#12 0x00007fa05d3e7006 in Tcl_MainEx () from /lib/x86_64-linux-gnu/libtcl8.6.so
#13 0x0000556bb8ec8e74 in main ()
Doing CTS using
OpenROAD v2.0-2068-g8fb816277
in the Openlane flow ...
m

Matt Liberty

12/06/2021, 8:45 AM
You should package a test case and file an issue. Its hard to guess from the stack trace what is wrong
do you have any warnings in the log?
t

tnt

12/06/2021, 9:02 AM
Thing is ... I don't even know how to reproduce it in gdb, I only got the stacktrace off a core file. OpenLane sets up so many thing in the environment pointing everywhere that calling openroad manually in the same way is very hard to achieve 😕
Note that this isn't the official git hash from openlane. When I was using the official git hash, it was crashing way earlier in STA when calling some spdlog functions. Looking at the git log I saw that master had some fixes related to spdlog so I updated and that indeed fixed that crash in STA.