From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312 Description of problem: Using kickstart to install fedora 0.94 with (any) "xconfig" option causes anaconda to exit abnormally. Version-Release number of selected component (if applicable): netpbm-progs-10.35-6.fc6 How reproducible: Always Steps to Reproduce: 1. execute "ppmtobmp test.ppm | bmptoppm > x.ppm" Actual Results: ppmtobmp: analyzing colors... ppmtobmp: 6 colors found ppmtobmp: Writing 4 bits per pixel with a color palette bmptoppm: BMPlencolormap: internal error! Expected Results: With previous versions the following is shown and a BMP is produced: ppmtobmp: analyzing colors... ppmtobmp: 6 colors found ppmtobmp: Writing 4 bits per pixel with a color palette bmptoppm: Windows BMP, 100x56x4 bmptoppm: WRITING PPM IMAGE Additional info:
Could you please attach the test.ppm image?
Never mind, I reproduced it successfully with my sample image.
Created attachment 146742 [details] Image to reproduce this bug (test.ppm) Just to make shure (I thought I had attached it - but something went wrong ...)
Ok, bmptopnm uses condition dependent on uninitialized BMPheader structure member what causes the internal error as it doesn't read the header at all when the uninitialized member is zero. It is now fixed since 10.35-10 in rawhide. FC updates are comming soon.
Actually this bug was added with netpbm-10.22-cmapsize.patch. You then revert the change with netpbm-10.27-bmptopnm.patch. You should merge both patches so that they annihilate each other. -- Alexey Tourbin ALT Linux Team
Fixed, thanks.