touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #123127
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
Hello reedy, or anyone else affected,
Accepted nano into wily-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/nano/2.4.2-1ubuntu0.1
in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Your feedback will aid us getting this update
out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed. In either case, details of your testing will help
us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: nano (Ubuntu Wily)
Status: In Progress => Fix Committed
** Tags added: verification-needed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to nano in Ubuntu.
https://bugs.launchpad.net/bugs/1509081
Title:
nano segfaults as root after upgrade to 15.10
Status in nano package in Ubuntu:
Fix Released
Status in nano source package in Wily:
Fix Committed
Bug description:
[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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions
References