Re: [users@httpd] Substitute for ap_mpm_run function

2014-11-29 Thread Jeff Trawick
On Fri, Nov 28, 2014 at 4:29 AM, Ishan Thakur 
wrote:

> Hi,
> What is the equivalent function of ap_mpm_run(2.2.22 apache) in 2.4.10
>

ap_hook_mpm().  Look at its use in server/mpm/prefork/prefork.c for an
example.

BTW, this is a more appropriate mailing list:

http://httpd.apache.org/lists.html#modules-dev


>
> Thanks & Regards,
> Ishan
>
>
>
>


-- 
Born in Roswell... married an alien...
http://emptyhammock.com/


[users@httpd] httpd crashes in mod_authz_host.so

2014-11-29 Thread n.gilbert
I am getting regular (once every few hours) crashes in libapr at 
apr_ipsubnet_test (see below)

This is using Apache/2.2.29 (Unix) on Mac OS X 10.9.5 with a fairly standard 
setup, but a large file of about 60,000 IP addresses Included in the https.conf 
file to allow,deny access.

A crash report is appended.

Can you help me track down the source of the problem?

Thank you


Nigel


Process: httpd [81575]
Path:/opt/local/apache2/*/httpd
Identifier:  httpd
Version: 0
Code Type:   X86-64 (Native)
Parent Process:  httpd [80265]
Responsible: Terminal [50543]
User ID: 70

Date/Time:   2014-11-29 21:15:59.641 +
OS Version:  Mac OS X 10.9.5 (13F34)
Report Version:  11
Anonymous UUID:  81D14539-70B1-208B-40D8-BD58302182FC


Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x

VM Regions Near 0:
--> 
__TEXT 0001037b4000-0001037e6000 [  200K] r-x/rwx 
SM=COW  /opt/local/apache2/*

Application Specific Information:
crashed on child side of fork pre-exec

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libapr-1.0.dylib0x000103ad936e apr_ipsubnet_test + 
39
1   mod_authz_host.so   0x000103b249b2 find_allowdeny + 205
2   mod_authz_host.so   0x000103b247fd check_dir_access + 
136
3   httpd   0x0001037ce71d 
ap_run_access_checker + 45
4   httpd   0x0001037cecbc 
ap_process_request_internal + 599
5   httpd   0x0001037d4d55 ap_process_request + 
73
6   httpd   0x0001037d26d2 
ap_process_http_connection + 118
7   httpd   0x0001037c252c 
ap_run_process_connection + 43
8   httpd   0x0001037dabe6 child_main + 803
9   httpd   0x0001037da25c make_child + 207
10  httpd   0x0001037d9cc8 ap_mpm_run + 2089
11  httpd   0x0001037bc03e main + 2314
12  libdyld.dylib   0x7fff96dc45fd start + 1

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x  rbx: 0x0001  rcx: 0x000103b24aa8  
rdx: 0x
  rdi: 0x7feaac6f7028  rsi: 0x7feaac819fb0  rbp: 0x7fff5c44b730  
rsp: 0x7fff5c44b730
   r8: 0x   r9: 0x0060  r10: 0x7feaafa00124  
r11: 0x6e30
  r12: 0x0001  r13: 0x7feaac6f6f88  r14: 0x  
r15: 0x00010483a038
  rip: 0x000103ad936e  rfl: 0x0293  cr2: 0x7fff7c4f7a68
  
Logical CPU: 0
Error Code:  0x02b8
Trap Number: 133



Professor Nigel Gilbert, ScD, FREng, AcSS, Professor of Sociology, 
University of Surrey, Guildford GU2 7XH, UK. +44 (0)1483 689173
Surrey is 38th in QS World University Rankings for Sociology 
http://goo.gl/xvo77W



-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org