ID:               16475
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         Apache2 related
 Operating System: Linux 2.4.16
 PHP Version:      4.0CVS-2002-04-07
 New Comment:

There have been some fixes. Please try PHP 4.2.0RC3
from http://www.php.net/~derick/ or latest CVS snapshot
from http://snaps.php.net/



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

[2002-04-07 12:57:31] [EMAIL PROTECTED]

Well,

it's me again :-)
I just compiled php with --with-apxs2 option. The result is just the
same, apache crashes after being started. See my new backtrace:

warning: Unable to set global thread event mask: generic error
[New Thread 1024 (LWP 28095)]
Error while reading shared library symbols:
Cannot enable thread event reporting for Thread 1024 (LWP 28095):
generic error
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/local/apache2/modules/libphp4.so...done.
Loaded symbols for /usr/local/apache2/modules/libphp4.so
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
#0  0x401de657 in malloc () from /lib/libc.so.6
(gdb) bt
#0  0x401de657 in malloc () from /lib/libc.so.6
#1  0x401de1e4 in malloc () from /lib/libc.so.6
#2  0x4036eb15 in zend_hash_add_or_update (ht=0x8165a18,
arKey=0x403a54e1 "stdclass", nKeyLength=9, pData=0x403c5da0,
    nDataSize=120, pDest=0x0, flag=2) at
/home/sebastian/cvs/php4-200204070300/Zend/zend_hash.c:266
#3  0x4036a0cd in register_standard_class () at
/home/sebastian/cvs/php4-200204070300/Zend/zend.c:257
#4  0x4036a643 in zend_startup (utility_functions=0xbffffc88,
extensions=0x0, start_builtin_functions=1)
    at /home/sebastian/cvs/php4-200204070300/Zend/zend.c:429
#5  0x40342a65 in php_module_startup (sf=0x403b33e0) at
/home/sebastian/cvs/php4-200204070300/main/main.c:928
#6  0x40380477 in php_apache_server_startup (pconf=0x80c5a80,
plog=0x8107b88, ptemp=0x81619d0, s=0x81654b8)
    at
/home/sebastian/cvs/php4-200204070300/sapi/apache2filter/sapi_apache2.c:432
#7  0x08088f51 in ap_run_post_config (pconf=0x80c5a80, plog=0x8107b88,
ptemp=0x81619d0, s=0x81654b8) at config.c:129
#8  0x0808d131 in main (argc=2, argv=0xbffffde4) at main.c:611
#9  0x401896cf in __libc_start_main () from /lib/libc.so.6

Bye,
Sebastian

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

[2002-04-07 12:33:29] [EMAIL PROTECTED]

And please classify these apache2 related bugs under the 
correct category.


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

[2002-04-07 12:32:56] [EMAIL PROTECTED]

Please reduce the PHP configure options to minimum.
ie. only --with-apxs2

--Jani


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

[2002-04-07 11:21:59] [EMAIL PROTECTED]

Okay, here is my backtrace:

warning: Unable to set global thread event mask: generic error
[New Thread 1024 (LWP 30801)]
Error while reading shared library symbols:
Cannot enable thread event reporting for Thread 1024 (LWP 30801):
generic error
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/local/apache2/modules/libphp4.so...done.
Loaded symbols for /usr/local/apache2/modules/libphp4.so
Reading symbols from /usr/local/lib/libpdf.so.1...done.
Loaded symbols for /usr/local/lib/libpdf.so.1
Reading symbols from /usr/local/lib/libtiff.so.3...done.
Loaded symbols for /usr/local/lib/libtiff.so.3
Reading symbols from /usr/local/lib/libpng.so.3...done.
Loaded symbols for /usr/local/lib/libpng.so.3
Reading symbols from /usr/local/lib/libmhash.so.2...done.
Loaded symbols for /usr/local/lib/libmhash.so.2
Reading symbols from /usr/local/lib/libmcrypt.so.4...done.
Loaded symbols for /usr/local/lib/libmcrypt.so.4
Reading symbols from /usr/local/lib/libltdl.so.3...done.
Loaded symbols for /usr/local/lib/libltdl.so.3
Reading symbols from /usr/local/lib/libttf.so.2...done.
Loaded symbols for /usr/local/lib/libttf.so.2
Reading symbols from /usr/local/lib/libjpeg.so.62...done.
Loaded symbols for /usr/local/lib/libjpeg.so.62
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
#0  0x40391679 in sapi_initialize_empty_request (tsrm_ls=0x8166f68) at
/home/sebastian/cvs/php4-200204070300/main/SAPI.c:366
366             SG(server_context) = NULL;
(gdb) bt
#0  0x40391679 in sapi_initialize_empty_request (tsrm_ls=0x8166f68) at
/home/sebastian/cvs/php4-200204070300/main/SAPI.c:366
#1  0x4038d4e9 in php_module_startup (sf=0x404224c0) at
/home/sebastian/cvs/php4-200204070300/main/main.c:907
#2  0x403d1257 in php_apache_server_startup (pconf=0x80c5a80,
plog=0x8107b88, ptemp=0x8162ec0, s=0x81669a8)
    at
/home/sebastian/cvs/php4-200204070300/sapi/apache2filter/sapi_apache2.c:432
#3  0x08088f51 in ap_run_post_config (pconf=0x80c5a80, plog=0x8107b88,
ptemp=0x8162ec0, s=0x81669a8) at config.c:129
#4  0x0808d131 in main (argc=2, argv=0xbffffde4) at main.c:611
#5  0x401896cf in __libc_start_main () from /lib/libc.so.6

As I already mentioned apache crashes immediatelly after being started.
Do you need other or additional information?

Bye, Sebastian

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

[2002-04-07 10:45:09] [EMAIL PROTECTED]

To properly diagnose this bug, 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".

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

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/16475

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

Reply via email to