ID: 49224 User updated by: alahaye at fm2i dot com Reported By: alahaye at fm2i dot com -Status: Feedback +Status: Open Bug Type: Apache2 related Operating System: HPUX 11.31 PHP Version: 5.3.0 New Comment:
With Snaps during compilation: ============================== "/websuite/build/php5.3/ext/standard/dns.c", line 501: warning #4212-mismatch between character pointer types "u_char *" and "const char *" add_next_index_stringl(entries, cp + ll + 1, n, 1); ^ "/websuite/build/php5.3/ext/standard/dns.c", line 507: warning #4212-D: mismatch between character pointer types "u_char *" and "char *" add_assoc_stringl(*subarray, "txt", tp, dlen - 1 , 0); ^ "/websuite/build/php5.3/ext/standard/dns.c", line 813: error #2136: struct "__res_state" has no field "res_h_errno" if (php_dns_errno(handle) == NO_DATA) { ^ "/websuite/build/php5.3/ext/standard/dns.c", line 940: warning #4232-D: conversion from "u_char (*)[8192]" to a more strictly aligned type "HEADER *" may cause misaligned access hp = (HEADER *)&ans; ^ 1 error detected in the compilation of "/websuite/build/php5.3/ext/standard/dns. c". *** Error exit code 1 Previous Comments: ------------------------------------------------------------------------ [2009-08-11 13:40:18] fel...@php.net Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ ------------------------------------------------------------------------ [2009-08-11 13:21:12] alahaye at fm2i dot com Sorry HPUX version is 11.31 64bits ------------------------------------------------------------------------ [2009-08-11 13:15:13] alahaye at fm2i dot com Description: ------------ Segmentation fault on Apache when using simple script (generaly with functions like header, error_reporting, etc... Reproduce code: --------------- <?php error_reporting(E_ALL); ?> <?php error_reporting(E_ALL); session_start(); header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); session_cache_expire(32000); .... ?> Expected result: ---------------- script running :-) Actual result: -------------- Export of GDB : (gdb) run -X Program received signal SIGSEGV, Segmentation fault si_code: 2 - SEGV_ACCERR - Invalid Permissions for object. 0x2000000076ee3340:0 in _zval_ptr_dtor (zval_ptr=0x7fffce50) at zend.h:403 403 return --pz->refcount__gc; ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49224&edit=1