Bug 114812 - netpbm-10.29 - pbmtopng segfaults
Bug#: 114812 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: graphics@gentoo.org Reported By: geckosenator@gmail.com
Component: Unspecified
URL: 
Summary: netpbm-10.29 - pbmtopng segfaults
Keywords:  
Status Whiteboard: 
Opened: 2005-12-07 15:57 0000
Description:   Opened: 2005-12-07 15:57 0000
I recently used pnmtopng on a system with netpbm-10.29 installed.  The program
segfaulted.  I emerged version 10.30 and the program works.  Older versions like
10.20 also work.  I tested this on x86 and amd64.  I think the 10.30 version
should be unmasked (x86 instead of ~x86), and the 10.29 one should be deleted.

Reproducible: Always
Steps to Reproduce:
1. emerge netpbm (version 10.29)
2. run pnmtopng


Actual Results:  
localhost ~ # xwd -root|xwdtopnm|pnmtopng>out.png
xwdtopnm: writing PPM file
Segmentation fault
localhost ~ # ls -l out.png
-rw-r--r--  1 root root 0 Dec  7 18:55 out.png



Expected Results:  
localhost ~ # xwd -root|xwdtopnm|pnmtopng>out.png
xwdtopnm: writing PPM file
localhost ~ # ls -l out.png
-rw-r--r--  1 root root 231824 Dec  7 18:55 out.png


The program works perfectly if I emerge:

ACCEPT_KEYWORDS="~x86" emerge netpbm
or
ACCEPT_KEYWORDS="~amd64" emerge netpbm

because it installs version 10.30 instead of 10.29
tested on both x86 and amd64 to Segfault
version 10.29 ebuild should be removed.

------- Comment #1 From Andrej Kacian (RETIRED) 2005-12-08 14:44:28 0000 -------
On behalf of x86 team, I'd like to apologize - I marked 10.29 stable for x86. 
However, my tests didn't catch this segfault bug. 10.30-r1 is now marked stable 
for x86.

CCing amd64, as they are affected as well.

------- Comment #2 From rgo 2005-12-29 06:37:56 0000 -------
Excuse me for duplicating message.

I try to make release build: this patch works only with CFLAGS='-ggdb3 -O0'

------- Comment #3 From Simon Stelling (RETIRED) 2005-12-29 11:37:38 0000 -------
10.30-r1 has been marked stable on amd64:

  21 Dec 2005; Marcus D. Hanwell <cryos@gentoo.org> netpbm-10.30-r1.ebuild:
  Stable on amd64.