GNU nano - Bugs: bug #26977, a multiline regex with only...
You are not allowed to post comments on this tracker with your current authentication level.
bug #26977: a multiline regex with only anchors makes nano hang
Submitter: | tigrmesh <tigrmesh> | ||
Submitted: | Wed 08 Jul 2009 02:01:02 AM UTC | ||
Severity: | 2 - Minor | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Jump to the original submission
Sat 09 Jan 2016 07:40:53 PM UTC, comment #9: |
Benno Schulenberg <bens> |
Sun 19 Jul 2015 11:11:03 AM UTC, comment #8: The basic problem is triggered when having a line like the following included in a syntax definition:
|
Benno Schulenberg <bens> |
Sat 22 Feb 2014 08:08:56 PM UTC, comment #7: Could you try the patch (building nano from source) and report whether it then works for you with the complicated syntax? |
Benno Schulenberg <bens> |
Wed 18 Sep 2013 09:57:33 AM UTC, comment #6: Attached patch fixes the problem for me. If you could try it, that would be nice. (It is just a temporary repair -- if it is the fully correct fix, then a pair of braces can be removed and a whole lot of text unindented.)
|
Benno Schulenberg <bens> |
Tue 17 Sep 2013 07:08:20 PM UTC, comment #5: As I look again, I think this bug (bug #26977) is a duplicate of bug #29014: Failure to open when editing certain files named as PKGBUILD |
tigrmesh <tigrmesh> |
Tue 17 Sep 2013 06:43:16 PM UTC, comment #4: I think this bug (#26977) and bug #29014 are related.
|
tigrmesh <tigrmesh> |
Tue 17 Sep 2013 06:32:42 PM UTC, comment #3: I removed the problem line and added the line you had suggested. This works wonderfully. Thank you. |
tigrmesh <tigrmesh> |
Sat 14 Sep 2013 08:37:30 AM UTC, comment #2: The first time I tried this on your files, with debugging enabled, I got "match found at pos 70... end found on this line" rolling on and on over the screen. Subsequent runs, however, hung silently.
|
Benno Schulenberg <bens> |
Thu 23 Jul 2009 05:31:17 AM UTC, comment #1: After having conferred with Those Who Know More, it has been determined that the title of this bug is misleading. It should read: "nano 2.1.9 freezes with PKGBUILD syntax highlighting".
|
tigrmesh <tigrmesh> |
Wed 08 Jul 2009 02:01:02 AM UTC, original submission:
Using nano 2.1.9, trying to open a PKGBUILD* with syntax highlighting, nano uses between 88 and 94 percent of my CPU. No file ever opens, and I have a completely blank terminal.
|
tigrmesh <tigrmesh> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 11 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2016-01-14 | bens | Open/Closed | Open | Closed | |
2016-01-09 | bens | Attached File | - | Added skip-zero-length-matches.patch, #35956 | |
Status | Need Info | Fixed | |||
2015-07-19 | bens | Severity | 3 - Normal | 2 - Minor | |
Summary | nano 2.1.9 freezes with PKGBUILD syntax highlighting | a multiline regex with only anchors makes nano hang | |||
2014-02-22 | bens | Status | None | Need Info | |
Assigned to | None | bens | |||
Summary | Possible memory leak with nano 2.1.9 syntax highlighting | nano 2.1.9 freezes with PKGBUILD syntax highlighting | |||
2013-09-18 | bens | Attached File | - | Added stop-hanging-and-DO-colour.patch, #29172 | |
2009-07-08 | tigrmesh | Attached File | - | Added pkgbuild.nanorc, #18381 | |
2009-07-08 | tigrmesh | Attached File | - | Added PKGBUILD, #18380 |
Powered by Savane 3.13-3230.
Corresponding source code
Fixed in SVN, r5538.
(The applied patch is fully different from the one posted before. See the new attachment.)
(file #35956)