New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible bug? #758
Comments
From ksparger@dialtoneinternet.netwhile ($zone[$i] =~ /(\d+)/go) Notes: Basically, what happens is, it goes into an infinate loop where it appears It works as of perl-5.004-4 (redhat's 5.0 or 5.1 RPM) Primarily, what's at issue is whether the change was intended or not -- I I talked to someone about it, and he feels matching against $` I'm not so sure about this, as I find the logic that would cause matching Also, since I'm not on any of the perl mailing lists, if you could let me Thanks, Kyle Sparger - Senior System Administrator |
From [Unknown Contact. See original ticket]On Thu, 21 Oct 1999, Kyle Sparger wrote:
Could you make a small stand-alone program which shows the different Cheers! -- |
From [Unknown Contact. See original ticket]It looks like I left out some important information, but the trigger The program has to be mode 4755, owned by root. I'm consistantly able to force the attached program into an infinate loop Note that the program works fine when it's run by the same user it's "test.dom" is a sample input file the program uses. Thanks, Kyle Sparger On Fri, 22 Oct 1999, Tom Phoenix wrote:
|
From [Unknown Contact. See original ticket];authoritative data for test.dom |
From [Unknown Contact. See original ticket] |
From [Unknown Contact. See original ticket]On Mon, 25 Oct 1999, Kyle Sparger wrote:
Okay, we're getting closer. Now, could you cut your test code down to the This should allow us to rule out most idiosyncracies of your machine or Thanks! -- |
From [Unknown Contact. See original ticket]Okay, well, unfortunately, I was NOT able to cut out the fact that it #!/usr/bin/perl -w open(ZONE, 'test.dom'); while ($zone[0] =~ /(\d+)/g) test.dom contains: 1234567 2345678 3456789 4567891 5678912 A few interesting notes: If I explicitly declare @zone (as follows), the program @zone = ( '1234567 2345678 3456789 4567891 5678912' ); It seems that the program will not lock if test.dom contains only If I assign $zone[0] to $line (for example), and replace the while while ($line =~ /(\d+)/g) And, to reiterate: Thanks, Kyle Sparger |
From [Unknown Contact. See original ticket]On Tue, 26 Oct 1999, Kyle Sparger wrote:
Could it be a newline at the end of the data that makes the difference? @zone = ( "1234567 2345678 3456789 4567891 5678912\n" );
Could that be miscompiled? If you build 5.005_03 yourself (with set-id Meanwhile, I'll try to replicate the problem on my own Linux machine which Thanks! -- |
From [Unknown Contact. See original ticket]
Nope, adding the newline doesn't trigger the loop.
It's possible. I don't have the time right now to go through the process Thanks, Kyle Sparger On Tue, 26 Oct 1999, Tom Phoenix wrote:
|
Migrated from rt.perl.org#1682 (status was 'resolved')
Searchable as RT1682$
The text was updated successfully, but these errors were encountered: