apache2 launchd plist bug?

Karl Timmermann timmerk at comcast.net
Tue Mar 27 20:55:30 PDT 2007


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





More information about the macports-users mailing list