Skip to content

vtr_reg_nightly_test7/titan_other_run_flat Failed #2786

Closed
@ueqri

Description

@ueqri

vtr_reg_nightly_test7/titan_other_run_flat/stratixiv_arch.timing.xml/CH_DFSIN_stratixiv_arch_timing.blif failed as mentioned in PR #2785.

This failure occurs after merging the serial router enhancement (#2720). Looks like the changes have led to a new corner case related to the sync_clustered_netlist_to_routing routine based on the following gdb backtraces.

@duck2 Hi, Fahri. I was wondering if you have any thoughts on this failure?

...... (logs are omitted; if needed, please refer to https://pastebin.ubuntu.com/p/Pz7VXPrcsz/)

Router Stats: total_nets_routed: 131085 total_connections_routed: 422775 total_heap_pushes: 101646662 total_heap_pops: 12876828
Serial Connection Router is being destroyed. Time spent on path search: 20.675 seconds.
# Routing took 126.47 seconds (max_rss 6977.0 MiB, delta_rss +3739.7 MiB)

Checking to ensure routing is legal...
# Checking to ensure non-configurable edges are legal
# Checking to ensure non-configurable edges are legal took 0.59 seconds (max_rss 6977.0 MiB, delta_rss +0.0 MiB)
Completed routing consistency check successfully.

Serial number (magic cookie) for the routing is: -670169817
Circuit successfully routed with a channel width factor of 300.
# Synchronize the packed netlist to routing optimization
/path/to/vpr/src/base/netlist.tpp:1947 associate_pin_with_net: Assertion 'net_pins_[net_id][0] == PinId::INVALID()' failed (Must be no existing net driver).

Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff7a227f1 in __GI_abort () at abort.c:79
#2  0x00005555556dfe89 in vtr::assert::handle_assert(char const*, char const*, unsigned int, char const*, char const*)
    (expr=0x555555a45670 "net_pins_[net_id][0] == PinId::INVALID()", file=<optimized out>, line=<optimized out>, function=0x555555a46209 "associate_pin_with_net", msg=0x555555a456c8 "Must be no existing net driver")
    at /home/yanhang1/updated-master/libs/libvtrutil/src/vtr_assert.cpp:21
#3  0x0000555555a2c876 in Netlist<ClusterBlockId, ClusterPortId, ClusterPinId, ClusterNetId>::associate_pin_with_net(ClusterPinId, PinType, ClusterNetId) (this=0x555555d46278 <g_vpr_ctx+3384>, pin_id=..., type=<optimized out>, net_id=...)
    at /path/to/vpr/src/base/netlist.tpp:1947
#4  0x0000555555a3887d in Netlist<ClusterBlockId, ClusterPortId, ClusterPinId, ClusterNetId>::create_pin(ClusterPortId, unsigned int, ClusterNetId, PinType, bool)
    (this=0x555555d46278 <g_vpr_ctx+3384>, port_id=..., port_bit=<optimized out>, net_id=..., type=<optimized out>, is_const=<optimized out>) at /path/to/vpr/src/base/netlist.tpp:754
#5  0x0000555555966f4f in ClusteredNetlist::create_pin(ClusterPortId, unsigned int, ClusterNetId, PinType, int, bool)
    (this=<optimized out>, is_const=false, pin_index=<optimized out>, pin_type_=<optimized out>, net_id=..., port_bit=<optimized out>, port_id=...) at /path/to/vpr/src/base/clustered_netlist.cpp:144
#6  sync_clustered_netlist_to_routing() ()
    at /path/to/vpr/src/pack/sync_netlists_to_routing_flat.cpp:407
#7  0x00005555559f9fd5 in sync_netlists_to_routing_flat() ()
    at /path/to/vpr/src/pack/sync_netlists_to_routing_flat.cpp:466
#8  vpr_analysis_flow(Netlist<vtr::StrongId<general_blk_id_tag, int, -1>, vtr::StrongId<general_port_id_tag, int, -1>, vtr::StrongId<general_pin_id_tag, int, -1>, vtr::StrongId<general_net_id_tag, int, -1> > const&, t_vpr_setup&, t_arch const&, RouteStatus const&, bool)
    (is_flat=true, route_status=..., Arch=<optimized out>, vpr_setup=<optimized out>, net_list=...)
    at /path/to/vpr/src/base/vpr_api.cpp:1482
#9  vpr_flow(t_vpr_setup&, t_arch&) (vpr_setup=<optimized out>, arch=<optimized out>)
    at /path/to/vpr/src/base/vpr_api.cpp:432
#10 0x00005555555f3e54 in main(int, char const**) (argc=15, argv=0x7fffffffdba8)

Metadata

Metadata

Assignees

No one assigned

    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