ID:               25045
 Updated by:       [EMAIL PROTECTED]
 Reported By:      bvaughan at fame dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: Solaris 8
-PHP Version:      4.3.2
+PHP Version:      4.3.3RC4-dev
 New Comment:

Can you please nuke one variable from this equation and remove
--with-mnogosearch from your configure line for PHP?

Do this before reconfigure:
# rm config.cache 



Previous Comments:
------------------------------------------------------------------------

[2003-08-11 14:38:02] bvaughan at fame dot com

I just re-tried with php4-STABLE-latest.tar, which is: 
php4-STABLE-200308111730.
I got the same result, and the same output from gdb:

---------------
(gdb) run -X
Starting program: /disk1/apache/./bin/httpd -X
[New LWP 1]
[New LWP 2]
[New LWP 3]
[New LWP 4]

Program received signal SIGSEGV, Segmentation fault.
0xff1b319c in strlen () from /usr/lib/libc.so.1
(gdb) bt
#0  0xff1b319c in strlen () from /usr/lib/libc.so.1
#1  0xfe6d8eac in add_property_string_ex (arg=0x3fe530, key=0xfe72e8f8
"def", key_len=4, str=0xb <Address 0xb out of bounds>, duplicate=1)
    at
/disk2/source/php/releases/php4-STABLE-200308111730/Zend/zend_API.c:978
#2  0xfe55d2f8 in zif_mysql_fetch_field (ht=2, return_value=0x3fe530,
this_ptr=0x0, return_value_used=1)
    at
/disk2/source/php/releases/php4-STABLE-200308111730/ext/mysql/php_mysql.c:2165
#3  0xfe6efd64 in execute (op_array=0x2e8bb8) at
/disk2/source/php/releases/php4-STABLE-200308111730/Zend/zend_execute.c:1616
#4  0xfe6f009c in execute (op_array=0x2e9f40) at
/disk2/source/php/releases/php4-STABLE-200308111730/Zend/zend_execute.c:1660
#5  0xfe6f009c in execute (op_array=0x25b558) at
/disk2/source/php/releases/php4-STABLE-200308111730/Zend/zend_execute.c:1660
#6  0xfe6f009c in execute (op_array=0x2ea038) at
/disk2/source/php/releases/php4-STABLE-200308111730/Zend/zend_execute.c:1660
#7  0xfe6f009c in execute (op_array=0x3e0348) at
/disk2/source/php/releases/php4-STABLE-200308111730/Zend/zend_execute.c:1660
#8  0xfe6f2bd4 in execute (op_array=0x15b060) at
/disk2/source/php/releases/php4-STABLE-200308111730/Zend/zend_execute.c:2181
#9  0xfe6f009c in execute (op_array=0x130358) at
/disk2/source/php/releases/php4-STABLE-200308111730/Zend/zend_execute.c:1660
#10 0xfe6d4bcc in zend_execute_scripts (type=8, retval=0x0,
file_count=3)
    at
/disk2/source/php/releases/php4-STABLE-200308111730/Zend/zend.c:885
#11 0xfe67850c in php_execute_script (primary_file=0xffbef478) at
/disk2/source/php/releases/php4-STABLE-200308111730/main/main.c:1721
#12 0xfe6f6df4 in apache_php_module_main (r=0x125e18,
display_source_mode=0)
    at
/disk2/source/php/releases/php4-STABLE-200308111730/sapi/apache/sapi_apache.c:54
#13 0xfe6f8630 in send_php (r=0x125e18, display_source_mode=0,
filename=0x126938
"/disk1/wwwdev/htdocs/PostNuke-0.726/html/index.php")
    at
/disk2/source/php/releases/php4-STABLE-200308111730/sapi/apache/mod_php4.c:620
#14 0xfe6f86a8 in send_parsed_php (r=0x125e18) at
/disk2/source/php/releases/php4-STABLE-200308111730/sapi/apache/mod_php4.c:635
#15 0x420a8 in ap_invoke_handler ()
#16 0x61a18 in process_request_internal ()
#17 0x61a9c in ap_process_request ()
#18 0x54568 in child_main ()
#19 0x547fc in make_child ()
#20 0x54a18 in startup_children ()
#21 0x554dc in standalone_main ()
#22 0x56138 in main ()
---------------

Any more suggestions?

thanks!

------------------------------------------------------------------------

[2003-08-11 13:16:49] [EMAIL PROTECTED]

whoops, should be feedback.

------------------------------------------------------------------------

[2003-08-11 13:11:04] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



------------------------------------------------------------------------

[2003-08-11 12:36:09] bvaughan at fame dot com

Description:
------------
I am using php 4.3.2 with Apache1.3.28 on Solaris 8.  The  seg fau
occurs while accessing the 1st index.html page of PostNuke, but I dont
know what specific call is causing it beyond the backtrace below.

My compile line 
--with-mysql=/usr/local/mysql' '--with-apxs=/disk1/apache/bin/apxs'
'--with-mnogosearch=/disk2/mnogosearch' 
'--enable-debug' 

No changes have been made to the default ini file.

Reproduce code:
---------------
error occurs with an otherwise stable 3-rd party product, postNuke0.726

Expected result:
----------------
I expect to see the main index.html page.

Actual result:
--------------
A blank screen, or the browser just spins, or IE reports:
The page cannot be displayed.

(gdb) run -X
Starting program: /disk1/apache/./bin/httpd -X
[New LWP 1]
[New LWP 2]
[New LWP 3]
[New LWP 4]

Program received signal SIGSEGV, Segmentation fault.
0xff1b319c in strlen () from /usr/lib/libc.so.1
(gdb) bt
#0  0xff1b319c in strlen () from /usr/lib/libc.so.1
#1  0xfe6c9a34 in add_property_string_ex (arg=0x3f42f0, key=0xfe71f1a8
"def", key_len=4,
    str=0xb <Address 0xb out of bounds>, duplicate=1) at
/disk2/source/php/releases/php-4.3.2/Zend/zend_API.c:978
#2  0xfe55ba7c in zif_mysql_fetch_field (ht=2, return_value=0x3f42f0,
this_ptr=0x0, return_value_used=1)
    at /disk2/source/php/releases/php-4.3.2/ext/mysql/php_mysql.c:2124
#3  0xfe6e0800 in execute (op_array=0x2eac78) at
/disk2/source/php/releases/php-4.3.2/Zend/zend_execute.c:1606
#4  0xfe6e0b38 in execute (op_array=0x2ec000) at
/disk2/source/php/releases/php-4.3.2/Zend/zend_execute.c:1650
#5  0xfe6e0b38 in execute (op_array=0x25d6c8) at
/disk2/source/php/releases/php-4.3.2/Zend/zend_execute.c:1650
#6  0xfe6e0b38 in execute (op_array=0x2ec0f8) at
/disk2/source/php/releases/php-4.3.2/Zend/zend_execute.c:1650
#7  0xfe6e0b38 in execute (op_array=0x3e44c8) at
/disk2/source/php/releases/php-4.3.2/Zend/zend_execute.c:1650
#8  0xfe6e3638 in execute (op_array=0x15d230) at
/disk2/source/php/releases/php-4.3.2/Zend/zend_execute.c:2173
#9  0xfe6e0b38 in execute (op_array=0x130490) at
/disk2/source/php/releases/php-4.3.2/Zend/zend_execute.c:1650
#10 0xfe6c5754 in zend_execute_scripts (type=8, retval=0x0,
file_count=3)
    at /disk2/source/php/releases/php-4.3.2/Zend/zend.c:869
#11 0xfe6694a0 in php_execute_script (primary_file=0xffbef478) at
/disk2/source/php/releases/php-4.3.2/main/main.c:1671
#12 0xfe6e76c0 in apache_php_module_main (r=0x125e20,
display_source_mode=0)
    at
/disk2/source/php/releases/php-4.3.2/sapi/apache/sapi_apache.c:54
#13 0xfe6e8ee8 in send_php (r=0x125e20, display_source_mode=0,
    filename=0x126940
"/disk1/wwwdev/htdocs/PostNuke-0.726/html/index.php")
    at /disk2/source/php/releases/php-4.3.2/sapi/apache/mod_php4.c:617
#14 0xfe6e8f60 in send_parsed_php (r=0x125e20) at
/disk2/source/php/releases/php-4.3.2/sapi/apache/mod_php4.c:632
#15 0x420a8 in ap_invoke_handler ()
#16 0x61a18 in process_request_internal ()
#17 0x61a9c in ap_process_request ()
#18 0x54568 in child_main ()
#19 0x547fc in make_child ()
#20 0x54a18 in startup_children ()
#21 0x554dc in standalone_main ()
#22 0x56138 in main ()



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=25045&edit=1

Reply via email to