[pkg-lighttpd] Bug#731074: lighttpd: indeterminate test on kfreebsd buildds

Steven Chamberlain steven at pyro.eu.org
Mon Jan 27 20:35:32 UTC 2014


On 27/01/14 20:22, Steven Chamberlain wrote:
> But sometimes the wait4() above returns zero.

This coincides with pid 73245 going away but the parent process not
getting SIGCHLD at all:

>  73230 104538 perl     1390849422.662844 GIO   fd 6 wrote 45 bytes
>        "ok 56 - killing fastcgi and wait for restart
>        "
>  73230 104538 perl     1390849422.662859 RET   write 45/0x2d
>  73230 104538 perl     1390849422.662909 CALL  select(0,0,0,0,0x7fffffffd400)
>  73245 101672 fcgi-responder 1390849422.661949 RET   select 1
>  73245 101672 fcgi-responder 1390849422.663029 CALL  read(0x3,0x7fffffffcf90,0x400)
>  73245 101672 fcgi-responder 1390849422.663047 GIO   fd 3 read 0 bytes
>        ""
>  73245 101672 fcgi-responder 1390849422.663061 RET   read 0
>  73245 101672 fcgi-responder 1390849422.663077 CALL  close(0x3)
>  73245 101672 fcgi-responder 1390849422.663095 RET   close 0
>  73245 101672 fcgi-responder 1390849422.663171 CALL  exit(0)
(no further mention of pid 73245 or SIGCHLD being handled after this)

Whereas in the successful case, fcgi-responder shut down a little
faster, and the parent receives SIGCHLD before the next test begins:

>  73264 101405 fcgi-responder 1390849443.851852 CALL  exit(0)
>  73257 102805 perl     1390849443.851854 CALL  close(0x3)
>  73263 102368 lighttpd 1390849443.851868 RET   close 0
>  73257 102805 perl     1390849443.851898 RET   close 0
>  73263 102368 lighttpd 1390849443.851916 CALL  gettimeofday(0x7fffffffd0f0,0)
>  73263 102368 lighttpd 1390849443.851947 RET   gettimeofday 0
>  73263 102368 lighttpd 1390849443.851963 CALL  poll(0x6578c0,0x2,0x3e8)
>  73263 102368 lighttpd 1390849443.852161 RET   poll -1 errno 4 Interrupted system call
>  73257 102805 perl     1390849443.852175 CALL  write(0x6,0x632780,0x2d)
>  73263 102368 lighttpd 1390849443.852187 PSIG  SIGCHLD caught handler=0x409860 mask=0x0 code=0x1
>  73257 102805 perl     1390849443.852228 GIO   fd 6 wrote 45 bytes
>        "ok 56 - killing fastcgi and wait for restart
>        "
>  73263 102368 lighttpd 1390849443.852230 CALL  sigreturn(0x7fffffffccc0)
>  73257 102805 perl     1390849443.852250 RET   write 45/0x2d
>  73263 102368 lighttpd 1390849443.852268 RET   sigreturn JUSTRETURN

Regards,
-- 
Steven Chamberlain
steven at pyro.eu.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 551 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-lighttpd-maintainers/attachments/20140127/06fac5e1/attachment.sig>


More information about the pkg-lighttpd-maintainers mailing list