#23308 [NEW]: PHP Interpreter dies with Bus Error (Signal 10)

From: Date: Tue, 22 Apr 2003 20:03:35 +0000
Subject: #23308 [NEW]: PHP Interpreter dies with Bus Error (Signal 10)
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38084@lists.php.net to get a copy of this message
From: pavel dot may at csun dot edu Operating system: HP-UX 11i (11.11) PHP version: 4.3.1 PHP Bug Type: Reproducible crash Bug description: PHP Interpreter dies with Bus Error (Signal 10) Environment first: OS - HP-UX 11.11 (11i) C compiler: HP-UX ANSI C v B.11.11.06 with PHSS_28706 patch PHP: 4.3.1 ./configure arguments: --prefix=/opt/php-4.3.1 --enable-sigchild --with-openssl=/opt/openssl-0.9.7b --with-zlib --with-flatfile --with-mysql=/usr/MySQL-3.23.55 --disable-cgi CFLAGS: +DD64 +z -I/usr/local/include -I/usr/include -I/usr/ccs/include -I/opt/include -g LDFLAGS: +s +z +DD64 -L/lib/pa20_64 -L/opt/lib/pa20_64 -L/usr/local/lib -L/usr/ccs/lib -L/usr/lib ZLib version: 1.1.4 OpenSSL version: 0.9.7b MySQL version: 3.23.55 (binary install) GDB backtrace: [149]$ /opt/langtools/bin/gdb php core Detected 64-bit executable. Invoking /opt/langtools/bin/gdb64. HP gdb 3.1 for PA-RISC 2.0 (wide), HP-UX 11.00. Copyright 1986 - 2001 Free Software Foundation, Inc. Hewlett-Packard Wildebeest 3.1 (based on GDB) is covered by the GNU General Public License. Type "show copying" to see the conditions to change it and/or distribute copies. Type "show warranty" for warranty/support. .. Core was generated by `php'. Program terminated with signal 10, Bus error. warning: The shared libraries were not privately mapped; setting a breakpoint in a shared library will not work until you rerun the program. #0 0x400000000027b138 in OnUpdateInt (entry=0x80000001000d81c8, new_value=0x8000000100000478 "-1", new_value_length=2, mh_arg1=0x8c <Address 0x8c out of bounds>, mh_arg2=0x8000000100060580 "", mh_arg3=0x0, stage=1) at /home/users0/ccs/ulairi/sources/PHP/php-4.3.1/Zend/zend_ini.c:444 444 *p = zend_atoi(new_value, new_value_length); (gdb) bt #0 0x400000000027b138 in OnUpdateInt (entry=0x80000001000d81c8, new_value=0x8000000100000478 "-1", new_value_length=2, mh_arg1=0x8c <Address 0x8c out of bounds>, mh_arg2=0x8000000100060580 "", mh_arg3=0x0, stage=1) at /home/users0/ccs/ulairi/sources/PHP/php-4.3.1/Zend/zend_ini.c:444 #1 0x40000000000c9d90 in OnUpdate_zlib_output_compression_level (entry=0x80000001000d81c8, new_value=0x8000000100000478 "-1", new_value_length=2, mh_arg1=0x8c <Address 0x8c out of bounds>, mh_arg2=0x8000000100060580 "", mh_arg3=0x0, stage=1) at /home/users0/ccs/ulairi/sources/PHP/php-4.3.1/ext/zlib/zlib.c:170 #2 0x400000000027a290 in zend_register_ini_entries (ini_entry=0x8000000100000698, module_number=12) at /home/users0/ccs/ulairi/sources/PHP/php-4.3.1/Zend/zend_ini.c:157 #3 0x40000000000c9f68 in zm_startup_zlib (type=1, module_number=12) at /home/users0/ccs/ulairi/sources/PHP/php-4.3.1/ext/zlib/zlib.c:218 #4 0x400000000026a4e4 in zend_startup_module (module=0x8000000100000298) at /home/users0/ccs/ulairi/sources/PHP/php-4.3.1/Zend/zend_API.c:1008 #5 0x4000000000206ba4 in php_startup_extensions (ptr=0x800000010001dfa8, count=12) at /home/users0/ccs/ulairi/sources/PHP/php-4.3.1/main/main.c:986 #6 0x400000000028c354 in php_startup_internal_extensions () at main/internal_functions_cli.c:73 #7 0x40000000002073b4 in php_module_startup (sf=0x800000010001de88, additional_modules=0x0, num_additional_modules=0) at /home/users0/ccs/ulairi/sources/PHP/php-4.3.1/main/main.c:1151 #8 0x4000000000289b7c in main (argc=1, argv=0x800003ffff7f0ac8) at /home/users0/ccs/ulairi/sources/PHP/php-4.3.1/sapi/cli/php_cli.c:481 (gdb) quit -- Edit bug report at http://bugs.php.net/?id=23308&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23308&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23308&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23308&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23308&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23308&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23308&r=support Expected behavior: http://bugs.php.net/fix.php?id=23308&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23308&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23308&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23308&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23308&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23308&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23308&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23308&r=gnused

« previous php.bugs (#38084) next »