rsz: repair_timing -sequence "buffer split" crashes with SIGSEGV in Resizer::makeBufferedNetGroute on a routed database (nangate45/jpeg)
Los mantenedores suelen responder en 1 día
@precisionmoon ya está trabajando en esto.
Desde el 30/11/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- Verilog
- Estrellas
- 3.4k
- Forks
- 1.1k
- Merge medio
- 3 d 11 h
- PR fusionados (30 d)
- 245
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de The-OpenROAD-Project/OpenROAD
-
odb LEF58_MINIMUMCUT: per-cut-class form never sets isPerCutClass, so drt silently drops the rulePosiblemente ocupada @LucasYuki la tomó hace 26 días. Abiertobug drt odb
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
The-OpenROAD-Project/OpenROAD#12176 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
drt: LEF58_SPACING ENDOFLINE MINLENGTH l TWOSIDES is checked one-sided (io passes the TWOEDGES flag as TWOSIDES)Posiblemente ocupada @osamahammad21 la tomó hace 26 días. Abiertobug drt
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
The-OpenROAD-Project/OpenROAD#12173 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
cleanup-opportunity: BUILD files never refer to mockturtle in third-partty/Quizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertobazel enhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 76/100
The-OpenROAD-Project/OpenROAD#12160 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
odb: Bazel build fails on linux/aarch64 — char fc compared to EOF in def/lef lexersPosiblemente ocupada @shivarammysore la tomó hace 32 días. Abiertobazel bug odb
Dificultad 1/5 Menos de una hora Aptitud para principiantes 80/100
The-OpenROAD-Project/OpenROAD#12095 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
syn: acd_resynth -apply segfaults on a database resynthesized in an earlier processQuizá libre de nuevo @povik la tomó hace 31 días y no hay ningún pull request abierto. Abiertobug syn
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
The-OpenROAD-Project/OpenROAD#12046 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día