| Summary: | Bug in netpbm introduced in 10.56 causing hangs during pnmtops conversion | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Raman Gupta <rocketraman> | |
| Component: | netpbm | Assignee: | Jindrich Novy <novyjindrich> | |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 19 | CC: | novyjindrich, phracek | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | netpbm-10.61.02-8.fc20 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1031514 1037756 (view as bug list) | Environment: | ||
| Last Closed: | 2013-12-21 02:16:27 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: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1031514 | |||
|
Description
Raman Gupta
2013-11-12 14:08:50 UTC
In F19 we currently has netpbm-10.61.02. Do you have any test scenario? If I will find the patch then it will be in F19 immediatelly. But as I mentioned above some scenario would be good. My particular scenario was here: http://unix.stackexchange.com/questions/93384/pnmtops-subprocess-hang-when-called-from-a-scanadf-script However, this is very easy to replicate by calling pnmtops from the following wrapper script: -------------------------------- #!/bin/bash # This opens several file descriptor's in order to lock up pnmtops < 10.64.02 exec 3<> $(mktemp -t tmp.descriptor.XXXXXX) exec 4<> $(mktemp -t tmp.descriptor.XXXXXX) exec 5<> $(mktemp -t tmp.descriptor.XXXXXX) exec 6<> $(mktemp -t tmp.descriptor.XXXXXX) exec 7<> $(mktemp -t tmp.descriptor.XXXXXX) exec 8<> $(mktemp -t tmp.descriptor.XXXXXX) exec 9<> $(mktemp -t tmp.descriptor.XXXXXX) exec pnmtops $@ -------------------------------- After commenting out the creation of the additional file descriptors above, everything works fine. netpbm-10.61.02-8.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/netpbm-10.61.02-8.fc20 scm-commit (https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20131209/1157442.html) -> switched to MODIFIED. Test scenario description is above or http://unix.stackexchange.com/questions/93384/pnmtops-subprocess-hang-when-called-from-a-scanadf-script netpbm-10.61.02-6.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/netpbm-10.61.02-6.fc19 Package netpbm-10.61.02-8.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing netpbm-10.61.02-8.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-23278/netpbm-10.61.02-8.fc20 then log in and leave karma (feedback). The updated package does not work. When using pnmtops via the replication script given above in comment #2, it still hangs: ./pnmtops_bad -version pnmtops: Using libnetpbm from Netpbm Version: Netpbm 10.61.2 pnmtops: Compiled Thu Dec 12 12:53:21 UTC 2013 by user "mockbuild" pnmtops: BSD defined pnmtops: RGB_ENV='RGBDEF' pnmtops: RGBENV= 'RGBDEF' (env vbl is unset) $ ./pnmtops_repro_1029512 -verbose < circle.pnm > circle.ps pnmtops: Input maxval is 1. Postscript raster will have 1 bits per sample, so maxval = 1 pnmtops: Image will be 192.00 points wide by 192.00 points high, left edge 210.00 points from left edge of page, bottom edge 300.00 points from bottom of page; NOT turned to landscape orientation pnmtops: output filter spawned: pid 25785 pnmtops: Waiting for PID 25785 to exit <hang> The is prepared by I forgot to add them into SPEC file for F19. It is awful fault from my side. netpbm-10.61.02-7.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/netpbm-10.61.02-7.fc19 Package netpbm-10.61.02-7.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing netpbm-10.61.02-7.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-23474/netpbm-10.61.02-7.fc19 then log in and leave karma (feedback). Thanks, it works now! netpbm-10.61.02-7.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. netpbm-10.61.02-8.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |