Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

segfault in resizer repair_timing -setup #5889

Open
gadfort opened this issue Oct 7, 2024 · 0 comments
Open

segfault in resizer repair_timing -setup #5889

gadfort opened this issue Oct 7, 2024 · 0 comments

Comments

@gadfort
Copy link
Collaborator

gadfort commented Oct 7, 2024

Describe the bug

Last night this error was triggered on our CI when updating OpenROAD:

Signal 11 received
Stack trace:
 0# 0x000056071E8EB868 in /sc_tools/bin/openroad
 1# 0x00007F5C92707090 in /lib/x86_64-linux-gnu/libc.so.6
 2# sta::ClkInfo::refsFilter(sta::StaState const*) const in /sc_tools/bin/openroad
 3# sta::TagGroupBldr::setMatchArrival(sta::Tag*, sta::Tag*, float const&, int, sta::PathVertexRep*) in /sc_tools/bin/openroad
 4# sta::ArrivalVisitor::visitFromToPath(sta::Pin const*, sta::Vertex*, sta::RiseFall const*, sta::Tag*, sta::PathVertex*, sta::Edge*, sta::TimingArc*, float, sta::Vertex*, sta::RiseFall const*, sta::Tag*, float&, sta::MinMax const*, sta::PathAnalysisPt const*) in /sc_tools/bin/openroad
 5# sta::PathVisitor::visitFromPath(sta::Pin const*, sta::Vertex*, sta::RiseFall const*, sta::PathVertex*, sta::Edge*, sta::TimingArc*, sta::Pin const*, sta::Vertex*, sta::RiseFall const*, sta::MinMax const*, sta::PathAnalysisPt const*) in /sc_tools/bin/openroad
 6# sta::PathVisitor::visitEdge(sta::Pin const*, sta::Vertex*, sta::Edge*, sta::Pin const*, sta::Vertex*) in /sc_tools/bin/openroad
 7# 0x000056071EC71C54 in /sc_tools/bin/openroad
 8# sta::ArrivalVisitor::visit(sta::Vertex*) in /sc_tools/bin/openroad
 9# 0x000056071EC37A3D in /sc_tools/bin/openroad
10# sta::DispatchQueue::dispatch_thread_handler(unsigned long) in /sc_tools/bin/openroad
11# 0x00007F5C92B10793 in /lib/x86_64-linux-gnu/libstdc++.so.6
12# 0x00007F5C96A61609 in /lib/x86_64-linux-gnu/libpthread.so.0
13# clone in /lib/x86_64-linux-gnu/libc.so.6

The error occurred in repair_timing -setup. This is likely due to some thread safety issues.

Expected Behavior

No segfault

Environment

OpenROAD v2.0-16267-g4ee14b488 
Features included (+) or not (-): +Charts +GPU +GUI +Python

To Reproduce

sc_issue_jpeg_job0_freepdk45_nangate45_cts0_20241007-012707.tar.gz

tar xvf sc_issue_jpeg_job0_freepdk45_nangate45_cts0_20241007-012707.tar.gz
cd sc_issue_jpeg_job0_freepdk45_nangate45_cts0_20241007-012707
./run.sh

This issue appears intermittent, so when I ran it again it went away.

Relevant log output

[INFO CTS-0098] Clock net "clk"
[INFO CTS-0099]  Sinks 4521
[INFO CTS-0100]  Leaf buffers 153
[INFO CTS-0101]  Average sink wire length 846.21 um
[INFO CTS-0102]  Path depth 4 - 5
[INFO CTS-0207]  Leaf load cells 141
[INFO RSZ-0058] Using max wire length 640um.
Placement Analysis
---------------------------------
total displacement        537.5 u
average displacement        0.0 u
max displacement            3.6 u
original HPWL          494447.6 u
legalized HPWL         505048.0 u
delta HPWL                    2 %

Signal 11 received
Stack trace:
 0# 0x000056071E8EB868 in /sc_tools/bin/openroad
 1# 0x00007F5C92707090 in /lib/x86_64-linux-gnu/libc.so.6
 2# sta::ClkInfo::refsFilter(sta::StaState const*) const in /sc_tools/bin/openroad
 3# sta::TagGroupBldr::setMatchArrival(sta::Tag*, sta::Tag*, float const&, int, sta::PathVertexRep*) in /sc_tools/bin/openroad
 4# sta::ArrivalVisitor::visitFromToPath(sta::Pin const*, sta::Vertex*, sta::RiseFall const*, sta::Tag*, sta::PathVertex*, sta::Edge*, sta::TimingArc*, float, sta::Vertex*, sta::RiseFall const*, sta::Tag*, float&, sta::MinMax const*, sta::PathAnalysisPt const*) in /sc_tools/bin/openroad
 5# sta::PathVisitor::visitFromPath(sta::Pin const*, sta::Vertex*, sta::RiseFall const*, sta::PathVertex*, sta::Edge*, sta::TimingArc*, sta::Pin const*, sta::Vertex*, sta::RiseFall const*, sta::MinMax const*, sta::PathAnalysisPt const*) in /sc_tools/bin/openroad
 6# sta::PathVisitor::visitEdge(sta::Pin const*, sta::Vertex*, sta::Edge*, sta::Pin const*, sta::Vertex*) in /sc_tools/bin/openroad
 7# 0x000056071EC71C54 in /sc_tools/bin/openroad
 8# sta::ArrivalVisitor::visit(sta::Vertex*) in /sc_tools/bin/openroad
 9# 0x000056071EC37A3D in /sc_tools/bin/openroad
10# sta::DispatchQueue::dispatch_thread_handler(unsigned long) in /sc_tools/bin/openroad
11# 0x00007F5C92B10793 in /lib/x86_64-linux-gnu/libstdc++.so.6
12# 0x00007F5C96A61609 in /lib/x86_64-linux-gnu/libpthread.so.0
13# clone in /lib/x86_64-linux-gnu/libc.so.6

Screenshots

No response

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant