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

Re: [perl #114878] Regular Expression matching in signal handlercauses side-effects

Thread Previous | Thread Next
From:
Karl Williamson
Date:
May 9, 2013 15:04
Subject:
Re: [perl #114878] Regular Expression matching in signal handlercauses side-effects
Message ID:
518BBACC.2030309@khwilliamson.com
On 05/08/2013 10:58 AM, Karl Williamson wrote:
> On 05/08/2013 09:50 AM, Dave Mitchell wrote:
>> On Wed, May 08, 2013 at 11:01:44AM -0400, Ricardo Signes wrote:
>>> If I run the program included in the ticket and send it HUP a few
>>> times, I see:
>>>
>>>    HUP
>>>    HUP
>>>    panic: sv_chop ptr=7fcb23c011d9, start=7fcb23c05b20,
>>> end=7fcb23c05b30 at test line 13.
>>
>> I still can't reproduce :-(
>>
>> If Nicholas's PERL_ASYNC_CHECK patch makes it go away, then perhaps there
>> is a case for applying it to blead now.
>>
>
> I rebased and tried out this patch, and it appears to make the problem
> go away.  I'm smoking the rebased version now; it hadn't been rebased
> since July
>

The smokes came back ok for this patch, so I've applied it to blead as
47c9d59fcd27684d94480b806b8b6e001aac91cc.  Looking at the code, it makes 
sense that this patch would fix the problem.

I'm not confident enough in my knowledge of portability issues to write 
a test case for this, so I'm not closing this bug report.  Perhaps 
someone else would contribute a test.

In the meantime, tim, perhaps you could compile blead and see if it 
causes your problem to go away?  Instructions are in perlrepository.

Thread Previous | 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