php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25985 Crash running coWiki
Submitted: 2003-10-25 03:00 UTC Modified: 2003-11-14 01:00 UTC
From: k.schroeder@php.net Assigned: andi (profile)
Status: No Feedback Package: Apache related
PHP Version: PHP5b2RC1, 5CVS-2003-10-25 (dev) OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: k.schroeder@php.net
New email:
PHP Version: OS:

 

 [2003-10-25 03:00 UTC] k.schroeder@php.net
Description:
------------
coWiki is a web collaboration tool complete written in/for PHP5, see http://www.develnet.org for more details.

If I run coWiki with mod_php5, Apache child exit with segfault, using CGI it works.

Reproduce code:
---------------
Try to access any coWiki page over http.

Expected result:
----------------
The HTML output.

Actual result:
--------------
tolpan:~ # gdb httpd
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-suse-linux"...(no debugging symbols found)...
(gdb) run -X -f /etc/httpd/httpd.conf_debug
Starting program: /usr/sbin/httpd -X -f /etc/httpd/httpd.conf_debug
(no debugging symbols found)...(no debugging symbols found)...[New Thread 16384 (LWP 2915)]
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 2915)]
0x5a5a5a5a in ?? ()
(gdb) bt
#0  0x5a5a5a5a in ?? ()
#1  0x40bbf0c4 in libname () from /usr/lib/apache/libphp5.so
#2  0x40bfa1b8 in libname () from /usr/lib/apache/libphp5.so
#3  0x40bf24f1 in libname () from /usr/lib/apache/libphp5.so
#4  0x40bf872d in libname () from /usr/lib/apache/libphp5.so
#5  0x40bf24f1 in libname () from /usr/lib/apache/libphp5.so
#6  0x40bc66ff in libname () from /usr/lib/apache/libphp5.so
#7  0x40bc5a86 in libname () from /usr/lib/apache/libphp5.so
#8  0x40bc6ab5 in libname () from /usr/lib/apache/libphp5.so
#9  0x40bc73d2 in libname () from /usr/lib/apache/libphp5.so
#10 0x40bf57f1 in libname () from /usr/lib/apache/libphp5.so
#11 0x40bf24f1 in libname () from /usr/lib/apache/libphp5.so
#12 0x40bf6425 in libname () from /usr/lib/apache/libphp5.so
#13 0x40bf6917 in libname () from /usr/lib/apache/libphp5.so
#14 0x40bf24f1 in libname () from /usr/lib/apache/libphp5.so
#15 0x40bf6425 in libname () from /usr/lib/apache/libphp5.so
#16 0x40bf6917 in libname () from /usr/lib/apache/libphp5.so
#17 0x40bf24f1 in libname () from /usr/lib/apache/libphp5.so
#18 0x40bf6425 in libname () from /usr/lib/apache/libphp5.so
#19 0x40bf6917 in libname () from /usr/lib/apache/libphp5.so
#20 0x40bf24f1 in libname () from /usr/lib/apache/libphp5.so
#21 0x40bf6425 in libname () from /usr/lib/apache/libphp5.so
#22 0x40bf6917 in libname () from /usr/lib/apache/libphp5.so
#23 0x40bf24f1 in libname () from /usr/lib/apache/libphp5.so
#24 0x40bf6425 in libname () from /usr/lib/apache/libphp5.so
#25 0x40bf6917 in libname () from /usr/lib/apache/libphp5.so
#26 0x40bf24f1 in libname () from /usr/lib/apache/libphp5.so
#27 0x40bf6425 in libname () from /usr/lib/apache/libphp5.so
#28 0x40bf6917 in libname () from /usr/lib/apache/libphp5.so
#29 0x40bf24f1 in libname () from /usr/lib/apache/libphp5.so
#30 0x40bf6425 in libname () from /usr/lib/apache/libphp5.so
#31 0x40bf6917 in libname () from /usr/lib/apache/libphp5.so
#32 0x40bf24f1 in libname () from /usr/lib/apache/libphp5.so
#33 0x40bf872d in libname () from /usr/lib/apache/libphp5.so
#34 0x40bf24f1 in libname () from /usr/lib/apache/libphp5.so
#35 0x40bd14f7 in libname () from /usr/lib/apache/libphp5.so
#36 0x40b90000 in libname () from /usr/lib/apache/libphp5.so
#37 0x40bfe23c in libname () from /usr/lib/apache/libphp5.so
#38 0x40bff1dd in libname () from /usr/lib/apache/libphp5.so
#39 0x40bff263 in libname () from /usr/lib/apache/libphp5.so
#40 0x080551e7 in ap_invoke_handler ()
#41 0x08069fee in ap_some_auth_required ()
#42 0x4040cdc6 in _init () from /usr/lib/apache/mod_dir.so
---Type <return> to continue, or q <return> to quit---
#43 0x080551e7 in ap_invoke_handler ()
#44 0x08069fee in ap_some_auth_required ()
#45 0x0806a221 in ap_process_request ()
#46 0x08061c7f in ap_child_terminate ()
#47 0x08061e1a in ap_child_terminate ()
#48 0x08061f56 in ap_child_terminate ()
#49 0x080629db in ap_child_terminate ()
#50 0x08063136 in main ()
#51 0x401b38ae in __libc_start_main () from /lib/libc.so.6
(gdb) quit
A debugging session is active.
Do you still want to close the debugger?(y or n) y
tolpan:~ #


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-27 11:28 UTC] k.schroeder@php.net
(gdb) bt
#0  0x5a5a5a5a in ?? ()
#1  0x40a64138 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#2  0x40a9f3cc in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#3  0x40a97705 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#4  0x40a9d941 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#5  0x40a97705 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#6  0x40a6b773 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#7  0x40a6aafa in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#8  0x40a6bb29 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#9  0x40a6c446 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#10 0x40a9aa05 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#11 0x40a97705 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#12 0x40a9b639 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#13 0x40a9bb2b in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#14 0x40a97705 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#15 0x40a9b639 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#16 0x40a9bb2b in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#17 0x40a97705 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#18 0x40a9b639 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#19 0x40a9bb2b in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#20 0x40a97705 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#21 0x40a9b639 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#22 0x40a9bb2b in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#23 0x40a97705 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#24 0x40a9b639 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#25 0x40a9bb2b in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#26 0x40a97705 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#27 0x40a9b639 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#28 0x40a9bb2b in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#29 0x40a97705 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#30 0x40a9b639 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#31 0x40a9bb2b in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#32 0x40a97705 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#33 0x40a9d941 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#34 0x40a97705 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#35 0x40a7656b in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#36 0x40a34f18 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#37 0x40aa3450 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#38 0x40aa43f1 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#39 0x40aa4477 in XRRExtensionInfo () from /srv/apache_1.3.28/libexec/libphp5.so
#40 0x08053e8b in ap_invoke_handler (r=0x81c0984) at http_config.c:518
#41 0x08068986 in process_request_internal (r=0x81c0984) at http_request.c:1324
#42 0x08068dcf in ap_internal_redirect (new_uri=0x81c095c "/index.php", r=0x81bc254) at http_request.c:1461
---Type <return> to continue, or q <return> to quit---
#43 0x402b1dba in handle_dir (r=0x81bc254) at mod_dir.c:174
#44 0x08053e8b in ap_invoke_handler (r=0x81bc254) at http_config.c:518
#45 0x08068986 in process_request_internal (r=0x81bc254) at http_request.c:1324
#46 0x080689e5 in ap_process_request (r=0x81bc254) at http_request.c:1340
#47 0x0805fafb in child_main (child_num_arg=0) at http_main.c:4653
#48 0x0805fca3 in make_child (s=0x8093c4c, slot=0, now=1067269185) at http_main.c:4768
#49 0x0805fe09 in startup_children (number_to_start=5) at http_main.c:4850
#50 0x080604af in standalone_main (argc=2, argv=0xbffff624) at http_main.c:5169
#51 0x08060ccd in main (argc=2, argv=0xbffff624) at http_main.c:5511
#52 0x4015e8ae in __libc_start_main () from /lib/libc.so.6
(gdb)

 [2003-10-29 14:22 UTC] moriyoshi@php.net
Please be sure to feed --enable-debug to configure when you are trying to make gdb backtrace.



 [2003-11-14 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Apr 08 16:01:25 2020 UTC