Bug #62523 [NEW]: php crashes with segfault when exif_read_data called
From: bigbug at mafia dot lv
Operating system: linux
PHP version: 5.3Git-2012-07-10 (snap)
Package: Reproducible crash
Bug Type: Bug
Bug description:php crashes with segfault when exif_read_data called
Description:
------------
i got the jpeg file which is crashing our production server when
exif_read_data
is called. I have testet with latest 5.3 snapshot, same there. Same results
for
5.2 version, same results with 32 or 64bit versions.
Test script:
---------------
<?php
exif_read_data("1.orig.jpg");
?>
Expected result:
----------------
return the array of exif data
Actual result:
--------------
Reading symbols from /usr/bin/php...(no debugging symbols found)...done.
[New LWP 27266]
warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Core was generated by `php filed.php'.
Program terminated with signal 11, Segmentation fault.
#0 0x080e5046 in ?? ()
(gdb) bt
#0 0x080e5046 in ?? ()
#1 0x080e561d in ?? ()
#2 0x080e60b3 in ?? ()
#3 0x080e6bbe in ?? ()
#4 0x080e70ef in ?? ()
#5 0x080e6e00 in ?? ()
#6 0x080e70ef in ?? ()
#7 0x080e906c in ?? ()
#8 0x080e92c2 in ?? ()
#9 0x083985ca in ?? ()
#10 0x0834344e in execute ()
#11 0x0831c199 in zend_execute_scripts ()
#12 0x082c2dce in php_execute_script ()
#13 0x0806b47f in ?? ()
#14 0x0077c113 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#15 0x0806b521 in _start ()
Shoid i build php with debug symbols?
--
Edit bug report at https://bugs.php.net/bug.php?id=62523&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62523&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62523&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62523&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=62523&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62523&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=62523&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=62523&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=62523&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=62523&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=62523&r=support
Expected behavior: https://bugs.php.net/fix.php?id=62523&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=62523&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=62523&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=62523&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62523&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=62523&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=62523&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=62523&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=62523&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=62523&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=62523&r=mysqlcfg
Thread (41 messages)
- bigbug at mafia dot lv
- bigbug at mafia dot lvBug #62523 [Com]: php crashes with segfault when exif_read_data called
- laruence@php.netBug #62523 [Opn->Fbk]: php crashes with segfault when exif_read_data called
- laruence@php.netBug #62523 [Fbk->ReO]: php crashes with segfault when exif_read_data called
- laruence@php.netBug #62523 [ReO]: php crashes with segfault when exif_read_data called
- laruence@php.netBug #62523 [ReO->Asn]: php crashes with segfault when exif_read_data called
- info at getid3 dot orgBug #62523 [Com]: php crashes with segfault when exif_read_data called
- alex at bartl dot netBug #62523 [Com]: php crashes with segfault when exif_read_data called
- dessander at gmail dot comBug #62523 [Com]: php crashes with segfault when exif_read_data called
- dominic dot benson at thirdlight dot comBug #62523 [Com]: php crashes with segfault when exif_read_data called
- bigbug at mafia dot lvBug #62523 [Asn]: php crashes with segfault when exif_read_data called
- kbinaz at gmail dot comBug #62523 [Com]: php crashes with segfault when exif_read_data called
- mike@php.netBug #62523 [Asn->Fbk]: php crashes with segfault when exif_read_data called
- info at getid3 dot orgBug #62523 [Com]: php crashes with segfault when exif_read_data called
- pajoye@php.netBug #62523 [Fbk]: php crashes with segfault when exif_read_data called
- glen at delfi dot eeBug #62523 [Com]: php crashes with segfault when exif_read_data called
- kbinaz at gmail dot comBug #62523 [Com]: php crashes with segfault when exif_read_data called
- php-bugs at lists dot php dot netBug #62523 [Fbk->NoF]: php crashes with segfault when exif_read_data called
- me at nbishop dot nameBug #62523 [Com]: php crashes with segfault when exif_read_data called
- sdrinf at gmail dot comBug #62523 [Com]: php crashes with segfault when exif_read_data called
- php-bugs at lists dot php dot netBug #62523 [Fbk->NoF]: php crashes with segfault when exif_read_data called
- ken at boingboing dot netBug #62523 [Com]: php crashes with segfault when exif_read_data called
- stephane dot boisvert at automattic dot comBug #62523 [Com]: php crashes with segfault when exif_read_data called
- yohgaki@php.netBug #62523 [NoF->Fbk]: php crashes with segfault when exif_read_data called
- php-bugs at lists dot php dot netBug #62523 [Fbk->NoF]: php crashes with segfault when exif_read_data called
- rgallico at gmail dot comBug #62523 [Com]: php crashes with segfault when exif_read_data called
- eugene dot reich at gmail dot comBug #62523 [Com]: php crashes with segfault when exif_read_data called
- dessander at gmail dot comBug #62523 [Com]: php crashes with segfault when exif_read_data called
- derick@php.netBug #62523 [NoF]: php crashes with segfault when exif_read_data called
- stas@php.netBug #62523 [NoF->Fbk]: php crashes with segfault when exif_read_data called
- cmb@php.netBug #62523 [Fbk]: php crashes with segfault when exif_read_data called
- dessander at gmail dot comBug #62523 [Com]: php crashes with segfault when exif_read_data called
- php-bugs at lists dot php dot netBug #62523 [Fbk->NoF]: php crashes with segfault when exif_read_data called
- requinix@php.netBug #62523 [NoF->Opn]: php crashes with segfault when exif_read_data called
- cmb@php.netBug #62523 [Asn]: php crashes with segfault when exif_read_data called
- stas@php.netBug #62523 [Asn]: php crashes with segfault when exif_read_data called
- stas@php.netBug #62523 [Asn]: php crashes with segfault when exif_read_data called
- romans dot heimanis at gmail dot comBug #62523 [Asn]: php crashes with segfault when exif_read_data called
- cmb@php.netBug #62523 [Asn]: php crashes with segfault when exif_read_data called
- stas@php.netBug #62523 [Asn->Csd]: php crashes with segfault when exif_read_data called
- kalle@php.netBug #62523 [Csd]: php crashes with segfault when exif_read_data called