Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 244919 - =app-editors/nano-2.5.1 segfaults when deleting the last line of a file
Summary: =app-editors/nano-2.5.1 segfaults when deleting the last line of a file
Status: RESOLVED DUPLICATE of bug 240330
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-29 20:34 UTC by Kobboi
Modified: 2008-10-29 21:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2008-10-29 20:34:12 UTC
On two systems, an x86 and an amd64, I have the problem that with nano-2.1.5, deleting (^K) the last line of a file results in a crash (segmentation fault)

[10159.455826] nano[18370]: segfault at 0 ip 08056f0f sp bfef8040 error 4 in nano[8048000+23000]


Reproducible: Always

Steps to Reproduce:
Option 1: Open a file of choice with nano-2.1.5 and delete the last line
Option 2: Just open nano and press Control+K
Actual Results:  
Segmentation fault
Comment 1 Kobboi 2008-10-29 20:41:48 UTC
Something wrong with my system? :/

rt_sigprocmask(SIG_BLOCK, [WINCH], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [WINCH], NULL, 8) = 0
gettimeofday({1225316421, 521543}, NULL) = 0
select(1, [0], NULL, NULL, {0, 0})      = 0 (Timeout)
gettimeofday({1225316421, 521684}, NULL) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-10-29 21:14:59 UTC
fixed in 2.1.6-r2

*** This bug has been marked as a duplicate of bug 240330 ***