Activity log for bug #1509081

Date Who What changed Old value New value Message
2015-10-22 20:21:54 reedy bug added bug
2015-10-23 18:47:48 Launchpad Janitor nano (Ubuntu): status New Confirmed
2015-10-27 14:43:27 Hitechcomputergeek attachment added crash log https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+attachment/4506693/+files/_bin_nano.1000.crash
2015-11-04 21:23:03 Benno Schulenberg attachment added trims an overlong hostname instead of complaining https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+attachment/4513012/+files/trim-long-hostname.patch
2015-11-04 21:32:39 Benno Schulenberg bug added subscriber Benno Schulenberg
2015-11-05 00:18:55 Ubuntu Foundations Team Bug Bot tags patch
2015-11-05 00:19:01 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2015-11-05 10:26:33 Benno Schulenberg attachment added trims an overlong hostname instead of complaining https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+attachment/4513318/+files/trim-an-overlong-hostname.patch
2015-11-05 13:08:50 Benno Schulenberg attachment removed trims an overlong hostname instead of complaining https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+attachment/4513012/+files/trim-long-hostname.patch
2015-11-06 20:19:02 Benno Schulenberg tags patch patch patch-accepted-upstream
2015-11-13 11:04:04 Sebastien Bacher bug added subscriber Ubuntu Sponsors Team
2015-11-13 16:56:51 Mathew Hodson nano (Ubuntu): importance Undecided High
2015-11-13 16:57:13 Mathew Hodson tags patch patch-accepted-upstream patch patch-accepted-upstream wily
2015-12-07 21:56:39 Michael Terry bug added subscriber Michael Terry
2015-12-07 21:56:56 Michael Terry nominated for series Ubuntu Wily
2015-12-07 21:56:56 Michael Terry bug task added nano (Ubuntu Wily)
2015-12-07 22:24:22 Launchpad Janitor nano (Ubuntu): status Confirmed Fix Released
2015-12-07 22:42:16 Mathew Hodson nano (Ubuntu Wily): importance Undecided High
2015-12-08 15:20:36 Marc Deslauriers description Description: Ubuntu 15.10 Release: 15.10 nano: Installed: 2.4.2-1 Candidate: 2.4.2-1 Version table: *** 2.4.2-1 0 500 http://mirror.bytemark.co.uk/ubuntu/ wily/main amd64 Packages 100 /var/lib/dpkg/status After upgrading Ubuntu 15.04 to 15.10, when I run nano as root on a file it just segfaults. I'm not having this problem on other 15.04->15.10 upgrades strace is https://p.defau.lt/?q7xGwt3HoqB74xTawUUHDA catchsegv is https://p.defau.lt/?0SPQY_bDj6F6j1ZKeToQoA Under gdb with nano-dbgsym installed, it gives #0 main (argc=2, argv=0x7fffffffe688) at ../../src/nano.c:2768 If I run it as sudo nano filename.txt, it gives an error as below rather than segfaulting [ Couldn't determine hostname for lock file: File name too long ] Both my user and root have the same locale settings. I've tried regenerating the locales [Impact] On systems with a long hostname, nano either segfaults or refuses to work properly. [Test Case] 1- set a long hostname with "hostname thisisareallyreallyreallylonghostname" 2- try and edit a file: "nano /etc/hosts" 3- make sure there is no segfault, or error in nano window: "Couldn't determine host name..." [Regression Potential] Patch is quite simple an obvious. A regression would mean lock files wouldn't work properly. ---- Original description: Description: Ubuntu 15.10 Release: 15.10 nano:   Installed: 2.4.2-1   Candidate: 2.4.2-1   Version table:  *** 2.4.2-1 0         500 http://mirror.bytemark.co.uk/ubuntu/ wily/main amd64 Packages         100 /var/lib/dpkg/status After upgrading Ubuntu 15.04 to 15.10, when I run nano as root on a file it just segfaults. I'm not having this problem on other 15.04->15.10 upgrades strace is https://p.defau.lt/?q7xGwt3HoqB74xTawUUHDA catchsegv is https://p.defau.lt/?0SPQY_bDj6F6j1ZKeToQoA Under gdb with nano-dbgsym installed, it gives #0 main (argc=2, argv=0x7fffffffe688) at ../../src/nano.c:2768 If I run it as sudo nano filename.txt, it gives an error as below rather than segfaulting [ Couldn't determine hostname for lock file: File name too long ] Both my user and root have the same locale settings. I've tried regenerating the locales
2015-12-08 15:20:49 Marc Deslauriers nano (Ubuntu Wily): status New In Progress
2015-12-08 15:20:57 Marc Deslauriers bug added subscriber Ubuntu Stable Release Updates Team
2015-12-08 15:21:32 Marc Deslauriers removed subscriber Ubuntu Sponsors Team
2015-12-09 14:39:53 Chris J Arges nano (Ubuntu Wily): status In Progress Fix Committed
2015-12-09 14:39:56 Chris J Arges bug added subscriber SRU Verification
2015-12-09 14:40:01 Chris J Arges tags patch patch-accepted-upstream wily patch patch-accepted-upstream verification-needed wily
2015-12-10 12:13:57 reedy tags patch patch-accepted-upstream verification-needed wily patch patch-accepted-upstream verification-done wily
2015-12-16 15:08:29 Launchpad Janitor nano (Ubuntu Wily): status Fix Committed Fix Released
2015-12-16 15:08:32 Chris J Arges removed subscriber Ubuntu Stable Release Updates Team
2015-12-16 20:37:36 Hitechcomputergeek removed subscriber Hitechcomputergeek