develooper Front page | perl.perl5.porters | Postings from October 2013

TONYC TPF Grant September 2013

Thread Next
From:
Tony Cook
Date:
October 1, 2013 04:58
Subject:
TONYC TPF Grant September 2013
Message ID:
20131001045752.GA28005@mars.tony.develop-help.com
The most interesting tickets this month were probably:

[perl #117265] I spent some time fixing bugs in my safesyscalls patch
that were pointed out by Father Chrysostomos.

[perl #115928] I applied the new rand() implementation, making perl's
rand() quality consistent cross-platform.

[perl #85228] Perl's waitpid() has a long standing bug where
waitpid(0,0) would loop, using 100% CPU when $! was originally set to
EINTR.  This was caused by the internal waitpid() wrapper/emulation
function wait4pid() would immediately return with an error when
supplied a process id of zero, but *wouldn't* set errno.

For a POSIX waitpid(), a pid of 0 means to wait for any child within
the same process group.

To fix this I ended up moving the pid 0 check into the emulation code
(which can't wait for children in the same process group anyway) and
setting errno, preventing the loop.  I ended up testing this by
building on Linux with d_waitpid and d_wait4 undefined, which passed
all tests except those that use WNOHANG, which the emulation code
doesn't handle.

[perl #75156] was mostly interesting because there had been a partial
fix in 2e6546ca, partial since it didn't update _update()'s return
value or the point of the module, the select() bit mask.  I produced a
patch with tests and a fix.

[perl #80058] is mostly interesting because my brief explanation of
the problem to the original poster was followed up by a flurry of
other responses.

With this month this is a total of 261.32 hours, which is the limit of
the grant.

[Hours]         [Activity]
  0.58          #108276 - review
  0.77          #113088 - Data::Dumper utf8 - review, test, comment
  5.37          #115928 - make _r versions of new drand48 functions, and
                re-work function/type names
                #115928 - fix canned config, testing threads, win32
                #115928 - reentr clean up, comment
                #115928 - rebase,re-test on Win32, 32-bit linux, 64-bit
                linux, apply
                #115928 - update perldelta note
  1.25          #115982 - rebase, test, review, and comment
 13.54          #117265 - review per sprout's comment, fixing
                #117265 - more fixing, new tests
                #117265 - integrate overload fixes, test, code, and think
                about glob behaviour
                #117265 - update glob pattern checking, comment
                #117265 - update branch per sprout's comments
                #117265 - external glob - understand interaction between
                do_readline, start_glob, pp_glob, pp_readline, make a
                change
                #117265 - push and comments
                #117265 - rebase, retest and merge to blead
                #117265 - read craig's note and comment
  4.03          #118091 - rebase, review changes
                #118091 - test and review latest changes
                #118091 - rebase, re-test and apply
  1.28          #119097 - test new patch on a few platforms, push smoke-me
                #119097 - review smoke-me results and merge
  0.95          #119413 - apply to maint, perldelta and resolve
  0.83          #119539 - try to find better phrasing without a rewrite,
                apply
  0.52          #119617 - comment
  0.43          #119769 - turn into git am patch, test build and apply
  0.13          #119835 - review discussion and close
  2.42          #119857 - test build
                #119857 - apply with an AUTHORS update
                #119857 - follow-up bulk88 failures (he was getting EDQUOT
                and EWOULDBLOCK undefined errors)
  1.05          #67298, #118843 - test on freebsd and cygwin, close the
                first, comment on the second
  1.23          #74854 - try to reproduce on Linux, start OS X blead build
                #74854 - test on OS X, comment
  1.61          #75156 - review history, test, review code
                #75156 - tests and fixes
  1.05          #77308 - appears to work in blead, bisect, resolve
  1.20          #77673 - reproduce, write a test, work on a fix
  3.40          #77680, DB::goto, patches
                #77680 - document DB::lsub, apply, perldelta
  0.20          #78066 - close with comment
  3.15          #79074 - look at HeSVKEY_force() uses
                #79074 - work up a test, try various approaches, comment
                #79074 - apply, re-test and perldelta
  1.43          #79838 - review, setup uclibc system
                #79838 - more testing, comment
                #79838 - check change dates, comment
                #79838 - resolve
  0.63          #80058 - review and comment
  0.18          #82194 - start a build loop to reproduce - no failure
                after 1041 runs
  1.67          #82922 - try to use systemtap with perl's dtrace
  3.34          #85228 - research waitpid, wait4, OS/2 EMX, changes,
                testing
                #85228 - testing with -Ud_waitpid -Ud_wait4 and comment
                #85228 - test, cleanup, apply, perldelta
  1.27          #88814 - test on openbsd 5.2
                #88814 - passed 250 runs on OpenBSD, test on linux,
                cygwin, start haiku
                #88814 - push a skip on openbsd 5.2 and later
  0.72          diagnose gv_fetchmeth smoke failures
  1.33          fix/test header deps on Win32
  1.90          look at inccode.t warning, (email the next day)
  0.78          look for newer tickets with patches, older back to 72108
======
 58.24 hours total


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About