|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-22 19:32 UTC] mrobinso at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 30 06:00:01 2025 UTC |
Script to reproduce the problem - anything that performs an SQL query - typically seen when retreiving more than about 20 rows from a query. Configure line: ./configure '--with-apache=/usr/local/src/web/apache_1.3.9' '--with-mysql=/usr/local/mysql' '--with-gd=/usr/local/src/libs/gd-1.7.3' '--with-zlib' MySQL version - 3.23.8-alpha, no php.ini file Also, running a script with just phpinfo() segfaults as follows: (gdb) bt #0 0x8189964 in __DTOR_END__ () #1 0x40009f00 in _dl_init_next () from /lib/ld-linux.so.2 #2 0x81649c4 in basic_functions () #3 0x75462063 in ?? () Cannot access memory at address 0x69736142. Backtrace from the SQL-y problem: Program received signal SIGSEGV, Segmentation fault. 0x808cbfb in zend_hash_find (ht=0x819c8a0, arKey=0x8202bc0 "sql_query", nKeyLength=10, pData=0xbfff8dec) at zend_hash.c:839 839 if ((p->h == h) && (p->nKeyLength == nKeyLength)) { (gdb) bt #0 0x808cbfb in zend_hash_find (ht=0x819c8a0, arKey=0x8202bc0 "sql_query", nKeyLength=10, pData=0xbfff8dec) at zend_hash.c:839 #1 0x80e19b0 in zend_fetch_var_address (result=0x8279ad4, op1=0x8279ae4, op2=0x8279af4, Ts=0xbfff8e14, type=1) at ./zend_execute.c:497 #2 0x80dca47 in execute (op_array=0x81e0ea0) at ./zend_execute.c:1187 #3 0x80e0961 in execute (op_array=0x81f8f90) at ./zend_execute.c:2008 #4 0x807823c in php_execute_script (primary_file=0xbffff9dc) at main.c:1243 #5 0x80941b5 in apache_php_module_main (r=0x81d3a9c, fd=25, display_source_mode=0) at sapi_apache.c:86 #6 0x80767fc in send_php () #7 0x8076840 in send_parsed_php () #8 0x80e9a87 in ap_invoke_handler () #9 0x80fcae5 in process_request_internal () #10 0x80fcb44 in ap_process_request () #11 0x80f45e5 in child_main () #12 0x80f4778 in make_child () #13 0x80f48d3 in startup_children () #14 0x80f4ef8 in standalone_main () #15 0x80f566b in main () #16 0x400ed2e7 in __libc_start_main () from /lib/libc.so.6