Bug 697823 - valgrind is changing behaviour of program
Summary: valgrind is changing behaviour of program
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: valgrind
Version: 6.1
Hardware: i386
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Jakub Jelinek
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-19 11:44 UTC by Miroslav Franc
Modified: 2016-02-01 02:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-29 17:21:26 UTC
Target Upstream Version:


Attachments (Terms of Use)
sample picture (496.30 KB, image/jpeg)
2011-04-19 11:44 UTC, Miroslav Franc
no flags Details

Description Miroslav Franc 2011-04-19 11:44:01 UTC
Created attachment 493164 [details]
sample picture

Description of problem:
On i386 valgrind doesn't behave like it should. When tried with ImageMagick's convert the program gives different outputs when run with valgrind and without. The output of the program should be the same.


Version-Release number of selected component (if applicable):
valgrind-3.6.0-3.el6.i686


How reproducible:
always


Steps to Reproduce:
1. convert -radial-blur 5 munich.jpg 0munich.jpg
2. valgrind convert -radial-blur 5 munich.jpg 1munich.jpg
3. md5sum [01]munich.gif


Actual results:
md5sums are different


Expected results:
md5sums are the same


Additional info:
1/ The sample picture used is in attachment.
2/ So far seems to be limited to i386 arch.
3/ This is most likely issue on rawhide and previous version as well.
4/ Other reproducers:
convert -equalize munich.jpg 0munich.gif
convert -posterize 10 munich.jpg 0munich.jpg
convert -posterize 10 munich.jpg 0munich.png
convert -posterize 10 munich.jpg 0munich.gif
convert -flop munich.jpg 0munich.gif
convert -flip munich.jpg 0munich.gif
convert -resize 50\% munich.jpg 0munich.gif
convert -radial-blur 5 munich.jpg 0munich.gif
convert -resize 160x100 munich.jpg 0munich.gif
5/ In some cases you can use ImageMagick's compare instead of md5sum, to verify the images are different visually.

Comment 2 Jakub Jelinek 2011-04-19 12:31:02 UTC
Might very well be e.g. https://bugs.kde.org/show_bug.cgi?id=197915 which isn't likely to be fixed any time soon.

Comment 6 Jeff Law 2012-05-29 17:21:26 UTC
Given the trend towards using the SSE units rather than the x87 FPU, properly modeling the x87 FPU just isn't going to be terribly important.  Given the amount of work necessary and the declining importance, I don't see how we can justify the engineering effort to address this isue.

Closing as WONTFIX.


Note You need to log in before you can comment on or make changes to this bug.