[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#168871: Need help with Segmentation fault



On Mon, Dec 30, 2002 at 12:25:59PM -0600, Earl Hood wrote:
> On December 30, 2002 at 00:18, Jeff Breidenbach wrote:
> 
> > >The format=flowed code appears to cause perl to go into an infinite loop
> > >with the regex patterns used to process format=flowed data.  I was
> > >able to crash v5.6.1 and v5.8.0 of perl under linux.
> > 
> > It looks like Debian is tracking this same problem as a Perl bug. Even
> > if future MHonArcs no longer trigger the segfault, I assume our Perl
> > package maintainer should keep the bug open? (Under the perl
> > segfault = bug theory)
> 
> Perl should "never" segfault, unless some XS module is at work (ie.
> there is no guarantees when mucking with the internals).
> 
> Now, it is not definite that an infinite loop occurred, or if it is was
> a degenerate case were a very deep recursive call overflowed the stack.
> When I looked at the core file in gdb, the call stack was very very very
> deep and it appeared to look like an infinite recursion problem.

I believe it is the latter from your description, and a known problem
in the Perl 5.8 regular expression engine... however, I believe that
what I'm thinking of didn't affect 5.6.1, so take this with a grain of
salt.


-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



Reply to: