<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>114812</bug_id>
          
          <creation_ts>2005-12-07 15:57 0000</creation_ts>
          <short_desc>netpbm-10.29 - pbmtopng segfaults</short_desc>
          <delta_ts>2005-12-29 11:37:38 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Unspecified</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>geckosenator@gmail.com</reporter>
          <assigned_to>graphics@gentoo.org</assigned_to>
          <cc>amd64@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>geckosenator@gmail.com</who>
            <bug_when>2005-12-07 15:57:21 0000</bug_when>
            <thetext>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&gt;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&gt;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=&quot;~x86&quot; emerge netpbm
or
ACCEPT_KEYWORDS=&quot;~amd64&quot; 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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ticho@gentoo.org</who>
            <bug_when>2005-12-08 14:44:28 0000</bug_when>
            <thetext>On behalf of x86 team, I&apos;d like to apologize - I marked 10.29 stable for x86. 
However, my tests didn&apos;t catch this segfault bug. 10.30-r1 is now marked stable 
for x86.

CCing amd64, as they are affected as well.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rgo@mail.interzet.ru</who>
            <bug_when>2005-12-29 06:37:56 0000</bug_when>
            <thetext>Excuse me for duplicating message.

I try to make release build: this patch works only with CFLAGS=&apos;-ggdb3 -O0&apos;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>blubb@gentoo.org</who>
            <bug_when>2005-12-29 11:37:38 0000</bug_when>
            <thetext>10.30-r1 has been marked stable on amd64:

  21 Dec 2005; Marcus D. Hanwell &lt;cryos@gentoo.org&gt; netpbm-10.30-r1.ebuild:
  Stable on amd64.
</thetext>
          </long_desc>
      
    </bug>

</bugzilla>