Bug 1776857

Summary: "convert xc:black black.pnm" produces a white image
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: ImageMagickAssignee: Michael Cronenworth <mike>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 30CC: fedora, mike, pahan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ImageMagick-6.9.10.75-1.fc32 ImageMagick-6.9.10.75-1.fc31 ImageMagick-6.9.10.75-1.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-30 00:56:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1753610, 1761107    

Description Petr Pisar 2019-11-26 13:51:47 UTC
After upgrading ImageMagick from ImageMagick-1:6.9.10.65-1.fc32.x86_64 to ImageMagick-1:6.9.10.67-1.fc32.x86_64 this command:

$ convert xc:black black.pnm

creates a white image instead of black one. This is a regression probably caused by fixing a similar bug #1753607.

Before:
[test@fedora-32 tmp]$ convert xc:black black.pnm
[test@fedora-32 tmp]$ hexdump -C  black.pnm
00000000  50 34 0a 31 20 31 0a 80                           |P4.1 1..|
00000008

After:
[test@fedora-32 tmp]$ convert xc:black black.pnm
[test@fedora-32 tmp]$ hexdump -C  black.pnm
00000000  50 34 0a 31 20 31 0a 00                           |P4.1 1..|
00000008

Comment 1 Petr Pisar 2019-11-26 14:28:10 UTC
I built 6.9.10.75 from upstream and it fixes the issue. Please upgrade ImageMagick in Fedora (bug #1758906).

Comment 2 Michael Cronenworth 2019-11-26 14:57:58 UTC
Unfortunately upstream hasn't put the -75 tarball in place to download. I've pinged them.

Comment 3 Fedora Update System 2019-11-26 21:57:37 UTC
FEDORA-2019-ba7247edcf has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-ba7247edcf

Comment 4 Fedora Update System 2019-11-26 21:58:38 UTC
FEDORA-2019-4504010099 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-4504010099

Comment 5 Fedora Update System 2019-11-27 00:33:28 UTC
ImageMagick-6.9.10.75-1.fc31, rubygem-rmagick-2.16.0-27.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-ba7247edcf

Comment 6 Fedora Update System 2019-11-27 01:09:13 UTC
ImageMagick-6.9.10.75-1.fc30, rubygem-rmagick-2.16.0-27.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-4504010099

Comment 7 Ben Cotton 2019-11-27 14:23:52 UTC
Fedora 29 changed to end-of-life (EOL) status on 2019-11-26. Fedora 29 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 8 Petr Pisar 2019-11-27 15:31:30 UTC
*** Bug 1753610 has been marked as a duplicate of this bug. ***

Comment 9 Fedora Update System 2019-11-30 00:56:26 UTC
ImageMagick-6.9.10.75-1.fc31, rubygem-rmagick-2.16.0-27.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2019-12-05 01:11:47 UTC
ImageMagick-6.9.10.75-1.fc30, rubygem-rmagick-2.16.0-27.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.