Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114812 - netpbm-10.29 - pbmtopng segfaults
Summary: netpbm-10.29 - pbmtopng segfaults
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-07 15:57 UTC by Sean D'Epagnier
Modified: 2005-12-29 11:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sean D'Epagnier 2005-12-07 15:57:21 UTC
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 Andrej Kacian (RETIRED) gentoo-dev 2005-12-08 14:44:28 UTC
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 rgo 2005-12-29 06:37:56 UTC
Excuse me for duplicating message.

I try to make release build: this patch works only with CFLAGS='-ggdb3 -O0'
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2005-12-29 11:37:38 UTC
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.