apache2 launchd plist bug?
Hi all, I'm new to this list but was hoping someone could help me. I recently installed MacPorts 1.4 RC2 and compiled from source. Once installed, I did a port file update, etc before installing apache2 + php5 + mysql5. Everything went pretty smoothly (except for some app named conftest that crashed - see crash report below - I'm not sure it matters.) So then I followed instructions to copy over a default httpd.conf file, along with a default php.ini file and then created the launchd startup item by copying the plist and loading it in. When I restarted, apache2 starts as expected and I can access my webserver. So far so good. The problem is that after a while - maybe about an hour of use, every application in OS X starts to die - I get the spinning rainbow of death. Force quitting works, but other apps keep dying, even apps I restart. Even the Finder dies. So I force a reboot and it works for about 2 minutes, and then does the same thing again. To fix this problem, I boot into single user mode and delete the 'org.macports.apache2.plist' file and reboot. Everything then goes back to normal. I then test to make sure it was that plist file by installing the port again, and same problem shows up again. Any ideas? I'm running on a MacBook Pro (Intel Core 2 Duo). Thanks for any help! Karl Crash report below: ********** Host Name: xxxx Date/Time: 2007-03-25 22:54:25.634 -0400 OS Version: 10.4.9 (Build 8P2137) Report Version: 4 Command: conftest Path: ./conftest Parent: sh [15857] Version: ??? (???) PID: 15858 Thread: 0 Exception: EXC_ARITHMETIC (0x0003) Codes: EXC_I386_DIV (divide by zero) Thread 0 Crashed: 0 conftest 0x00001f8c main + 51 (conftest.c:65) 1 conftest 0x00001f26 _start + 216 2 conftest 0x00001e4d start + 41 Thread 0 crashed with X86 Thread State (32-bit): eax: 0x00000001 ebx: 0x00001f67 ecx: 0x00000001 edx: 0x00000000 edi: 0xbffff8e8 esi: 0x00000000 ebp: 0xbffff888 esp: 0xbffff860 ss: 0x0000001f efl: 0x00010286 eip: 0x00001f8c cs: 0x00000017 ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037 Binary Images Description: 0x1000 - 0x1fff conftest /opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_devel_gettext/work/gettext-0.16.1/gettext-runtime/conftest 0x8fe00000 - 0x8fe4afff dyld 46.12 /usr/lib/dyld 0x90000000 - 0x90172fff libSystem.B.dylib /usr/lib/libSystem.B.dylib 0x901c2000 - 0x901c4fff libmathCommon.A.dylib /usr/lib/system/ libmathCommon.A.dylib ********** Host Name: xxxx Date/Time: 2007-03-25 22:55:06.468 -0400 OS Version: 10.4.9 (Build 8P2137) Report Version: 4 Command: conftest Path: ./conftest Parent: sh [23620] Version: ??? (???) PID: 23621 Thread: 0 Exception: EXC_ARITHMETIC (0x0003) Codes: EXC_I386_DIV (divide by zero) Thread 0 Crashed: 0 conftest 0x00001f8c main + 51 (conftest.c:65) 1 conftest 0x00001f26 _start + 216 2 conftest 0x00001e4d start + 41 Thread 0 crashed with X86 Thread State (32-bit): eax: 0x00000001 ebx: 0x00001f67 ecx: 0x00000001 edx: 0x00000000 edi: 0xbffff8f0 esi: 0x00000000 ebp: 0xbffff888 esp: 0xbffff860 ss: 0x0000001f efl: 0x00010286 eip: 0x00001f8c cs: 0x00000017 ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037 Binary Images Description: 0x1000 - 0x1fff conftest /opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_devel_gettext/work/gettext-0.16.1/gettext-tools/conftest 0x8fe00000 - 0x8fe4afff dyld 46.12 /usr/lib/dyld 0x90000000 - 0x90172fff libSystem.B.dylib /usr/lib/libSystem.B.dylib 0x901c2000 - 0x901c4fff libmathCommon.A.dylib /usr/lib/system/ libmathCommon.A.dylib
On Mar 27, 2007, at 22:55, Karl Timmermann wrote:
I'm new to this list but was hoping someone could help me. I recently installed MacPorts 1.4 RC2 and compiled from source. Once installed, I did a port file update, etc before installing apache2 + php5 + mysql5. Everything went pretty smoothly (except for some app named conftest that crashed - see crash report below - I'm not sure it matters.)
I get that too, when compiling gettext on Core 2 Duo MacBook Pro. I wish it wouldn't do that. It has nothing to do with MacPorts; it also happens when compiling gettext outside of MacPorts. I hadn't gotten around to reporting it to the gettext developers yet. If you would like to do so, please do.
So then I followed instructions to copy over a default httpd.conf file, along with a default php.ini file
Good.
and then created the launchd startup item by copying the plist and loading it in.
What do you mean? What did you copy? From where? Installing apache2 should have created the org.macports.apache2.plist launchd item for you. Installing mysql5 +server (which I notice you didn't mention) should have created the org.macports.mysql5.plist launchd item for you.
When I restarted, apache2 starts as expected and I can access my webserver. So far so good.
The problem is that after a while - maybe about an hour of use, every application in OS X starts to die - I get the spinning rainbow of death. Force quitting works, but other apps keep dying, even apps I restart. Even the Finder dies. So I force a reboot and it works for about 2 minutes, and then does the same thing again. To fix this problem, I boot into single user mode and delete the 'org.macports.apache2.plist' file and reboot. Everything then goes back to normal.
I then test to make sure it was that plist file by installing the port again, and same problem shows up again. Any ideas? I'm running on a MacBook Pro (Intel Core 2 Duo).
That's not good. I've never seen such behavior before.
Tue, 27 Mar 2007 (23:55 -0400 UTC) Karl Timmermann wrote:
Hi all,
I'm new to this list but was hoping someone could help me. I recently installed MacPorts 1.4 RC2 and compiled from source. Once installed, I did a port file update, etc before installing apache2 + php5 + mysql5. Everything went pretty smoothly (except for some app named conftest that crashed - see crash report below - I'm not sure it matters.) So then I followed
I believe conftest is supposed to crash under certain conditions. I have compiled a number of configure-based programs that include a conftest crash. I think it is a program created by configure to check for the presense (or absense) of specific library functions and/or how they react to conditions. With some configures (for example, the one for the development version of XEmacs in CVS), the configure script appears to be aware of the potential crash and fails to compile the file conftest.c. Then, I usually see an error in the configure output about the file conftest.c not existing. -- Dr. Robert Delius Royar Associate Professor of English Morehead State University Morehead, Kentucky
participants (3)
-
Karl Timmermann
-
robert delius royar
-
Ryan Schmidt