[peruser] Peruser patch (v8)

Dave Steinberg dave-peruser at redterror.net
Fri Jan 7 20:16:18 MST 2011


On 1/7/2011 5:10 PM, Dave Steinberg wrote:
> On 1/7/2011 4:53 PM, Dave Steinberg wrote:
>> On 1/7/2011 4:31 PM, Marcelo Coelho wrote:
>>> Hello!
>>>
>>> Many changes. Here it is a new patch (v8).
>>>
>>> Patch from RC2:
>>> http://opensource.mco2.net/download/apache/peruser/peruser-rc2-to-rc3-v8.patch
>>>
>>>
>>>
>>> Full patch from vanilla Apache 2.2.17:
>>> http://opensource.mco2.net/download/apache/peruser/peruser-rc3-full-v8.patch
>>>
>>>
>>>
>>> Changes (from RC2):
>>>
>>> * (v8) Bug fixed: apachectl graceful now is more stable, like RC2
>>> version
>>> * (v8) Bug fixed: fixed some segfaults (thank you Dave Steinberg for
>>> sending your core dumps)
>>> * (v8) Bug fixed: server dies with infinite loop script, reported by
>>> Taavi Sannik
>>> * (v8) Bug fixed: "long lost child" error, reported by Taavi Sannik
>>> * (v8) Performance: update_all_counters() rewritten without malloc()
>>> and free()
>>
>> Hi Marcelo - nice work with this latest round of changes. I'm not seeing
>> any more of the 'long lost child' errors, nor any segfaults. If I spot
>> any, I'll pass along a stack trace as before. Thanks again!
>
> Well, maybe I'm not quite so lucky. Here's a pair of fresh stack traces:

One more different one, hopefully this is helpful (tell me to stop if not!):

(gdb) bt
#0  apr_palloc (pool=0x80e869028, in_size=Variable "in_size" is not 
available.
) at memory/unix/apr_pools.c:252
#1  0x000000080103a6c6 in apr_parse_addr_port (addr=0x7fffffffe5e8, 
scope_id=Variable "scope_id" is not available.
) at network_io/unix/sockaddr.c:284
#2  0x0000000000424323 in ap_update_vhost_from_headers (r=0x80e8690a0) 
at vhost.c:724
#3  0x000000000042b1df in ap_read_request (conn=0x80e857298) at 
protocol.c:965
#4  0x00000000004407d3 in ap_process_http_connection (c=0x80e857298) at 
http_core.c:183
#5  0x000000000043d0d2 in ap_run_process_connection (c=0x80e857298) at 
connection.c:43
#6  0x000000000044a0f4 in process_socket (p=0x80e857028, 
sock=0x80e8570a0, conn_id=0, bucket_alloc=0x80e865028, pool=0x80e855028)
     at peruser.c:1355
#7  0x000000000044b2ab in child_main (child_num_arg=Variable 
"child_num_arg" is not available.
) at peruser.c:2202
#8  0x000000000044ba65 in make_child (s=0x801617868, slot=0) at 
peruser.c:2518
#9  0x000000000044c032 in ap_mpm_run (_pconf=Variable "_pconf" is not 
available.
) at peruser.c:2635
#10 0x0000000000423afa in main (argc=3, argv=0x7fffffffeab8) at main.c:739

Regards,
-- 
Dave Steinberg
http://www.geekisp.com/
http://www.steinbergcomputing.com/
http://www.redterror.net/


More information about the Peruser mailing list