Bug #66065 [NEW]: read_exif_data fail with 'Segmentation fault'
| From: | szerencsits dot michael at gmx dot at | Date: | Fri, 08 Nov 2013 15:02:01 +0000 |
| Subject: | Bug #66065 [NEW]: read_exif_data fail with 'Segmentation fault' | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-182662@lists.php.net to get a copy of this message | ||
From: szerencsits dot michael at gmx dot at
Operating system: Fedora Core 19
PHP version: 5.5.5
Package: EXIF related
Bug Type: Bug
Bug description:read_exif_data fail with 'Segmentation fault'
Description:
------------
Hello,
I installed the php rpm from Fedora 19 and updated it also to the latest
available fedora version:
[root@server ~]# php -v
PHP 5.5.5 (cli) (built: Oct 17 2013 06:05:14)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
I've I now use read_exif_data to get the EXIF data it fails with
'Segmentation fault'. This happen only with jpg from my 'newer' camera.
If I use a jpg from my 'old' camera it work. Here a working and a
failing picture:
http://zerberus.amolymp.net/fotos/failing.jpg
http://zerberus.amolymp.net/fotos/working.jpg
Test script:
---------------
<?php #filename rdexif.php
$exif_data = read_exif_data($argv[1]);
print_r($exif_data);
?>
run with php ./rdexif.php failing.jpg
run with php ./rdexif.php working.jpg
Expected result:
----------------
EXIF data ARRAY
Actual result:
--------------
Segmentation Fault
--
Edit bug report at https://bugs.php.net/bug.php?id=66065&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66065&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66065&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66065&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66065&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66065&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66065&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66065&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66065&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66065&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66065&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66065&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66065&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66065&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66065&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66065&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66065&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66065&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66065&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66065&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66065&r=mysqlcfg