From: [EMAIL PROTECTED] Operating system: Slackware Linux 8.1 PHP version: 4.3.0 PHP Bug Type: Reproducible crash Bug description: Segfault on pear installer script
Installed php-4.3.0 from source .tar.gz, then tried to install the 'Auth' pear package: berg@baboon:~$ pear install Auth downloading Auth-1.1.1.tgz ... ...done: 11,005 bytes Segmentation fault (core dumped) I think the crash occurs in the zlib compression functions. Backtrace follows: (gdb) bt #0 0x08187fdf in inflate_codes () #1 0x08186eb3 in inflate_blocks () #2 0x08186046 in inflate () #3 0x08181ff7 in gzread () #4 0x0806d4db in php_gziop_read (stream=0x846e904, buf=0x847f424 "by Marko Karppinen, <[EMAIL PROTECTED]>)\n\n* Added optional setLoginCallback() and setLogoutCallback() methods.\n (Patch by Marko Karppinen, <[EMAIL PROTECTED]>)\n\n* Added method setIdle"..., count=512) at /usr/local/src/php-4.3.0/ext/zlib/zlib_fopen_wrapper.c:36 #5 0x08147f53 in _php_stream_read (stream=0x846e904, buf=0x847f424 "by Marko Karppinen, <[EMAIL PROTECTED]>)\n\n* Added optional setLoginCallback() and setLogoutCallback() methods.\n (Patch by Marko Karppinen, <[EMAIL PROTECTED]>)\n\n* Added method setIdle"..., size=512) at /usr/local/src/php-4.3.0/main/streams.c:589 #6 0x080e744c in zif_fread (ht=2, return_value=0x846fd2c, this_ptr=0x0, return_value_used=1) at /usr/local/src/php-4.3.0/ext/standard/file.c:2083 #7 0x08178693 in execute (op_array=0x83786b4) at /usr/local/src/php-4.3.0/Zend/zend_execute.c:1598 #8 0x0817880a in execute (op_array=0x835c22c) at /usr/local/src/php-4.3.0/Zend/zend_execute.c:1640 #9 0x0817880a in execute (op_array=0x836090c) at /usr/local/src/php-4.3.0/Zend/zend_execute.c:1640 #10 0x0817880a in execute (op_array=0x83c34f4) at /usr/local/src/php-4.3.0/Zend/zend_execute.c:1640 #11 0x0817880a in execute (op_array=0x83a8ac4) at /usr/local/src/php-4.3.0/Zend/zend_execute.c:1640 #12 0x0817880a in execute (op_array=0x83a465c) at /usr/local/src/php-4.3.0/Zend/zend_execute.c:1640 #13 0x0817880a in execute (op_array=0x826bfb4) at /usr/local/src/php-4.3.0/Zend/zend_execute.c:1640 #14 0x08166d9e in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/local/src/php-4.3.0/Zend/zend.c:864 #15 0x0813fa8a in php_execute_script (primary_file=0xbffff828) at /usr/local/src/php-4.3.0/main/main.c:1573 #16 0x0818128c in main (argc=8, argv=0xbffff8a4) at /usr/local/src/php-4.3.0/sapi/cli/php_cli.c:746 #17 0x4020017d in __libc_start_main (main=0x81808dc <main>, argc=8, ubp_av=0xbffff8a4, init=0x80692fc <_init>, fini=0x8188b70 <_fini>, rtld_fini=0x4000a534 <_dl_fini>, stack_end=0xbffff89c) at ../sysdeps/generic/libc-start.c:129 -- Edit bug report at http://bugs.php.net/?id=21718&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21718&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21718&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21718&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21718&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21718&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21718&r=support Expected behavior: http://bugs.php.net/fix.php?id=21718&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21718&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21718&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21718&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21718&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21718&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21718&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21718&r=gnused