#21651 [Opn->Csd]: pdf_open_memory_image Segmentation Fault (11)
| From: | iliaa@php.net | Date: | Thu, 16 Jan 2003 21:19:02 +0000 |
| Subject: | #21651 [Opn->Csd]: pdf_open_memory_image Segmentation Fault (11) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-30295@lists.php.net to get a copy of this message | ||
ID: 21651
Updated by: iliaa@php.net
Reported By: erweb@erweb.it
-Status: Open
+Status: Closed
Bug Type: PDF related
Operating System: Linux RedHat
PHP Version: 4.3.0
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-01-16 04:58:05] erweb@erweb.it
yes the url is:
http://areaclienti.mine.nu/2820.png
try it!
for the GDB trace i am workin on it...
actually i'm not finding the core file.......
------------------------------------------------------------------------
[2003-01-15 14:53:49] sniper@php.net
And please,please, provide that GDB backtrace too.
------------------------------------------------------------------------
[2003-01-15 12:20:04] iliaa@php.net
Could you provide the image (url) that your are using?
------------------------------------------------------------------------
[2003-01-15 05:28:01] erweb@erweb.it
Here it is:
'./configure' '--with-apxs' '--with-gd'
'--with-freetype-dir=/usr/local/lib/' '--with-pgsql'
'--enable-gd-native-ttf' '--with-jpeg-dir=/usr/lib/'
'--with-png-dir=/usr/lib/' '--with-zlib-dir=/usr/lib/' '--with-mysql'
'--with-config-file-path=/etc/' '--with-pdflib=/usr/local/'
'--enable-ftp'
Then:
as i have done a few debug (homemade debug) sessions i noticed that the
line where output stopped was
$img = pdf_open_memory_image($pdf_doc, $tmp_image);
This is why i stopped the code there...
For the code snippet: i can't really provide it... this is part of a
real big class!
TKS
Simone
------------------------------------------------------------------------
[2003-01-15 03:52:51] sniper@php.net
And provide a FULL and SHORT example script which can be used to
reproduce this too. And your configure line for PHP would be nice to
know also.
------------------------------------------------------------------------
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/21651
--
Edit this bug report at http://bugs.php.net/?id=21651&edit=1