bugGNU nano - Bugs: bug #65611, "Span has underflowed"...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #65611: "Span has underflowed" error when redoing insertion that causes hard-wrapping

Submitter:  correctmost <correctmost>
Submitted:  Thu 18 Apr 2024 07:09:43 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Thu 02 May 2024 05:42:16 AM UTC, comment #2: 

The fix was released in nano-8.0.  Thanks again for reporting.

Benno Schulenberg <bens>
Group administrator
Fri 19 Apr 2024 02:22:41 PM UTC, comment #1: 

Fixed in git, commit 5beb14cf, by setting 'firstcolumn' to a valid value after redoing an automatic hard-wrap.

Thanks for testing so thoroughly!

Benno Schulenberg <bens>
Group administrator
Thu 18 Apr 2024 07:09:43 PM UTC, original submission:  

I stumbled on this bug while retesting bug #65604.

File set-up for 'underflow.txt':

for col in $(seq 40); do
  echo -n "a ";
done > underflow.txt


Steps to reproduce:
1 - Run `src/nano --ignore --break --soft underflow.txt` in an 80x24 terminal
2 - Alt + down
3 - Type b
4 - Alt + u
5 - Alt + down
6 - Alt + e
--> You should receive a "Span has underflowed" error


Version: 7b07e1ee5c18ea7dbdf744ff1cafa2b311ee248a

correctmost <correctmost>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Posted a comment)
  • -email is unavailable- added by correctmost (Submitted the item)
  •  

    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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    05:42 bens Open/ClosedOpen Closed
    2024-04-19 bens StatusNone Fixed
        Assigned toNone bens

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code