Subject: | Non-terminating v0.57 |
Date: | Tue, 28 Aug 2007 15:58:31 -0400 |
To: | bug-Graph-Easy [...] rt.cpan.org |
From: | Mitchell Perilstein <mperilstein [...] trueposition.com> |
Greets,
This input will hang v0.57 under perl v5.8.8 built for
i486-linux-gnu-thread-multi:
graph {
flow: south;
}
[0]
-> [2]
-> [3]
-> [6]
-> [10]
[0] -> [3]
[2] -> [10]
[3] -> {start:west; end:west;} [10]
[0] -> { end:east; } [6]
[0] -> [10]
Taking out the end:east; in 0->6 will let it terminate with a warning.
I ran it like this: PERLDB_OPTS="NonStop frame=1 AutoTrace
LineInfo=tperl.out" perl -d /usr/local/bin/graph-easy --verbose hangs.graph
Breaking after about 10s gave stacktrace as below, with full trace attached.
. = Graph::Easy::_straighten_path(ref(Graph::Easy), ref(ARRAY),
ref(ARRAY), ref(Graph::Easy::Edge)) called from file
`/usr/local/share/perl/5.8.8/Graph/Easy/Layout/Scout.pm' line 1353
$ = Graph::Easy::_astar(ref(Graph::Easy), ref(ARRAY), ref(ARRAY),
ref(Graph::Easy::Edge), 3) called from file
`/usr/local/share/perl/5.8.8/Graph/Easy/Layout/Scout.pm' line 1025
$ = Graph::Easy::_find_path_astar(ref(Graph::Easy),
ref(Graph::Easy::Edge)) called from file
`/usr/local/share/perl/5.8.8/Graph/Easy/Layout/Scout.pm' line 125
$ = Graph::Easy::_find_path(ref(Graph::Easy), ref(Graph::Easy::Node),
ref(Graph::Easy::Node), ref(Graph::Easy::Edge)) called from file
`/usr/local/share/perl/5.8.8/Graph/Easy/Layout/Path.pm' line 732
$ = Graph::Easy::_trace_path(ref(Graph::Easy), ref(Graph::Easy::Node),
ref(Graph::Easy::Node), ref(Graph::Easy::Edge)) called from file
`/usr/local/share/perl/5.8.8/Graph/Easy/Layout.pm' line 754
. = Graph::Easy::_layout(ref(Graph::Easy)) called from file
`/usr/local/share/perl/5.8.8/Graph/Easy/Layout.pm' line 485
. = eval {...} called from file
`/usr/local/share/perl/5.8.8/Graph/Easy/Layout.pm' line 472
. = Graph::Easy::layout(ref(Graph::Easy)) called from file
`/usr/local/share/perl/5.8.8/Graph/Easy.pm' line 1536
@ = Graph::Easy::_as_ascii(ref(Graph::Easy)) called from file
`/usr/local/share/perl/5.8.8/Graph/Easy.pm' line 1520
@ = Graph::Easy::as_ascii(ref(Graph::Easy)) called from file
`/usr/local/bin/graph-easy' line 135
--
mitch
Confidentiality Notice
This e-mail (including any attachments) is intended only for the recipients named above. It may contain confidential or privileged information and should not be read, copied or otherwise used by any other person. If you are not a named recipient, please notify the sender of that fact and delete the e-mail from your system.
Message body not shown because it is not plain text.