ID: 35798 User updated by: und-auch at ich-habe-fertig dot com Reported By: und-auch at ich-habe-fertig dot com -Status: Feedback +Status: Open Bug Type: Reproducible crash Operating System: Gentoo GNU/Linux-2.6 PHP Version: at least 4.4.1 - 5.1.2RC2-dev New Comment:
Thank you for your efforts, the problem ist much different to what I first thought: The dead links on the SSL-enabled admin page were by a couple of errors in fact non-SSL-Links, pointing to the right server, but that didn't have a default_vhost defined, so this error exists on ANY request to my server that requests a page from the listened-to non-SSL port, which doesn't have a default_vhost (thus no DOCUMENT_ROOT I guess). Feel free to close this thread, if this is an apache fault and non-PHP related! Thanks again for your help! Previous Comments: ------------------------------------------------------------------------ [2005-12-25 19:18:58] judas dot iscariote at gmail dot com I tried to reproduce your bug with http://www.oscommerce.com/redirect.php/go,27 but it's not reproducible . can you tell us what specific file is crashing apache , or provide a short script to reproduce it ??? maybe you can do the following: using the COMMAND LINE , go the the "admin" directory (of oscommerce), and execute the file who is crashing apache. $gdb /usb/bin/php ( or wherever the php binary is located) (gdb)run script.php (gdb) bt ------------------------------------------------------------------------ [2005-12-25 09:47:23] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try to avoid embedding huge scripts into the report. ------------------------------------------------------------------------ [2005-12-25 04:45:09] und-auch at ich-habe-fertig dot com >1h and no request for a core-dump? OK, it is or was xmas-eve :) well, how TO procuce it? I gdm /usr/sbin/apache2 and > run -X -D DEBUG -D PHP5 etc [...] [New Thread 376856 (LWP 29265)] [New Thread 393241 (LWP 29266)] [New Thread 409626 (LWP 29267)] [New Thread 426011 (LWP 29268)] [New Thread 442396 (LWP 29269)] [Thread 16386 (LWP 29243) exited] Cannot find thread 16386: no thread to satisfy query gdb> bt Cannot find thread 16386: invalid thread handle gdb> No core file found anywhere, thow I started in a writeable directory... is this possibly not enough? btw: It was just a phpinfo()-page I accessed producing this! ------------------------------------------------------------------------ [2005-12-25 02:52:05] und-auch at ich-habe-fertig dot com Did CVS 5.1.2RC2, works great until the point of interest, with apache -D DEBUG apache crashes itself now, no more connections work. other console: /etc/init.d/apache2 stop back again-console: /etc/init.d/apache2: line 73: 6202 Segmentation fault prompt is back, but port :443 still occupied by apache. starting apache without -D DEBUG, I instantly get "no data gotten from server" (instead of hanging as in debug), and shutting down apache seems to work. ------------------------------------------------------------------------ [2005-12-25 00:42:11] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.1-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.1-win32-latest.zip ------------------------------------------------------------------------ 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/35798 -- Edit this bug report at http://bugs.php.net/?id=35798&edit=1