Fixing Perl5 Core Bugs: Report for Month 26

Dave Mitchell writes:

As per my grant conditions, here is a report for the April period.

Mostly spent the month improving how the code blocks in /(?{code})/ are actually invoked. Previously a proper entry wasn't made on the context stack, so things like /(?{die/next/last/caller/return})/ caused erratic behaviour, and even seg faults.

My new method makes use of the MULTICALL API rather than having its own hand-rolled implementation, so it benefits from code reuse and commonality of any future bug fixes.

This was harder to achieve than might be expected because the semantics of regex code-blocks insist that they do not introduce new scopes; so each time a block is called, any new entries on the save stack are accumulated rather than being freed. This clashes badly with the normal expectation of pushing a sub on the context stack (along with some SAVEs on the save stack), then popping everything on block exit.

Over the last month I have averaged 6 hours per week.

As of 2012/04/30: since the beginning of the grant:

112.1 weeks
1158.7 total hours
10.3 average hours per week

There are now 140 hours left on the grant.

Report for period 2012/04/01 to 2012/04/30 inclusive


Effort (HH::MM):

4:30 diagnosing bugs
19:15 fixing bugs
0:00 reviewing other people's bug fixes
0:00 reviewing ticket histories
0:00 review the ticket queue (triage)
23:45 Total

Numbers of tickets closed:

1 tickets closed that have been worked on
0 tickets closed related to bugs that have been fixed
0 tickets closed that were reviewed but not worked on (triage)
1 Total

Short Detail

14:35 [perl #34161] METABUG - (?{...}) and (??{...}) regexp issues
1:05 [perl #109718] fork.t fails on Win32 since v5.15.4-465-g676a678
4:40 [perl #112326] Bleadperl v5.15.8-77-g5bec93b breaks GFUJI/Data-Util-0.59.tar.gz
3:25 [perl #112444] Bleadperl v5.15.9-131-g2653c1e breaks ECARROLL/nextgen-0.06.tar.gz

About TPF

The Perl Foundation - supporting the Perl community since 2000. Find out more at

About this Entry

This page contains a single entry by Karen Pauley published on June 3, 2012 8:54 PM.

Reminder: YAPC::NA 2013 Call For Venue was the previous entry in this blog.

Improving Perl 5: Grant Report for Month 8 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.


OpenID accepted here Learn more about OpenID
Powered by Movable Type 6.2.2