First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 5216
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 5444
Assigned To: Ryan Phillips (RETIRED) <rphillips@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tom Peck <tom@masaclaw.co.nz>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 5216 depends on: Show dependency tree
Bug 5216 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-07-18 19:29 0000
Problem occured on two separate systems, running an uptodate (as of now)
system.

PROBLEM DESCRIPTION
----------------------------

When trying to use any of the 'png' functions from the GD library built into
the
mod_php, apache would return no data to the browser, and a line like:

[Thu Jul 18 14:35:39 2002] [notice] child pid 32045 exit signal Segmentation
fault (11)

would appear in the apache error logs.

After some testing, I narrowed down the problem to be the version of libpng
which has been built into PHP / GD.

Version's installed:

mod_php
/usr/portage/dev-php/mod_php/mod_php-4.2.1-r5.ebuild

libgd
/usr/portage/media-libs/libgd/libgd-1.8.3-r5.ebuild

libpng
/usr/portage/media-libs/libpng/libpng-1.2.4.ebuild


TO FIX THE PROBLEM
-------------------------

To 'fix' this problem, I had to:

# remove the old libpng
unmerge libpng

# manually emerge the older version
/usr/portage/media-libs/libpng/ebuild libpng-1.0.12-r1.ebuild merge

# re-emerge libgd
emerge libgd

# manually edit the ebuild mod_php file you want to emerge
# in my case, it was this one

nano -w /usr/portage/dev-php/mod_php/mod_php-4.2.1-r5.ebuild

# under the depends, hash out the existing reference to libpng
# and put in the older version which we emerged earlier

#       >=media-libs/libpng-1.2.1  <- hash this line
        >=media-libs/libpng-1.0.12  <- enter in this one


# re-emerge mod_php, which will use the older libpng to build from
emerge mod_php

# restart apache
/etc/init.d/apache restart

And that has fixed the problem. I don't know where this bug lies (php, or
libgd,
or libpng?) but this is a working temporary fix.

------- Comment #1 From SpanKY 2002-07-18 21:17:27 0000 -------
cool man, i just gave up and started using jpegs ;)

when i googled for that information, libpng said they *fixed* it, but i guess 
they might be wrong :x

------- Comment #2 From Ryan Phillips (RETIRED) 2002-08-07 03:03:22 0000 -------
Is this a bug that can be resolved in portage, or is it a user dependent bug?

------- Comment #3 From Ryan Phillips (RETIRED) 2002-08-07 03:48:13 0000 -------

*** This bug has been marked as a duplicate of 5444 ***

First Last Prev Next    No search results available      Search page      Enter new bug