Skip to content

Signal 11 Segfault in sta::Sta::delayCalcPreamble() during stage 2 floorplan final metrics #11171

Description

@sathwikrao0408

Describe the bug

The flow crashes with a Segmentation Fault (Signal 11) at the end of the floorplan stage during metric reporting -

Signal 11 received
Stack trace:
 0# 0x00005622E142B3A6 in /foss/tools/bin/openroad
 1# 0x00007F79471F3330 in /lib/x86_64-linux-gnu/libc.so.6
 2# 0x00005622E410A73C in /foss/tools/bin/openroad
 3# 0x00005622E411C220 in /foss/tools/bin/openroad
 4# sta::Sta::delayCalcPreamble() in /foss/tools/bin/openroad
 5# sta::Sta::searchPreamble() in /foss/tools/bin/openroad
 6# 0x00005622E15B91DA in /foss/tools/bin/openroad
 7# TclNRRunCallbacks in /lib/x86_64-linux-gnu/libtcl8.6.so
 8# 0x00007F794AE536BC in /lib/x86_64-linux-gnu/libtcl8.6.so
 9# Tcl_EvalEx in /lib/x86_64-linux-gnu/libtcl8.6.so
10# Tcl_Eval in /lib/x86_64-linux-gnu/libtcl8.6.so
11# sta::sourceTclFile(char const*, bool, bool, Tcl_Interp*) in /foss/tools/bin/openroad
12# 0x00005622E4104E4C in /foss/tools/bin/openroad
13# ord::tclAppInit(Tcl_Interp*) in /foss/tools/bin/openroad
14# Tcl_MainEx in /lib/x86_64-linux-gnu/libtcl8.6.so
15# main in /foss/tools/bin/openroad
16# 0x00007F79471D81CA in /lib/x86_64-linux-gnu/libc.so.6
17# __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
18# _start in /foss/tools/bin/openroad
Elapsed time: 2:39.61[h:]min:sec. CPU time: user 312.70 sys 29.39 (214%). Peak memory: 5147896KB.
make: *** [Makefile:415: do-2_1_floorplan] Error 245

SKIP_REPORT_METRICS = 1, skips this and moves ahead with the rest of the flow, but the metrics are important for me.

Expected Behavior

report generation by default in the reports folder.

Environment

I am running openroad on podman iic-osic-tools - 
[WARNING] Your current OpenROAD version is outdated. (i am using an older version of openroad, however, the new versions too does not have a patch for this)
OpenROAD version: 26Q3-18-g5c5380c49a
OS: Ubuntu 24.04.4 LTS
Compiler: GNU 13.3.0

To Reproduce

run make DESIGN_CONFIG= do-floorplan.

make sure the SKIP_REPORT_METRICS is not equal to 1.

Relevant log output

"Report metrics stage 2, floorplan final...
Signal 11 received
Stack trace:
 0# 0x00005622E142B3A6 in /foss/tools/bin/openroad
 1# 0x00007F79471F3330 in /lib/x86_64-linux-gnu/libc.so.6
 2# 0x00005622E410A73C in /foss/tools/bin/openroad
 3# 0x00005622E411C220 in /foss/tools/bin/openroad
 4# sta::Sta::delayCalcPreamble() in /foss/tools/bin/openroad
 5# sta::Sta::searchPreamble() in /foss/tools/bin/openroad
 6# 0x00005622E15B91DA in /foss/tools/bin/openroad
 7# TclNRRunCallbacks in /lib/x86_64-linux-gnu/libtcl8.6.so
 8# 0x00007F794AE536BC in /lib/x86_64-linux-gnu/libtcl8.6.so
 9# Tcl_EvalEx in /lib/x86_64-linux-gnu/libtcl8.6.so
10# Tcl_Eval in /lib/x86_64-linux-gnu/libtcl8.6.so
11# sta::sourceTclFile(char const*, bool, bool, Tcl_Interp*) in /foss/tools/bin/openroad
12# 0x00005622E4104E4C in /foss/tools/bin/openroad
13# ord::tclAppInit(Tcl_Interp*) in /foss/tools/bin/openroad
14# Tcl_MainEx in /lib/x86_64-linux-gnu/libtcl8.6.so
15# main in /foss/tools/bin/openroad
16# 0x00007F79471D81CA in /lib/x86_64-linux-gnu/libc.so.6
17# __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
18# _start in /foss/tools/bin/openroad
Elapsed time: 2:39.61[h:]min:sec. CPU time: user 312.70 sys 29.39 (214%). Peak memory: 5147896KB.
make: *** [Makefile:415: do-2_1_floorplan] Error 245
"

Screenshots

No response

Additional Context

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions