Edit report at https://bugs.php.net/bug.php?id=62523&edit=1

 ID:                 62523
 Comment by:         bigbug at mafia dot lv
 Reported by:        bigbug at mafia dot lv
 Summary:            php crashes with segfault when exif_read_data called
 Status:             Open
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   linux
 PHP Version:        5.3Git-2012-07-10 (snap)
 Block user comment: N
 Private report:     N

 New Comment:

The file causing crash http://2000.lv/1.orig.jpg


Previous Comments:
------------------------------------------------------------------------
[2012-07-10 13:55:24] bigbug at mafia dot lv

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 this bug report at https://bugs.php.net/bug.php?id=62523&edit=1

Reply via email to