Red Hat Bugzilla – Bug 62181
pnmflip segfaulting when using the -r90 -180 -r270 options
Last modified: 2015-03-04 20:10:22 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.0 (X11; Linux i686; U;) Gecko/20020314
Description of problem:
the pnmflip command is not behaving properly when using the rotate switches -r90
-r180 -r270, the -lr -tb switchs seems to work fine
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. pick your favorite jpg image
2. jpegtopnm whatever.jpg |pnmflip -r90 > whatever.pnm
3. the pnmflip process segfaults
Actual Results: pnmflip errors out with a segfault
Expected Results: pnmflip should have created a resultant pnm file rotated
according to the -r switch used. this use to work. I have a program called
Gallery installed that makes use of pnmflip for image manipulations via the web.
Old versions of the netpbm-prog package worked just fine.
No useful error messages just a segfualt statement
*** Bug 62204 has been marked as a duplicate of this bug. ***
I saw this problem ages ago, when playing around with vidwhacker. Rebuilding
the package from the source RPM fixed it (with gcc 3 installed) and does so
now. I think this is a miscompilation problem with gcc 2.96.
OK, this is sort of a compiler optimizer bug. I've fixed it now in the source
and even optimized the whole thing by doing so. :-)
Will suggest this fix to the maintainer of the netpbm package upstream.
Read ya, Phil
The source was valid though, if a little ugly :o)
Should I go log this against gcc or has that been done internally?