ID:               19700
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Open
 Bug Type:         GD related
 Operating System: Darwin v6 (Mac Server v10.2)
 PHP Version:      4.2.3, 4.3.0-dev
 New Comment:

If you want to see my PHP compile output I'll email it to you, but
there are way too many warnings to cover in this thread. (I don't know
what the normal number of PHP warnings is, I have only compiled it on
Darwin.)

I didn't know that apple had a custom libpng. I have been using libpng
that you can find on the png web site and compiling it myself with the
tools provided by Apple.
http://www.libpng.org/pub/png/libpng.html
http://developer.apple.com/tools/projectbuilder/

heh.. ya, I noticed. The basic functions work well, but any strenuous
use of GD is like walking on a minefield.

Thx for all of the help.
http://144.92.10.251/riverdata/map.html (work in progress)
This is what I am currently working on. Click on the map a few times to
zoom in and see the stations. There are about 3,800 stations total.
Each one measures the rate that water flows through the river that it
is located on. It is a work in progress, so there is room for
improvement on speed and file size. Eventually this map will be running
on quite a verity of data in the department. Everything is rendered
dynamically in PHP using a MySQL database. The labels are rendered
realtime. They are partly transparent. They have drop shadows. They are
clickable. The high-res source image is about 700-800 MBs total, using
the GD2 image format (compressed). All of this is using work arounds
for the batch of bugs that I have submitted. I am doing a nice test of
GD for you guys :-)


Previous Comments:
------------------------------------------------------------------------

[2002-10-05 15:39:30] [EMAIL PROTECTED]

Hrm you shouldn't be getting compiler warnings on OSX any worse than
those that are normally found in PHP (unused variables, etc).  

Are you using an Apple provided libpng?

I have to admit I don't think we've done any real testing on GD yet, so
you're sailing unknown waters.  

------------------------------------------------------------------------

[2002-10-05 10:02:55] [EMAIL PROTECTED]

Tried it, still doesn't work. I wish you guys would make the libpng
version show up in phpinfo() so I could be sure I compiled everything
right. If everything worked as advertised, I compiled libpng v1.2.5rc3.
I configured with "--with-gd=/usr/local" and "--with-gd=php"

------------------------------------------------------------------------

[2002-10-05 01:48:28] [EMAIL PROTECTED]

Can you try installing libpng v1.2.5 and then trying your code. There
seems to be a good change that there is a bug in linpng that shows up
on Mac OS systems. Maybe version 1.2.5 has this 'bug' fixed.

------------------------------------------------------------------------

[2002-10-02 16:31:37] [EMAIL PROTECTED]

I just noticed that if I downgrade libpng to v1.0.14 even
ImageCopyResized() breaks in a similar fashion.

------------------------------------------------------------------------

[2002-10-02 11:02:17] [EMAIL PROTECTED]

I am getting lines in the apache error log file now (i wasn't in PHP
v4.2.3)

It seems to be stuck in some sort of loop:
[Wed Oct  2 10:52:36 2002] [notice] child pid 24976 exit signal
Segmentation fault (11)
[Wed Oct  2 10:52:38 2002] [notice] child pid 25017 exit signal
Segmentation fault (11)

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/19700

-- 
Edit this bug report at http://bugs.php.net/?id=19700&edit=1

Reply via email to