Skip to content

spack graph --concretize crashes for complex graphs #1098

@gartung

Description

@gartung

mac-127459:spack gartung$ spack graph --concretize gallery@dev%gcc@4.9.3
...

| | | |/| |||||_|/Traceback (most recent call last):
File "/Users/gartung/spack/bin/spack", line 179, in
main()
File "/Users/gartung/spack/bin/spack", line 157, in main
return_val = command(parser, args)
File "/Users/gartung/spack/lib/spack/spack/cmd/graph.py", line 63, in graph
graph_ascii(specs[0], debug=spack.debug)
File "/Users/gartung/spack/lib/spack/spack/graph.py", line 499, in graph_ascii
graph.write(spec, color=color, out=out)
File "/Users/gartung/spack/lib/spack/spack/graph.py", line 426, in write
self._back_edge_line(prev_ends, b, i, False, 'left-1')
File "/Users/gartung/spack/lib/spack/spack/graph.py", line 303, in _back_edge_line
advance(flen, lambda: [("| ", self._pos)] )
File "/Users/gartung/spack/lib/spack/spack/graph.py", line 280, in advance
self._write_edge(*e)
File "/Users/gartung/spack/lib/spack/spack/graph.py", line 161, in _write_edge
name = self._frontier[index][sub]
IndexError: list index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions