|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2013-11-08 15:02 UTC] szerencsits dot michael at gmx dot at
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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 01:00:02 2025 UTC |
Sorry, but I cannot reproduce. $ run with php ./rdexif.php failing.jpg Array ( [FileName] => failing.jpg [FileDateTime] => 1384010956 [FileSize] => 3142954 [FileType] => 2 [MimeType] => image/jpeg [SectionsFound] => ANY_TAG, IFD0, THUMBNAIL, EXIF, INTEROP, WINXP ... It will probably simpler to let "abrt" report the segfault with a backtrace.