Description of problem: pnmtopng dumps core and fails to work Version-Release number of selected component (if applicable): netpbm-10.33-0.FC4 How reproducible: 100% Steps to Reproduce: 1. pngtopnm /usr/share/icons/Bluecurve/48x48/apps/redhat-system_settings.png | pnmtopng > red.png Actual results: pnmtopng: nstring.c:940: vasprintfN: Assertion `str_l2 == str_l' failed. Abort (core dumped) Expected results: producing an image Additional info: it works on some images. eg. ppmmake red 10 10 > red.ppm pnmtopng < red.ppm > red.png but doing the same thing in one line does not work (hits the same assert() as above): ppmmake red 10 10 | pnmtopng > red.png as another example, this works pngtopnm /usr/share/icons/Bluecurve/48x48/apps/redhat-system_settings.png | pnmquant 256 > red.ppm pnmtopng < red.ppm > red.png but without the pnmquant it does not work (same assert again): pngtopnm /usr/share/icons/Bluecurve/48x48/apps/redhat-system_settings.png > red.ppm pnmtopng < red.ppm > red.png
Ok, pnmtopng will fail with the error even if it's called with no arguments on x86_64. The error doesn't occur on 32bit arches. The culprit is the code in nstring.h, which is now fixed in rawhide.
*** Bug 188755 has been marked as a duplicate of this bug. ***
netpbm-10.33-1.fc5 has been pushed for fc5, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report.
looks resolved to me. speedy work. thanks!
Thanks for feedback, closing ERRATA then.