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