#19496 [Opn]: Apache 2.40 Core Dump
ID: 19496 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Apache2 related Operating System: FreeBSD 4.7-PRERELEASE #2 PHP Version: 4CVS-2002-09-19 New Comment: Just to keep you informed, I just deleted my apache build and source, recompiled it from fresh and got the latest cvs again [the configure script now works at least] and rebuilt that too. Total clean install and same core dump. Previous Comments: [2002-09-20 12:35:52] [EMAIL PROTECTED] Can you tell me this ? Why is this :- /home/admin/cvs/php4/ext/standard/exec.c Being called ? The latest install comes from the directory /home/admin/cvs/c/php4 [this is the source directory] Surely it should never try to have any referrence to the file "/home/admin/cvs/php4/ext/standard/exec.c" ? Plus once it is installed it shoulndt be calling to the source any more any how ? [2002-09-20 04:13:28] [EMAIL PROTECTED] Okay,I got the latest version and I enabled the debugging. [LATEST CORE DUMP DEBUG AT THE BOTTOM] Firstly can I say that this newer version is worse in that configure fails. HEres some of the errors when running buildconf :- buildconf: automake version 1.6.3 (ok) buildconf: libtool version 1.4.1 (ok) rebuilding configure ext/yaz/config.m4:32: /usr/local/bin/gm4: Warning: Excess arguments to built-in `m4_if' ignored configure:88216: error: possibly undefined macro: AS_ESCAPE configure:88217: error: possibly undefined macro: m4_warn configure:88219: error: possibly undefined macro: _AS_ECHO rebuilding acconfig.h rebuilding main/php_config.h.in ext/yaz/config.m4:32: /usr/local/bin/gm4: Warning: Excess arguments to built-in `m4_if' ignored autoheader: `main/php_config.h.in' is created --- Heres the error of configure :- ./configure: line 88207: syntax error near unexpected token `&6]))' ./configure: line 88207: `echo \"" >&6]))],' I fixed up the configure script and installed php. I found that the errors where only for outputting messages to me, which I cared not about. HEre is the output of the core dump :- #0 0x28412740 in execute (op_array=0x28478090) at /home/admin/cvs/php4/Zend/zend_execute.c:318 #1 0x283d8d03 in sslow (m=0x284647bc, start=0x0, stop=0xbfbff844 "tø¿¿\022ÿ=(\f\020\032\b\203", startst=675107865, stopst=675694524) at /usr/include/ctype.h:152 #2 0x28381b08 in zif_proc_open (ht=675694524, return_value=0x28477ee0, this_ptr=0xbfbff874, return_value_used=67583) at /home/admin/cvs/php4/ext/standard/exec.c:939 #3 0x283e0efb in php_ini_displayer (ini_entry=0x81a100c, module_number=131) at /home/admin/cvs/php4/main/php_ini.c:112 #4 0x283dff12 in php_checkuid ( filename=0x1953 , fopen_mode=0x83 , mode=675539712) at /home/admin/cvs/php4/main/safe_mode.c:123 #5 0x283d267e in big2_scanPercent (enc=0x2843eb00, ptr=0x2843eab8 "ted, use the call_user_func variety with the array(&$obj, \"method\") syntax instead", end=0x812640c "Function registration failed - duplicate name - apache_lookup_uri", nextTokPtr=0x284523cb) at /home/admin/cvs/php4/ext/xml/expat/xmltok_impl.c:897 #6 0x283d2d65 in big2_prologTok (enc=0x20, ptr=0x284523cb "\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005a\005`\005F\005F\005F\005F\005F\005F\005F\005F\005F\005F\005F\005F\005F\005F\005F\005F\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005b\005a\005F\005F\005F\005F\005F\005F\005F\005F\005F\005F\005F\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005c\005b\005F\005F\005F\005F\005F\005F"..., end=0x0, nextTokPtr=0x28452620) at /home/admin/cvs/php4/ext/xml/expat/xmltok_impl.c:995 #7 0x283fa04e in zend_do_qm_false (result=0x20, false_value=0x28452620, qm_token=0x28453e79, colon_token=0x283fc6b6) at /home/admin/cvs/php4/Zend/zend_compile.c:2355 #8 0x283fc7a6 in zend_strip () at /home/admin/cvs/php4/Zend/zend_highlight.c:240 #9 0x283fc8a7 in zend_llist_prepend_element (l=0x28464660, element=0x284647bc) at /home/admin/cvs/php4/Zend/zend_llist.c:56 #10 0x283fc69d in zend_strip () at /usr/include/stdio.h:363 #11 0x28413c15 in execute (op_array=0x80e0018) at /home/admin/cvs/php4/Zend/zend_execute.c:71 #12 0x2841301d in execute (op_array=0x80e0018) at /home/admin/cvs/php4/Zend/zend_execute.c:72 #13 0x8097ec1 in ap_run_post_config (pconf=0x80e0018, plog=0x8118018, ptemp=0x811e018, s=0x80e3428) at config.c:129 #14 0x809c47c in main (argc=3, argv=0xbfbffbd8) at main.c:634 #15 0x8065301 in _start () --
#19496 [Opn]: Apache 2.40 Core Dump
ID: 19496 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Apache2 related Operating System: FreeBSD 4.7-PRERELEASE #2 PHP Version: 4CVS-2002-09-19 New Comment: Can you tell me this ? Why is this :- /home/admin/cvs/php4/ext/standard/exec.c Being called ? The latest install comes from the directory /home/admin/cvs/c/php4 [this is the source directory] Surely it should never try to have any referrence to the file "/home/admin/cvs/php4/ext/standard/exec.c" ? Plus once it is installed it shoulndt be calling to the source any more any how ? Previous Comments: [2002-09-20 04:13:28] [EMAIL PROTECTED] Okay,I got the latest version and I enabled the debugging. [LATEST CORE DUMP DEBUG AT THE BOTTOM] Firstly can I say that this newer version is worse in that configure fails. HEres some of the errors when running buildconf :- buildconf: automake version 1.6.3 (ok) buildconf: libtool version 1.4.1 (ok) rebuilding configure ext/yaz/config.m4:32: /usr/local/bin/gm4: Warning: Excess arguments to built-in `m4_if' ignored configure:88216: error: possibly undefined macro: AS_ESCAPE configure:88217: error: possibly undefined macro: m4_warn configure:88219: error: possibly undefined macro: _AS_ECHO rebuilding acconfig.h rebuilding main/php_config.h.in ext/yaz/config.m4:32: /usr/local/bin/gm4: Warning: Excess arguments to built-in `m4_if' ignored autoheader: `main/php_config.h.in' is created --- Heres the error of configure :- ./configure: line 88207: syntax error near unexpected token `&6]))' ./configure: line 88207: `echo \"" >&6]))],' I fixed up the configure script and installed php. I found that the errors where only for outputting messages to me, which I cared not about. HEre is the output of the core dump :- #0 0x28412740 in execute (op_array=0x28478090) at /home/admin/cvs/php4/Zend/zend_execute.c:318 #1 0x283d8d03 in sslow (m=0x284647bc, start=0x0, stop=0xbfbff844 "tø¿¿\022ÿ=(\f\020\032\b\203", startst=675107865, stopst=675694524) at /usr/include/ctype.h:152 #2 0x28381b08 in zif_proc_open (ht=675694524, return_value=0x28477ee0, this_ptr=0xbfbff874, return_value_used=67583) at /home/admin/cvs/php4/ext/standard/exec.c:939 #3 0x283e0efb in php_ini_displayer (ini_entry=0x81a100c, module_number=131) at /home/admin/cvs/php4/main/php_ini.c:112 #4 0x283dff12 in php_checkuid ( filename=0x1953 , fopen_mode=0x83 , mode=675539712) at /home/admin/cvs/php4/main/safe_mode.c:123 #5 0x283d267e in big2_scanPercent (enc=0x2843eb00, ptr=0x2843eab8 "ted, use the call_user_func variety with the array(&$obj, \"method\") syntax instead", end=0x812640c "Function registration failed - duplicate name - apache_lookup_uri", nextTokPtr=0x284523cb) at /home/admin/cvs/php4/ext/xml/expat/xmltok_impl.c:897 #6 0x283d2d65 in big2_prologTok (enc=0x20, ptr=0x284523cb "\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005a\005`\005F\005F\005F\005F\005F\005F\005F\005F\005F\005F\005F\005F\005F\005F\005F\005F\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005b\005a\005F\005F\005F\005F\005F\005F\005F\005F\005F\005F\005F\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005P\005c\005b\005F\005F\005F\005F\005F\005F"..., end=0x0, nextTokPtr=0x28452620) at /home/admin/cvs/php4/ext/xml/expat/xmltok_impl.c:995 #7 0x283fa04e in zend_do_qm_false (result=0x20, false_value=0x28452620, qm_token=0x28453e79, colon_token=0x283fc6b6) at /home/admin/cvs/php4/Zend/zend_compile.c:2355 #8 0x283fc7a6 in zend_strip () at /home/admin/cvs/php4/Zend/zend_highlight.c:240 #9 0x283fc8a7 in zend_llist_prepend_element (l=0x28464660, element=0x284647bc) at /home/admin/cvs/php4/Zend/zend_llist.c:56 #10 0x283fc69d in zend_strip () at /usr/include/stdio.h:363 #11 0x28413c15 in execute (op_array=0x80e0018) at /home/admin/cvs/php4/Zend/zend_execute.c:71 #12 0x2841301d in execute (op_array=0x80e0018) at /home/admin/cvs/php4/Zend/zend_execute.c:72 #13 0x8097ec1 in ap_run_post_config (pconf=0x80e0018, plog=0x8118018, ptemp=0x811e018, s=0x80e3428) at config.c:129 #14 0x809c47c in main (argc=3, argv=0xbfbffbd8) at main.c:634 #15 0x8065301 in _start () [2002-09-19 20:30:23] [EMAIL PROTECTED] Yes, --enable-debug should be used. But please get a fresh snapshot, there have been couple of fixes just recently. [2002-09-19 06:42:34] [EMAIL PROTECTED]
#19496 [Opn]: Apache 2.40 Core Dump
ID: 19496 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Apache2 related Operating System: FreeBSD 4.7-PRERELEASE #2 PHP Version: 4CVS-2002-09-19 New Comment: I just noticed, I forgot to compile with the --enable-debug, does that matter, is the info supplied sufficient? Ill do it again if needs be. Previous Comments: [2002-09-19 06:40:40] [EMAIL PROTECTED] at /home/admin/cvs/b/php4/sapi/apache2filter/sapi_apache2.c:126 #1 0x283d79b3 in sapi_send_headers () at /home/admin/cvs/b/php4/main/SAPI.c:696 #2 0x283819a8 in php_header () at /home/admin/cvs/b/php4/ext/standard/head.c:62 #3 0x283dfbab in php_ub_body_write ( str=0x81a100c "\nWarning: Function registration failed - duplicate name - apache_lookup_uri in Unknown on line 0\n", str_length=131) at /home/admin/cvs/b/php4/main/output.c:686 #4 0x283debc2 in php_body_write ( str=0x81a100c "\nWarning: Function registration failed - duplicate name - apache_lookup_uri in Unknown on line 0\n", str_length=131) at /home/admin/cvs/b/php4/main/output.c:104 #5 0x283d135a in php_printf ( format=0x2843d700 "\n%s: %s in %s on line %d\n") at /home/admin/cvs/b/php4/main/main.c:388 #6 0x283d1a41 in php_error_cb (type=32, error_filename=0x2845104b "Unknown", error_lineno=0, format=0x284512a0 "Function registration failed - duplicate name - %s", args=0xbfbff994 "Ù*E(>³?(\2343F(@2F(@2F(é(=(\2343F(À0F((4\016\b%\017\"(Ù*E( ") at /home/admin/cvs/b/php4/main/main.c:609 #7 0x283f8cd6 in zend_error (type=32, format=0x284512a0 "Function registration failed - duplicate name - %s") at /home/admin/cvs/b/php4/Zend/zend.c:710 #8 0x283fb42e in zend_register_functions (functions=0x28463200, function_table=0x0, type=1) at /home/admin/cvs/b/php4/Zend/zend_API.c:1060 #9 0x283fb52f in zend_register_module (module=0x28463240) at /home/admin/cvs/b/php4/Zend/zend_API.c:1103 #10 0x283fb325 in zend_startup_module (module=0x28463240) at /home/admin/cvs/b/php4/Zend/zend_API.c:1014 #11 0x2841289d in php_apache_register_module () at /home/admin/cvs/b/php4/sapi/apache2filter/php_functions.c:172 #12 0x28411ca5 in php_apache_server_startup (pconf=0x80e0018, plog=0x8118018, ptemp=0x811e018, s=0x80e3428) at /home/admin/cvs/b/php4/sapi/apache2filter/sapi_apache2.c:505 #13 0x8097ec1 in ap_run_post_config (pconf=0x80e0018, plog=0x8118018, ptemp=0x811e018, s=0x80e3428) at config.c:129 #14 0x809c47c in main (argc=3, argv=0xbfbffbd8) at main.c:634 #15 0x8065301 in _start () [2002-09-19 06:21:21] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. [2002-09-19 06:12:37] [EMAIL PROTECTED] Sep 19 12:02:12 admin /kernel: pid 86191 (httpd), uid 0: exited on signal 11 (core dumped) I am getting a core dump from apache 2.40 when using the latest CVS, lookily I have a backup of the CVS I was laready using. This old CVS works fine, I have reinstalled/uninstalled many times and eery time ocre dump with the latest CVS. Both configure lines are identical in the installs. Which was :- ./configure --with-mysql --with-apxs2=/usr/local/apache/bin/apxs I noticed the message of supplying the path to pth on the latest CVS, so I tried this also :- ./configure --with-mysql --with-apxs2=/usr/local/apache/bin/apxs --with-tsrm-pth=/usr/local/bin/pth-config The current working CVS I have is dated 2002-09-06. -- Edit this bug report at http://bugs.php.net/?id=19496&edit=1