[Bug 669005] Re: Apache2 crashes on reload
We are sorry, but it looks like this bug fell through the cracks and was forgotten. Since Ubuntu 8.04 is no longer supported, I'm going to mark this issue as "won't fix". If it's still happening in a supported version of Ubuntu, then please reopen this bug stating the new information. Thanks. ** Changed in: apache2 (Ubuntu) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/669005 Title: Apache2 crashes on reload To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/669005/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 669005] Re: Apache2 crashes on reload
Hello Guy, thank you for taking the time to file this bug report and help us make Ubuntu better. Can you enable core dumps for apache so we get a core file when it segfaults? This *should* do the trick: service apache2 stop ulimit -c unlimited service apache2 start After it has crashed, you can backtrace it yourself: gdb /usr/sbin/apache2 /path/to/core/file (probably /tmp/something, look in /var/log/error.log) then run 'bt' and paste the output here. Marking Incomplete pending response from Guy. ** Changed in: apache2 (Ubuntu) Status: New => Incomplete ** Tags added: hardy -- Apache2 crashes on reload https://bugs.launchpad.net/bugs/669005 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 669005] Re: Apache2 crashes on reload
Hi Clint I did exactly those steps: r...@chaos:/tmp # ulimit -c unlimited (11-05 13:25) r...@chaos:/tmp # service apache2 start (11-05 13:25) * Starting web server apache2 ...done. r...@chaos:/tmp # /etc/init.d/apache2 reload (11-05 13:25) * Reloading web server config apache2 ...done. And get the same error in the log, but no core file. -- Apache2 crashes on reload https://bugs.launchpad.net/bugs/669005 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 669005] Re: Apache2 crashes on reload
Guy, thanks for trying that out. I just simulated it here on a maverick system and the core was dumped in /etc/apache2/core Can you look in /etc/apache2 for the core file? -- Apache2 crashes on reload https://bugs.launchpad.net/bugs/669005 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 669005] Re: Apache2 crashes on reload
Oh also Guy, you'll get a better backtrace output if you also install the 'libc6-dbg' package to get full debug symbols. -- Apache2 crashes on reload https://bugs.launchpad.net/bugs/669005 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 669005] Re: Apache2 crashes on reload
Thanks, that worked (gdb) bt #0 0x7f18631324f0 in ?? () #1 0x7f186d18f055 in ERR_get_state () from /usr/lib/libcrypto.so.0.9.8 #2 0x7f186d18fa05 in ERR_put_error () from /usr/lib/libcrypto.so.0.9.8 #3 0x7f186d17edcc in ENGINE_add () from /usr/lib/libcrypto.so.0.9.8 #4 0x7f186d1818c8 in ENGINE_load_dynamic () from /usr/lib/libcrypto.so.0.9.8 #5 0x7f1867d06859 in ?? () from /usr/lib/libcurl.so.4 #6 0x7f1867d0ed10 in curl_global_init () from /usr/lib/libcurl.so.4 #7 0x7f1867f2fcee in zm_startup_curl () from /usr/lib/php5/20060613/curl.so #8 0x7f1869a28da3 in zend_startup_module_ex () from /usr/lib/apache2/modules/libphp5.so #9 0x7f1869a2e195 in zend_hash_apply () from /usr/lib/apache2/modules/libphp5.so #10 0x7f1869a275da in zend_startup_modules () from /usr/lib/apache2/modules/libphp5.so #11 0x7f18699e0b0b in php_module_startup () from /usr/lib/apache2/modules/libphp5.so #12 0x7f1869aa2e45 in ?? () from /usr/lib/apache2/modules/libphp5.so #13 0x7f1869aa38e3 in ?? () from /usr/lib/apache2/modules/libphp5.so #14 0x00437bcc in ap_run_post_config () #15 0x00425a21 in main () -- Apache2 crashes on reload https://bugs.launchpad.net/bugs/669005 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 669005] Re: Apache2 crashes on reload
Guy, awesome, this narrows things down a bit. Can you also install these debug symbols and repeat the trace?: php5-dbg libssl0.9.8-dbg libcurl3-dbg I'm guessing that this is a bug in PHP or curl that isn't re- initializing some kind of global state for openssl. Are you definitely using the curl module for php? If not, you can try apt-get remove php5-curl And see if that resolves the issue. Please report back if that does (as it will help us to isolate the issue). ** Changed in: apache2 (Ubuntu) Status: Incomplete => Confirmed -- Apache2 crashes on reload https://bugs.launchpad.net/bugs/669005 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 669005] Re: Apache2 crashes on reload
Marking Confirmed as this is definitely a bug. -- Apache2 crashes on reload https://bugs.launchpad.net/bugs/669005 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 669005] Re: Apache2 crashes on reload
Hi Clint It gives me this: (gdb) bt #0 0x7fb3b834a4f0 in ?? () #1 0x7fb3c23a7055 in ERR_get_state () at err.c:1005 #2 0x7fb3c23a7a05 in ERR_put_error (lib=38, func=120, reason=103, file=0x7fb3c240f0e3 "eng_list.c", line=116) at err.c:701 #3 0x7fb3c2396dcc in ENGINE_add (e=0x98a6f0) at eng_list.c:115 #4 0x7fb3c23998c8 in ENGINE_load_dynamic () at eng_dyn.c:291 #5 0x7fb3bcf1e859 in Curl_ossl_init () at ssluse.c:560 #6 0x7fb3bcf26d10 in curl_global_init (flags=) at easy.c:226 #7 0x7fb3bd147cee in zm_startup_curl () from /usr/lib/php5/20060613/curl.so #8 0x7fb3bec40da3 in zend_startup_module_ex () from /usr/lib/apache2/modules/libphp5.so #9 0x7fb3bec46195 in zend_hash_apply () from /usr/lib/apache2/modules/libphp5.so #10 0x7fb3bec3f5da in zend_startup_modules () from /usr/lib/apache2/modules/libphp5.so #11 0x7fb3bebf8b0b in php_module_startup () from /usr/lib/apache2/modules/libphp5.so #12 0x7fb3becbae45 in ?? () from /usr/lib/apache2/modules/libphp5.so #13 0x7fb3becbb8e3 in ?? () from /usr/lib/apache2/modules/libphp5.so #14 0x00437bcc in ap_run_post_config () #15 0x00425a21 in main () I doubt it's SSL related, the server is behind a reverse proxy that does SSL termination and that part of the config didn't change. But if I am correct, it started doing this after I installed Community-ID, which is using Zend and php-curl... -- Apache2 crashes on reload https://bugs.launchpad.net/bugs/669005 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 669005] Re: Apache2 crashes on reload
Guy, thanks. I've been digging through the code a bit, and it appears that we're probably dying because the id_callback that PHP has setup is invalid in some way. The spot where we get the "in ??" is this: pid=(unsigned long)CRYPTO_thread_id(); CRYPTO_thread_id() returns the result of a dynamic function pointer which is in fact set during the php curl extension's initialization step to tsrm_thread_id(), but its possible this pointer has been invalidated in some way. I'm going to go ahead and try to install Community-ID and see if I can reproduce this on Hardy. -- Apache2 crashes on reload https://bugs.launchpad.net/bugs/669005 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 669005] Re: Apache2 crashes on reload
Ok, I'm running 2.0 RC3 already. -- Apache2 crashes on reload https://bugs.launchpad.net/bugs/669005 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 669005] Re: Apache2 crashes on reload
** Changed in: apache2 (Ubuntu) Assignee: (unassigned) => Clint Byrum (clint-fewbar) ** Tags added: work-intensive -- Apache2 crashes on reload https://bugs.launchpad.net/bugs/669005 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs