Bug 159306 - pnmindex crashes out with error message from pnmcat
pnmindex crashes out with error message from pnmcat
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: netpbm (Show other bugs)
3
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Jindrich Novy
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-01 12:05 EDT by Bevis King
Modified: 2013-07-02 19:07 EDT (History)
1 user (show)

See Also:
Fixed In Version: 10.28-4
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-07-25 08:53:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Bevis King 2005-06-01 12:05:44 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Fedora/1.0.4-1.3.1 Firefox/1.0.4

Description of problem:
The pnmindex script (part of netpbm) appears to be breaking when fed on a number of normal ppm files.  Running it with default options, causes a message about quiet not being understood but the more serious is that even with options that bypass that script error, the underlying components don't work either.

Version-Release number of selected component (if applicable):
netpbm-10.25-2

How reproducible:
Always

Steps to Reproduce:
1. Convert some jpg files to PPM using netpbm (as in):

% jpegtopnm ~/BCR-Alcos.jpg > image1.ppm
jpegtopnm: WRITING PPM FILE
% jpegtopnm ~/CIMG0261.JPG > image2.ppm
jpegtopnm: WRITING PPM FILE

2. Run pnmindex with some suitable options:

pnmindex -size 250 -across 3 -noquant image*.ppm > index.ppm

The following errors are produced:
pnmcat: Error reading magic number from Netpbm image stream.  Most often, this means your input file is empty.
pnmcat: Error reading magic number from Netpbm image stream.  Most often, this means your input file is empty.
pnmcat: Error reading magic number from Netpbm image stream.  Most often, this means your input file is empty.
pnmtojpeg: Error reading magic number from Netpbm image stream.  Most often, this means your input file is empty.

The ppm images appear intact:
% pnmfile *.ppm
image1.ppm:     PPM raw, 1254 by 535  maxval 255
image2.ppm:     PPM raw, 980 by 700  maxval 255


  

Actual Results:  No output, just error messages.


Expected Results:  Produced a ppm file containing an index of thumbnails of the supplied larger images.

Additional info:

This bug is identical on both a P4/i686 box running FC3 and on a AMD 64/x86_64 box running FC3.
Comment 1 Jindrich Novy 2005-07-25 08:53:50 EDT
This is now fixed in rawhide.

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