[Bug 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
** Package changed: apache2 (Ubuntu) = openssl (Ubuntu) ** Changed in: openssl (Ubuntu) Assignee: (unassigned) = Colin Watson (cjwatson) ** Changed in: php Status: Confirmed = Invalid -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
Thanks Miroslav. That fixed it for me as well. I can't believe this hasn't been fixed. My test environment was 32-bit so I missed this initially and then spent way too long trying to figure it out. -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
Why is this marked as 'low' priority? Apache + SSL + curl is probably a very common combination. This is incredibly tedious.. -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
Also confirming that the patch from Miroslav worked for me. AWESOME! -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
Thank you, Miroslav! Can't test it now, 'cause I'm switched to Mac OS X, but anyway, well done! -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
Confirming that the patch posted by Miroslav Zacek works for me as well. Many thanks! -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
Ditto here. Now we wait for openssl to be updated :-) -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
It hasn't been fixed yet, unfortunately :-( So here is a small howto for (k)ubuntu if you need to fix it (root privileges assumed): 1) create a directory somewhere, e.g. /usr/src/openssl, chdir there and run: apt-get source openssl apt-get build-dep openssl 2) edit ./openssl-0.9.8k/debian/patches/aesni.patch: on line 1956 change + ENGINE_add (toadd); to + if (ENGINE_add (toadd)) 3) edit /openssl-0.9.8k/crypto/engine/eng_all.c: on line 64 add this new line (as first row in the ENGINE_load_builtin_engines(void) function): OPENSSL_cpuid_setup(); 4) now build the packages (from /usr/src/openssl/openssl-0.9.8k) dpkg-buildpackage 5) Then you'll get new packages in /usr/src/openssl. Install libssl0.9.8_0.9.8k-7ubuntu8_*.deb and reboot (to test apache you do not need reboot, just restart apache). Be carefull on updates not to install the original version from the repositories. -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
In the previous howto in step 2 please note there is no semicolon at the end of the line after the change. This is correct!. On the following line 1957 there is a function call that should be executed only if ENGINE_add (toadd) returns true. If you keep the semicolon there the code will compile but segmentation errors persist. -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
Thanks for the step-by-step of patching the source Miroslav Zacek! It seems to have fixed the seg faulting I was getting. -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
Fraid it's still an issue for me. Seems to resolve itself when removing php5-curl from the install. -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
Any update on this issue? -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
Oops, i tested it in Ubuntu 10.04 (amd64) moment ago, seems it was fixed. at least it works well in iRedMail mail server solution, Thanks very much. :) -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
Miroslav: silly question; if the bug will be fixed in the next release of openssl, when should that release be available? -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
Greg Hanley: it seems the bug was found and will be fixed in the next release of openssl. The reason why it is segfaulting on one machine and not the other is probably the fact that one CPU supports AES-NI and the other not. The problem is in multiple openssl initializations. If you want to fix it before the official version comes there is a patch: http://rt.openssl.org/Ticket/Attachment/27712/13787/. Either use the patch or do the 2 small changes manually and recompile. If you do not want to recompile, try to avoid multiple ssl initializations (e.g. in my case these were the apache mod-ssl and php5-curl), but this is not sure that it helps. -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
After reading through the comments on the openssl bug report ( http://rt.openssl.org/index.html?q=2305 ) the part about having a Core i7 caught my attention. I am having the same problem but only on one of my servers and not the other; both running 10.04_64 and updated to the same kernel. I have two VMware ESXi servers, one is running quad-core Xeon X5550s and the other is running hex-core Xeon X5650s (same generation as the i7s). I moved the VM that was working from the older server to the new, and when using ssl, Apache started seg faulting, having made no changes to the configuration. Miroslav Zacek: It sounds like you have found the issue in openssl. Is there any other troubleshooting I can do to help? -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
I have the same configuration and also get the segmentation fault. I'd like just to add that the apache crashes even if any SSL page is accessed on that server, not only via php5-curl. -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
Just checked it today after update and the bug is gone. All SSL pages works. So, what should we do now? ;-) -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
Miroslav Zacek: that's exactly what I've reported. -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
I checked it today and it is still there for me :-( I checked the code and found that php5-curl in ext/curl/interface.c line 819 calls curl_global_init(CURL_GLOBAL_SSL). If I changed it to CURL_GLOBAL_NOTHING the apache didn't crash. So I followed this code through the libcurl to the openssl library and found out that if remove the initialisation of ENGINE_load_aesni (see debian/patches/aesni.patch line 2429) the php5 curl won't load https pages but the Apache won't segfault. I have openssl, libssl0.9.8 and libssl-dev version 0.9.8k-7ubuntu8. -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
** Changed in: apache2 (Ubuntu) Status: Incomplete = Confirmed ** Changed in: php Status: New = Confirmed -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/49799305/Dependencies.txt ** Attachment added: ProcMaps.txt http://launchpadlibrarian.net/49799306/ProcMaps.txt ** Attachment added: ProcStatus.txt http://launchpadlibrarian.net/49799307/ProcStatus.txt -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
** Also affects: php Importance: Undecided Status: New -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem. ** Changed in: apache2 (Ubuntu) Importance: Undecided = Low ** Changed in: apache2 (Ubuntu) Status: New = Incomplete -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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 590639] Re: apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled
Here is backtrace, thank you for instructions! ** Attachment added: gdb-apache2.txt http://launchpadlibrarian.net/49819940/gdb-apache2.txt -- apache exit with signal Segmentation fault (11) on access to https:// if php5-curl enabled https://bugs.launchpad.net/bugs/590639 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