/ Zope / Apsis / Pound Mailing List / Archive / 2005 / 2005-11 / segfaults from worker threads with Pound 1.5

[ << ] [ >> ]

[ Using pound.cfg to block web attacks, bad ... ] [ Feature Request: -v (print version info and ... ]

segfaults from worker threads with Pound 1.5
Chris Withers <chris(at)simplistix.co.uk>
2005-11-10 16:04:37 [ FULL ]
Hi All,

We've been getting mysterious 'Page Cannot Be Displayed' reports from 
our users for a while now and I think we've tracked it down to Pound.
(we're using Pound 1.5, as best I can tell)

At the same time as the user reports this error, we get the following in 
  /var/log/messages:

Nov  7 15:45:52 ahostname pound: MONITOR: worker exited on signal 11,
restarting...

I had a nose around with strace and got the attached trace.

Anyone seen this before or know what it means?

cheers,

Chris
[...]
Attachments:  
poundstrace.txt text/plain 2903 Bytes

Re: [Pound Mailing List] segfaults from worker threads with Pound 1.5
Chris Withers <chris(at)simplistix.co.uk>
2005-11-10 16:17:51 [ FULL ]
Chris Withers wrote:[...]

Hmmm, looks like this list strips off attachments :-(

Here's the trace:

accept(4, {sa_family=AF_INET, sin_port=htons(4602), 
sin_addr=inet_addr("10.197.12.113")}, [16]) = 25
getsockname(4, {sa_family=AF_INET, sin_port=htons(80), 
sin_addr=inet_addr("147.114.101.66")}, [16]) = 0
clone(child_stack=0xaa8d6b08, 
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID|CLONE_DETACHED,

parent_tidptr=0xaa8d6bf8, {entry_number:6, base_addr:0xaa8d6bb0, 
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, 
limit_in_pages:1, seg_not_present:0, useable:1}, 
child_tidptr=0xaa8d6bf8) = 22883
select(6, [4 5], NULL, NULL, NULL)      = 1 (in [4])
accept(4, {sa_family=AF_INET, sin_port=htons(1362), 
sin_addr=inet_addr("147.114.71.144")}, [16]) = 29
getsockname(4, {sa_family=AF_INET, sin_port=htons(80), 
sin_addr=inet_addr("147.114.101.66")}, [16]) = 0
clone(child_stack=0xac6d9b08, 
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID|CLONE_DETACHED,

parent_tidptr=0xac6d9bf8, {entry_number:6, base_addr:0xac6d9bb0, 
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, 
limit_in_pages:1, seg_not_present:0, useable:1}, 
child_tidptr=0xac6d9bf8) = 22892
select(6, [4 5], NULL, NULL, NULL)      = 1 (in [4])
accept(4, {sa_family=AF_INET, sin_port=htons(1919), 
sin_addr=inet_addr("10.161.146.70")}, [16]) = 31
getsockname(4, {sa_family=AF_INET, sin_port=htons(80), 
sin_addr=inet_addr("147.114.101.66")}, [16]) = 0
mmap2(NULL, 10489856, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb02ff000
mprotect(0xb02ff000, 4096, PROT_NONE)   = 0
clone(child_stack=0xb0cffb08, 
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID|CLONE_DETACHED,

parent_tidptr=0xb0cffbf8, {entry_number:6, base_addr:0xb0cffbb0, 
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, 
limit_in_pages:1, seg_not_present:0, useable:1}, 
child_tidptr=0xb0cffbf8) = 22893
select(6, [4 5], NULL, NULL, NULL)      = 1 (in [4])
accept(4, {sa_family=AF_INET, sin_port=htons(1363), 
sin_addr=inet_addr("147.114.71.144")}, [16]) = 33
getsockname(4, {sa_family=AF_INET, sin_port=htons(80), 
sin_addr=inet_addr("147.114.101.66")}, [16]) = 0
mmap2(NULL, 10489856, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xaf8fe000
mprotect(0xaf8fe000, 4096, PROT_NONE)   = 0
clone(child_stack=0xb02feb08, 
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID|CLONE_DETACHED,

parent_tidptr=0xb02febf8, {entry_number:6, base_addr:0xb02febb0, 
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, 
limit_in_pages:1, seg_not_present:0, useable:1}, 
child_tidptr=0xb02febf8) = 22894
select(6, [4 5], NULL, NULL, NULL)      = ? ERESTARTNOHAND (To be restarted)
+++ killed by SIGSEGV +++

cheers,

Chris
[...]

MailBoxer