Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 1995 17:34:42 -0800 (PST)
From:      pete@pelican.com (Pete Carah)
To:        current@FreeBSD.org
Subject:   xv messed up
Message-ID:  <m0rsKkV-000K3WC@pelican.com>

next in thread | raw e-mail | index | archive | help
xv seems to mess up on some PDS/VICAR files (yes, the voyager 2 pictures)
if -O is used; this seems to attack both 2.6.2 and whatever current is
(2.6.3?)

It seg-faults in the vicinity of the switch in ReadPicFile in xv.c,
with a bogus value for the fname (the pointer itself contains some
miscellaneous upper-case ascii, if I can trust gdb...)  The exact location
of the seg fault and other messages that appear differ depending on the
number and placement of fprintf(stderr, ...) statements; that is often
symptomatic of optimizer bugs.  The code itself looks very straightforward
in that area.

Works fine with -O not specified and doesn't "seem" slower either.

-- Pete



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0rsKkV-000K3WC>