Hello Severn.

Same problem here. My Apache 2.0.55 segfaults if I
 - have a virtual host without 'ServerEnvironment' directive
 - have a 'ServerEnvironment' directive without chroot directory given

Maybe one of these causes your problem.


Greets,
  Marc



----- Original Message ----- From: Severn
To: [email protected]
Sent: Saturday, April 01, 2006 12:25 AM
Subject: [peruser] interesting peruser problem


Hello,

I built an Apache 2.0.55 with the 0.2.0 peruser patch today and the children kept segfaulting, ie, in the error_log...

[Fri Mar 31 22:15:45 2006] [notice] child pid 30398 exit signal Segmentation fault (11)

gdb --args httpd -X
[Fri Mar 31 21:25:43 2006] [warn] NameVirtualHost 208.101.23.81:443 has no VirtualHosts

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 182919135552 (LWP 21563)]
apr_os_sock_put (sock=0x7fbfffd9a8, thesock=0x7fbfffd9b4, cont=0x5bd138)
   at sockets.c:383
383 (*sock)->local_port_unknown = (*sock)->local_interface_unknown = 1;
(gdb) bt full
#0  apr_os_sock_put (sock=0x7fbfffd9a8, thesock=0x7fbfffd9b4, cont=0x5bd138)
   at sockets.c:383
No locals.
#1 0x000000000045d64d in child_main (child_num_arg=Variable "child_num_arg" is not available.
) at peruser.c:1566
       ptrans = (apr_pool_t *) 0x69b818
       allocator = (apr_allocator_t *) 0x699710
       status = Variable "status" is not available.

A little background.. I'm not much of a programmer, but I am familiar with Linux as an OS. The strange thing is if I uncomment #define MPM_PERUSER_DEBUG, everything seems to work fine (haven't really tested it yet though). I suppose maybe it's just luck...

I'm using Apache 2.0.55 (source build from httpd.apache.org) on CentOS 4.3 x64

Any ideas?

-Severn




_______________________________________________
Peruser mailing list
[email protected]
http://www.telana.com/mailman/listinfo/peruser
_______________________________________________
Peruser mailing list
[email protected]
http://www.telana.com/mailman/listinfo/peruser

Reply via email to