<#1739 OpenLane crashes with segfault on step 26 (...
# openlane-development
g
#1739 OpenLane crashes with segfault on step 26 (multi-corner STA) [and further on creating issue reproducible] Issue created by hpretl Description
Copy code
[STEP 26]
[INFO]: Running Multi-Corner Static Timing Analysis at the min process corner (log: spm/runs/RUN_2023.04.11_13.54.36/logs/signoff/26-rcx_mcsta.min.log)...
[ERROR]: during executing sta script /foss/tools/openlane/2023.04/scripts/openroad/sta/multi_corner.tcl
[ERROR]: Log: spm/runs/RUN_2023.04.11_13.54.36/logs/signoff/26-rcx_mcsta.min.log
[ERROR]: Last 10 lines:

This is free software, and you are free to change and redistribute it
under certain conditions; type `show_copying' for details.
This program comes with ABSOLUTELY NO WARRANTY; for details type `show_warranty'.
define_corners Slowest Typical Fastest
read_liberty -corner Slowest /foss/pdks/sky130A/libs.ref/sky130_fd_sc_hd/lib/sky130_fd_sc_hd__ss_100C_1v60.lib
read_liberty -corner Typical /foss/pdks/sky130A/libs.ref/sky130_fd_sc_hd/lib/sky130_fd_sc_hd__tt_025C_1v80.lib
read_liberty -corner Fastest /foss/pdks/sky130A/libs.ref/sky130_fd_sc_hd/lib/sky130_fd_sc_hd__ff_n40C_1v95.lib
Warning: /foss/pdks/sky130A/libs.ref/sky130_fd_sc_hd/lib/sky130_fd_sc_hd__ff_n40C_1v95.lib line 619, table template ccsn_ovrf not found.
child killed: segmentation violation

[ERROR]: Creating issue reproducible...
Expected Behavior No crash. Environment report
Copy code
/foss/tools/openlane/2023.04 > python3 ./env.py issue-survey
Kernel: Linux v5.15.49-linuxkit
Distribution: ubuntu 22.04
Python: v3.10.6 (OK)
Critical Alert: No Docker or Docker-compatible container engine was found.
OpenLane Git Version: 49c28da7bbfcf8596f0e2f98fffb7a70a8d6ed92
pip: INSTALLED
python-venv: INSTALLED
---
PDK Version Verification Status: OK
---
Git Log (Last 3 Commits)

49c28da7 2023-04-11T01:24:54+02:00 `or_issue.py` doc update and fix (#1733) - Kareem Farid -  (HEAD, tag: 2023.04.11, origin/master, origin/HEAD, master)
97fc540e 2023-04-11T01:24:14+02:00 `pdk_structure.md` updates (#1734) - Kareem Farid -  ()
b43df386 2023-04-10T17:33:21+02:00 Fix GDS write fail by KLayout (#1731) - Harald Pretl -  ()
---
Git Remotes

origin	<https://github.com/The-OpenROAD-Project/OpenLane> (fetch)
origin	<https://github.com/The-OpenROAD-Project/OpenLane> (push)
Reproduction material Not produced, as another crash happens here:
Copy code
[INFO]: Saving runtime environment...
OpenLane TCL Issue Packager

EFABLESS CORPORATION AND ALL AUTHORS OF THE OPENLANE PROJECT SHALL NOT BE HELD
LIABLE FOR ANY LEAKS THAT MAY OCCUR TO ANY PROPRIETARY DATA AS A RESULT OF USING
THIS SCRIPT. THIS SCRIPT IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND.

BY USING THIS SCRIPT, YOU ACKNOWLEDGE THAT YOU FULLY UNDERSTAND THIS DISCLAIMER
AND ALL IT ENTAILS.

[ERR] The sta script /foss/tools/openlane/2023.04/scripts/openroad/sta/multi_corner.tcl does not appear to be in /foss/tools/openlane/2023.04/scripts/sta.
[ERROR]: Failed to package reproducible.
[ERROR]: Step(26:parasitics_sta) failed with error:
-code 1 -level 0 -errorstack {INNER {invokeStk1 throw_error} CALL {run_tcl_script -tool sta -no_consume /foss/tools/openlane/2023.04/scripts/openroad/sta/multi_corner.tcl -no_update_current -indexed_log /foss/designs/spm/runs/RUN_2023.04.11_13.54.36/logs/signoff/26-rcx_mcsta.min.log -save to=/foss/designs/spm/runs/RUN_2023.04.11_13.54.36/results/routing/mca/process_corner_min,noindex,sdf,lib} CALL {run_sta_script /foss/tools/openlane/2023.04/scripts/openroad/sta/multi_corner.tcl -no_update_current -indexed_log /foss/designs/spm/runs/RUN_2023.04.11_13.54.36/logs/signoff/26-rcx_mcsta.min.log -save to=/foss/designs/spm/runs/RUN_2023.04.11_13.54.36/results/routing/mca/process_corner_min,noindex,sdf,lib} CALL {run_sta -log /foss/designs/spm/runs/RUN_2023.04.11_13.54.36/logs/signoff/rcx_mcsta.min.log -process_corner min -multi_corner -save_to /foss/designs/spm/runs/RUN_2023.04.11_13.54.36/results/routing/mca/process_corner_min} CALL run_parasitics_sta CALL run_parasitics_sta_step CALL {run_non_interactive_mode -design spm}} -errorcode NONE -errorinfo {
    while executing
"throw_error"
    (procedure "run_tcl_script" line 214)
    invoked from within
"run_tcl_script -tool sta -no_consume {*}$args"
    (procedure "run_sta_script" line 2)
    invoked from within
"run_sta_script $::env(SCRIPTS_DIR)/openroad/sta/multi_corner.tcl  -no_update_current {*}$arg_list"
    (procedure "run_sta" line 72)
    invoked from within
"run_sta -log $log_name -process_corner $process_corner -multi_corner  -save_to $directory"
    (procedure "run_parasitics_sta" line 41)
    invoked from within
"run_parasitics_sta"
    (procedure "run_parasitics_sta_step" line 9)
    invoked from within
"run_parasitics_sta_step"} -errorline 1
Relevant log output
Copy code
See above.
The-OpenROAD-Project/OpenLane