Number: 1432
Title: Dot dies with "Error: trouble in init_rank"
Submitter: Peter Hawkins
Date: September 5, 2008
Subsys: dot
Version: 2.21
System: x86-64 Ubuntu Linux 8.04
Severity: minor
Problem:
Hi...

Thanks for writing dot, it's an extremely handy tool.

The following dot file is output produced by an automated program analysis tool. When given as input to "dot -Tps", dot crashes with the following output:


Error: trouble in init_rank
	virtual 3
	virtual 1
	virtual 2
	virtual 2
	virtual 2
	virtual 3
	virtual 2
	virtual 2
	virtual 1
	virtual 1
	virtual 2
	19 1
	21 3
	L20 2
	32 3
	L31 2
	virtual 1
	virtual 1
	virtual 1
	50 2
	virtual 1
	virtual 1
	47 2
	virtual 1
Aborted

I can reproduce the same behavior with versions 2.16, 2.20.2, and the September 5 2.21 development snapshot.

Removing some of the edges of the graph often seems to help (for example, all of the edges labeled "--").

In addition, when I attempted to submit this bug report using the online WWW form, I received a "500 Internal Server Error" message.

Cheers, Peter
Input:

b1432.dot
Comments: [erg] The ol' "init rank" bug
Owner: *
Status: *