Re: PHP 4.0 Bug #8341 Updated: pdf_open_image_file no longer works
| From: | Derick Rethans | Date: | Tue, 26 Dec 2000 15:06:52 +0000 |
| Subject: | Re: PHP 4.0 Bug #8341 Updated: pdf_open_image_file no longer works | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-42271@lists.php.net to get a copy of this message | ||
Hello,
I can confirm this bug, same problem with pdf_image_jpeg for me.
Derick
On 26 Dec 2000 hirokawa@php.net wrote:
> ID: 8341
> Updated by: hirokawa
> Reported By: pete@byways.org
> Status: Open
> Bug Type: PDF related
> Assigned To:
> Comments:
>
> In php-4.0.4, virtual_filepath() function is used in pdf_open_image_*.
> This function calls virtual_filepath_ex() function
> in TSRM/tsrm_virtual_cdw.c.
> In virtual_filepath_ex(), (char *) CWDG(cwd)->cwd
> is used as the source of current working directory,
> but it is now properly initialized,
> so it will cause the segmentation fault.
>
>
>
> Previous Comments:
> ---------------------------------------------------------------------------
>
> [2000-12-21 11:33:18] pete@byways.org
> Adding --with-png-dir to configuration does not solve the problem.
>
> ---------------------------------------------------------------------------
>
> [2000-12-20 18:33:27] sniper@php.net
> Adding --with-png-dir to your configure line might help.
>
> --Jani
>
>
> ---------------------------------------------------------------------------
>
> [2000-12-20 13:42:10] pete@byways.org
> After upgrading PHP from 4.0.3pl1 to 4.0.4 (Apache DSO), calls to pdf_open_image_file to open a
> PNG image no longer seem to work. This is my configure script:
>
> ./configure --with-apxs=/usr/sbin/apxs
> --with-gettext=no
> --with-msql
> --with-pgsql=shared
> --without-mysql
> --with-xml=shared
> --with-pdflib=/usr/local
> --without-gd
> --with-session=/tmp
> --enable-track-vars=yes
> --with-zlib
> --with-jpeg-dir=/usr
> --with-tiff-dir=/usr
> --enable-trans-sid
>
>
> ---------------------------------------------------------------------------
>
>
> Full Bug description available at: http://bugs.php.net/?id=8341
>
>
>