Re: graphviz: dot on mipsel fails with emit.c:3873: bezier_bb: Assertion `bz.size > 0' failed

Aurelien Jarno <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <[email protected]>
On 2015-11-09 11:38, James Cowgill wrote:
> Control: notfound -1 2.38.0-10
> Control: found -1 2.38.0-11
> 
> Hi,
> 
> On Sat, 2015-11-07 at 03:52 +0100, Johannes Schauer wrote:
> > Package: graphviz
> > Version: 2.38.0-10
> > Severity: important
> > Control: block 804296 by -1
> > 
> > Hi,
> > 
> > I ran into this problem when building my package botch on mipsel:
> [...]
> > The problem can be trigged by the most minimal input:
> > 
> > 	> $ echo -ne 'digraph G {A -> B}' | dot
> > 	> dot: emit.c:3873: bezier_bb: Assertion `bz.size > 0' failed.
> > 	Aborted
> 
> I can reproduce this using graphviz 2.38.0-11, but not 2.38.0-10.
> 
> The most obvious difference between them is that -11 is compiled with
> gcc-5 and -10 is not. That could be related (I havn't done much
> investigation so far)?

Yes, this is due to gcc-5 and compiling emit.c with -fno-ipa-sra
workarounds the problem. This is therefore likely the same issue than
bug #804536 / upstream bug PR68273, though I haven't analyzed the
generated code in details.

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
[email protected]                 http://www.aurel32.net
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJWQm2NAAoJELqceAYd3YybN5oQALoa/5C1zZVcQcH/hjHqHBI6
hxLuurTH8Zg9LdN4oB0HXTX8oqWGwBDsOlSfZThphvnXAuAu6O5cjvo6bs+k9eRu
l4gEBBk/OaVBvl0ZEuWxW6Ni6rFn0TdKoN0o2NI+xqfvqsXyHY4y7LU+L6C/4H8A
uBMf1b8LuJrmBptU/FyXewpfOUv1MWHF5MZVBP7QEA/LAoLsN7NJxOmbiXXwHMbQ
uYk0GGakfNiyrJn9+eqy4dPNvGrjDww2H/VFvUFT9cyx49HzCWJwDPYTwBjOT0dF
V3pfa8V6eMe4KsWvopwG1DHn/j3XewpEXFxq/h3dhwTWl5OX1vwvauzUzYWn25dn
3OuZii0grI+IQQXy67gmXAE3PlJX++9EjeEJrq/fgxVjdwGEizpnDUjcpf/++RY3
/RkBYnKUmlpBpu4Z1yLnd2O2jrH8DQropVKGypoDClI08J8h7etqsAP0RD/6bhsV
9KprZ4AXG3umSdqqYV24d9/s7uI7Fib4G4iqhUm1jyEEq9X0eQnrP2nPVLUlk9qt
TG560JxwSX3MFO2udpzgBGdtW825+6hG9wp3fKx7lVloHuF+h2IFyabZckjCHL+x
2Rmhz7d59D4LKiXDe2U7yHRwOkrSPytonEAkKKHT2yB0p8EhIeHVHoJ9j4TfvKJ2
MMZHxGA56GbQAiD6A7Vf
=5YJ+
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.