Your message dated Tue, 22 Aug 2023 14:21:15 +0200
with message-id <[email protected]>
and subject line Re: Bug#692186: pnmtofiasco can't read valid PNM files created
by netpbm
has caused the Debian Bug report #692186,
regarding pnmtofiasco can't read valid PNM files created by netpbm
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
692186: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692186
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: netpbm
Version: 2:10.0-12.2+b1
pnmtofiasco: bad magic number - not a ppm, pgm, or pbm file
with output of pnmnorm, but this same output was accepted by pnmtojpeg
Steps to reproduce:
# pngtopnm file.png | pnmnorm -bpercent 1 -wpercent 1 | pnmtojpeg --quality=70
--dct=float --progressive --optimize --sample=2x2 >file.jpg
JPEG works.
# pngtopnm file.png | pnmnorm -bpercent 1 -wpercent 1 | pnmtofiasco >file.wfa
> pnmtofiasco: bad magic number - not a ppm, pgm, or pbm file
# ls -l file.*
-rw-r--r-- 1 andrewb andrewb 39448 Nov 3 11:18 file.jpg
-rw-r--r-- 1 andrewb andrewb 42249 Nov 3 11:17 file.png
-rw-r--r-- 1 andrewb andrewb 0 Nov 3 11:19 file.wfa
See https://bugzilla.redhat.com/show_bug.cgi?id=227283
> Width and height of images must be even numbers.
If I make the input an even numbered seekable file, I still get no
output.
> *** glibc detected *** pnmtofiasco: corrupted double-linked list: 0x1067e0d8
> ***
> ======= Backtrace: =========
> /lib/libc.so.6(+0x83224)[0xfde2224]
> /lib/libc.so.6(+0x84eb8)[0xfde3eb8]
> /lib/libc.so.6(cfree+0x8c)[0xfde789c]
> pnmtofiasco[0x10026dd8]
> pnmtofiasco[0x1000ae9c]
> pnmtofiasco[0x10012ad8]
> pnmtofiasco[0x100133e8]
> pnmtofiasco[0x100133e8]
> pnmtofiasco[0x100133e8]
> pnmtofiasco[0x100133e8]
> pnmtofiasco[0x100133e8]
> pnmtofiasco[0x100133e8]
> pnmtofiasco[0x100133e8]
> pnmtofiasco[0x100133e8]
> pnmtofiasco[0x100133e8]
> pnmtofiasco[0x10004588]
> pnmtofiasco[0x10001950]
> /lib/libc.so.6(+0x1f69c)[0xfd7e69c]
> /lib/libc.so.6(+0x1f860)[0xfd7e860]
> ======= Memory map: ========
> 00100000-00103000 r-xp 00000000 00:00 0 [vdso]
> 0fd5f000-0fec9000 r-xp 00000000 03:02 214468 /lib/libc-2.11.3.so
> 0fec9000-0fed9000 ---p 0016a000 03:02 214468 /lib/libc-2.11.3.so
> 0fed9000-0fedd000 r--p 0016a000 03:02 214468 /lib/libc-2.11.3.so
> 0fedd000-0fede000 rw-p 0016e000 03:02 214468 /lib/libc-2.11.3.so
> 0fede000-0fee1000 rw-p 00000000 00:00 0
> 0fef1000-0ff9b000 r-xp 00000000 03:02 214472 /lib/libm-2.11.3.so
> 0ff9b000-0ffab000 ---p 000aa000 03:02 214472 /lib/libm-2.11.3.so
> 0ffab000-0ffae000 r--p 000aa000 03:02 214472 /lib/libm-2.11.3.so
> 0ffae000-0ffaf000 rw-p 000ad000 03:02 214472 /lib/libm-2.11.3.so
> 0ffbf000-0ffdd000 r-xp 00000000 03:02 197624 /usr/lib/libnetpbm.so.10.0
> 0ffdd000-0ffed000 ---p 0001e000 03:02 197624 /usr/lib/libnetpbm.so.10.0
> 0ffed000-0fff0000 rw-p 0001e000 03:02 197624 /usr/lib/libnetpbm.so.10.0
> 10000000-1002b000 r-xp 00000000 03:02 347315 /usr/bin/pnmtofiasco
> 1003b000-1003c000 rw-p 0002b000 03:02 347315 /usr/bin/pnmtofiasco
> 1003c000-10071000 rwxp 00000000 00:00 0
> 105f3000-106be000 rwxp 00000000 00:00 0 [heap]
> 48000000-48020000 r-xp 00000000 03:02 214480 /lib/ld-2.11.3.so
> 48020000-48021000 rw-p 00000000 00:00 0
> 48021000-48022000 r--p 00021000 03:02 214480 /lib/ld-2.11.3.so
> 48022000-48023000 rw-p 00022000 03:02 214480 /lib/ld-2.11.3.so
> 48041000-483c5000 rw-p 00000000 00:00 0
> 48400000-48421000 rw-p 00000000 00:00 0
> 48421000-48500000 ---p 00000000 00:00 0
> bfda7000-bfdbc000 rw-p 00000000 00:00 0 [stack]
> Aborted
--- End Message ---
--- Begin Message ---
Version: 2:11.01.00-2
On 2012-11-03 Andrew Buckeridge <[email protected]> wrote:
> Package: netpbm
> Version: 2:10.0-12.2+b1
> pnmtofiasco: bad magic number - not a ppm, pgm, or pbm file
> with output of pnmnorm, but this same output was accepted by pnmtojpeg
> Steps to reproduce:
> # pngtopnm file.png | pnmnorm -bpercent 1 -wpercent 1 | pnmtojpeg
> --quality=70 --dct=float --progressive --optimize --sample=2x2 >file.jpg
> JPEG works.
> # pngtopnm file.png | pnmnorm -bpercent 1 -wpercent 1 | pnmtofiasco >file.wfa
> > pnmtofiasco: bad magic number - not a ppm, pgm, or pbm file
[...]
This seems to work with current upstream version.
cu Andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
--- End Message ---