rsz: repair_timing -sequence "buffer split" crashes with SIGSEGV in Resizer::makeBufferedNetGroute on a routed database (nangate45/jpeg)
I maintainer di solito rispondono entro 1 giorno
@precisionmoon ci sta già lavorando.
Dal 30/11/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Describe the bug
repair_timing -setup -sequence "buffer split" on a routed database (6_final.odb) read in a new session crashes with signal 11 right after the first progress row. The crash is in rsz::Resizer::makeBufferedNetGroute(), reached from Rebuffer::rebufferPin() through BufferCandidate::apply().
It reproduces on the stock ORFS nangate45/jpeg design with default settings. It happens with SPEF parasitics and also after estimate_parasitics -placement, and with or without set_propagated_clock.
This may share a root cause with #11852 (same function, routed database read in a new session). There the result is RSZ-0074. Here, on our build, it is a segmentation fault.
Expected Behavior
repair_timing completes, or reports that the buffering move does not apply.
Environment
./etc/Env.sh could not be run: we use a prebuilt OpenROAD binary and the source tree is not available on the machine.
OpenROAD version: 26Q4-2390-g1df36bc6d5
OS: Linux x86_64
Threads: 1
ORFS flow scripts: snapshot copy, commit unknown
Design: flow/designs/nangate45/jpeg, default config, after make (6_final.odb, 6_final.sdc, 6_final.spef)
To Reproduce
Run from ORFS flow/:
PLATFORM_DIR=platforms/nangate45 RESULTS_DIR=results/nangate45/jpeg/base openroad -exit issue_min.tcl
issue_min.tcl:
read_liberty $::env(PLATFORM_DIR)/lib/NangateOpenCellLibrary_typical.lib
read_db $::env(RESULTS_DIR)/6_final.odb
read_sdc $::env(RESULTS_DIR)/6_final.sdc
source $::env(PLATFORM_DIR)/setRC.tcl
read_spef $::env(RESULTS_DIR)/6_final.spef
repair_timing -setup -sequence "buffer split"
The LEF data is inside the .odb, so there is no read_lef. read_sdc is needed, because without constraints there is no setup violation and repair_timing returns early.
Relevant log output
[INFO RSZ-0100] Repair move sequence: BufferMove SplitLoadMove
[INFO RSZ-0094] Found 641 endpoints with setup violations.
[INFO RSZ-0099] Repairing 641 out of 641 (100.00%) violating endpoints...
Iter | Removed | Resized | Inserted | Cloned | Pin | Area | WNS | TNS | Viol | Worst
0* | 0 | 0 | 0 | 0 | 0 | +0.0% | -0.111 | -38.9 | 641 | fdct_zigzag.dct_mod.dct_block_2.dct_unit_2.macu.mult_res\[16\]$_DFFE_PP_/D
Signal 11 received
Stack trace:
0# 0x2222f6f in handler()
1# 0x7ff08a8d9330 in ??
2# 0x34d98dd in rsz::Resizer::makeBufferedNetGroute()
3# 0x34bc18d in rsz::Rebuffer::makeBufferedNet()
4# 0x34bedb9 in rsz::Rebuffer::rebufferPin()
5# 0x3544ffb in rsz::BufferCandidate::apply()
6# 0x3411ddc in rsz::MoveCommitter::commit()
7# 0x356cb61 in rsz::SetupLegacyBase::tryCandidateSequence()
8# 0x356d18e in rsz::SetupLegacyBase::tryRepairTarget()
9# 0x356dc5e in rsz::SetupLegacyBase::repairPath()
10# 0x3578344 in rsz::SetupLegacyPolicy::repairEndpoint()
11# 0x35768b0 in rsz::SetupLegacyPolicy::iterate()
12# 0x350f262 in rsz::Optimizer::run()
13# 0x3390087 in rsz::Resizer::repairSetup()
14# 0x32d93dc in rsz::repair_setup()
15# 0x32dfdd5 in _wrap_repair_setup()
16# 0x68fad93 in Tcl_EvalObjv
17# 0x68fc453 in TclEvalEx
18# 0x69ed652 in Tcl_FSEvalFileEx
19# 0x2225823 in evalTclFile()
20# 0x2224bef in ord::tclInit()
21# 0x2223292 in ord::tclAppInit()
22# 0x6a08a2c in Tcl_MainEx
23# 0x2222ed7 in main
24# 0x7ff08a8be1ca in ??
25# 0x7ff08a8be28b in __libc_start_main
26# 0x22226aa in _start
Screenshots
No response
Additional Context
- We hit the same crash on every run where a buffering move was attempted: 33 of 33 routed databases across nangate45, asap7 and sky130hd designs, always at the same frame.
- On those designs,
-sequence "split"and-sequence "clone"alone completed without crashing on the same kind of database. Only sequences that includebuffercrashed. - On jpeg,
-sequence "sizeup"on the same database did not crash. It stopped later with DPL-0038 because 6_final contains filler cells, which is unrelated. - We could not test a pre-route database for jpeg, because 4_cts.odb was not kept in this run.
- Frames 0, 2 to 23 and 26 are identical across three runs (SPEF; estimate_parasitics -placement; the minimal script). Only the libc frames differ.
- Lingua principale
- Verilog
- Stelle
- 3.3k
- Fork
- 1.1k
- Merge medio
- 3g 11h
- PR unite (30g)
- 247
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di The-OpenROAD-Project/OpenROAD
-
drt: min-area patch owner search compares the origin-relative patch box with absolute shapes, so patches are droppedForse già presa @bnmfw l’ha presa 11 giorni fa. Apertabug drt
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
The-OpenROAD-Project/OpenROAD#12191 · 5 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
odb LEF58_MINIMUMCUT: per-cut-class form never sets isPerCutClass, so drt silently drops the ruleForse già presa @LucasYuki l’ha presa 25 giorni fa. Apertabug drt odb
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
The-OpenROAD-Project/OpenROAD#12176 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
drt: LEF58_SPACING ENDOFLINE MINLENGTH l TWOSIDES is checked one-sided (io passes the TWOEDGES flag as TWOSIDES)Forse già presa @osamahammad21 l’ha presa 25 giorni fa. Apertabug drt
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
The-OpenROAD-Project/OpenROAD#12173 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
cleanup-opportunity: BUILD files never refer to mockturtle in third-partty/Forse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertabazel enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 76/100
The-OpenROAD-Project/OpenROAD#12160 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
odb: Bazel build fails on linux/aarch64 — char fc compared to EOF in def/lef lexersForse già presa @shivarammysore l’ha presa 32 giorni fa. Apertabazel bug odb
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
The-OpenROAD-Project/OpenROAD#12095 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno