#21651 [NEW]: pdf_open_memory_image Segmentation Fault (11)
| From: | erweb at erweb dot it | Date: | Wed, 15 Jan 2003 08:51:18 +0000 |
| Subject: | #21651 [NEW]: pdf_open_memory_image Segmentation Fault (11) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-30072@lists.php.net to get a copy of this message | ||
From: erweb@erweb.it
Operating system: Linux RedHat
PHP version: 4.3.0
PHP Bug Type: PDF related
Bug description: pdf_open_memory_image Segmentation Fault (11)
Well... as i work with PDF the following code causes
a segmentation fault:
$tmp_image =
ImageCreate($size[0]*$this->actual_img_dpi/$this->default_img_dpi,
$size[1]*$this->actual_img_dpi/$this->default_img_dpi);
imagecopyresampled ($tmp_image, $im, 0, 0, 0,
0,$size[0]*$this->actual_img_dpi/$this->default_img_dpi,
$size[1]*$this->actual_img_dpi/$this->default_img_dpi, $size[0],
$size[1]);
$img = pdf_open_memory_image($pdf_doc, $tmp_image);
--
Edit bug report at http://bugs.php.net/?id=21651&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21651&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21651&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21651&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21651&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21651&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21651&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21651&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21651&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21651&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21651&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21651&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21651&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21651&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21651&r=gnused