ID:               19496
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         Apache2 related
 Operating System: FreeBSD 4.7-PRERELEASE #2
 PHP Version:      4CVS-2002-09-19
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.




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

[2002-09-20 20:07:07] [EMAIL PROTECTED]

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.

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

[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=675111183)
    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 <Address 0x1953 out of bounds>,
    fopen_mode=0x83 <Address 0x83 out of bounds>, 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]

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.

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/19496

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

Reply via email to