Howdy,

I can get Apache to crash with a Bus Error with this httpd.conf:

LoadModule           perl_module modules/mod_perl.so
ServerName           localhost
ServerRoot           /usr/local/apache2
PidFile              logs/httpd.pid
Listen               80
User                 daemon
Group                daemon
StartServers         2
ErrorLog             logs/error_log
CustomLog            logs/access_log combined
TypesConfig          conf/mime.types
PerlModule mod_perl2
PerlPassEnv PERL5LIB
PerlModule MyConfig

This is MyConfig.pm:

package MyConfig;

require Apache2::ServerUtil;
my $s = Apache2::ServerUtil->server;
$s->add_config([
    'NameVirtualHost *:80',
    '<VirtualHost *:80>',
    '  DocumentRoot /usr/local/apache2/htdocs',
    '</VirtualHost>',
]);

1;

If I comment out the <VirtualHost> section, it works. So there's something about <VirtualHost> sections that add_config doesn't seem to like. I've attached the Crash file created by Mac OS X. I'm using mod_perl 2.04 as a DSO with Apache 2.2.8 and Perl 5.10. Holler if you need more details on my configuration.

Thanks,

David
Process:         httpd [67450]
Path:            /usr/local/apache2/bin/httpd
Identifier:      httpd
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  sh [67449]

Date/Time:       2008-04-22 12:46:14.202 -0700
OS Version:      Mac OS X 10.5.2 (9C7010)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread:  0

Thread 0 Crashed:
0   httpd                               0x0002f43b open_multi_logs + 46
1   httpd                               0x0002f7be init_config_log + 112
2   httpd                               0x00002b88 ap_run_open_logs + 106
3   httpd                               0x0000a701 main + 2438
4   httpd                               0x000023ee start + 54

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x0002f419  ecx: 0x00842000  edx: 0x00853790
  edi: 0x00000000  esi: 0x00000000  ebp: 0xbffff818  esp: 0xbffff7d0
   ss: 0x0000001f  efl: 0x00010206  eip: 0x0002f43b   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
  cr2: 0x00000000

Binary Images:
    0x1000 -    0x69fff +httpd ??? (???) /usr/local/apache2/bin/httpd
   0x8d000 -    0x9aff3  libaprutil-1.0.dylib ??? (???) 
<931e8ac4ce826f08f2abffcac57a63b3> /usr/lib/libaprutil-1.0.dylib
   0xa3000 -    0xc1fe3  libexpat.1.dylib ??? (???) 
<eff8a63a23a7d07af62b36fdb329e393> /usr/lib/libexpat.1.dylib
   0xc9000 -    0xdefef  libapr-1.0.dylib ??? (???) 
<34917fe927e85ef7f60ec1303338e9af> /usr/lib/libapr-1.0.dylib
   0xec000 -    0xeefff  libutil.dylib ??? (???) 
<5ac8a5517aae408d0fdb6da13a2faf89> /usr/lib/libutil.dylib
   0xf3000 -    0xf5ff7 +ServerUtil.bundle ??? (???) 
/usr/local/lib/perl5/site_perl/5.10.0/darwin-2level/auto/Apache2/ServerUtil/ServerUtil.bundle
  0x200000 -   0x220fff +mod_perl.so ??? (???) 
/usr/local/apache2/modules/mod_perl.so
  0x22c000 -   0x357feb +libperl.dylib ??? (???) 
<4e9bb84c90f0608918e2be04525bc49a> 
/usr/local/lib/perl5/5.10.0/darwin-2level/CORE/libperl.dylib
0x8fe00000 - 0x8fe2da53  dyld 96.2 (???) <7af47d3b00b2268947563c7fa8c59a07> 
/usr/lib/dyld
0x9244f000 - 0x92456fe9  libgcc_s.1.dylib ??? (???) 
<a9ab135a5f81f6e345527df87f51bfc9> /usr/lib/libgcc_s.1.dylib
0x92bce000 - 0x92bd2fff  libmathCommon.A.dylib ??? (???) 
/usr/lib/system/libmathCommon.A.dylib
0x93004000 - 0x930f8ff4  libiconv.2.dylib ??? (???) 
<c508c60fafca17824c0017b2e4369802> /usr/lib/libiconv.2.dylib
0x9542f000 - 0x954b6ff7  libsqlite3.0.dylib ??? (???) 
<6978bbcca4277d6ae9f042beff643f7d> /usr/lib/libsqlite3.0.dylib
0x96c97000 - 0x96df6ff3  libSystem.B.dylib ??? (???) 
<4899376234e55593b22fc370935f8cdf> /usr/lib/libSystem.B.dylib
0xffff0000 - 0xffff1780  libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to