bug-texinfo
[Top][All Lists]
Advanced

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

Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0


From: Melvin Mawhin
Subject: Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0
Date: Wed, 27 Jun 2018 19:12:17 +0000


Hi,


Somebody also reported the same issue while building glibc..


https://www.linuxquestions.org/questions/showthread.php?p=5872643#post5872643

The problem also occurs with the old GCC, so i doubt that is the issue.


Kr

Mel




From: Melvin Mawhin <address@hidden>
Sent: Wednesday, June 27, 2018 9:06 PM
To: Gavin Smith
Subject: Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0
 
Hi,

I escaped the { and the error message is gone. The parsing still hangs though...

Kr
Mel

From: Gavin Smith <address@hidden>
Sent: Wednesday, June 27, 2018 8:35 PM
To: Melvin Mawhin
Cc: address@hidden
Subject: Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0
 
On Wed, Jun 27, 2018 at 1:46 PM, Melvin Mawhin
<address@hidden> wrote:
> Since upgrading to perl 5.28 in slackware-current we ran into a bug while
> generating documentation for qemu

There is a message in the logs you attached:

Unescaped left brace in regex is deprecated here (and will be fatal in
Perl 5.32), passed through in regex; marked by <-- HERE in
m/^\s+@([[:alnum:]][[:alnum:]\-]*)({ <-- HERE })?\s*/ at
/usr/share/texinfo/Texinfo/Parser.pm line 5481.
Unescaped left brace in regex is deprecated here (and will be fatal in
Perl 5.32), passed through in regex; marked by <-- HERE in
m/^\s+@([[:alnum:]][[:alnum:]\-]*)({ <-- HERE
})?\s*(\@(c|comment)((\@|\s+).*)?)?/ at
/usr/share/texinfo/Texinfo/Parser.pm line 5485.

Have you tried editing Parser.pm to escape the left brace in the regex?

> I have attached 2 logs, 1 with debug, 1 without

You said "infinite loop" in the title of your email: do the logs
continue on forever or do they stop?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]