Yup, 15.10 seems to. I have never edited the /etc/nanorc file, so I
guess it was just updated to the default package maintainers version as
per the usual. So the grep gives the obvious output:

reedy@ko-kra:~$ grep locking /etc/nanorc 
set locking
reedy@ko-kra:~$

Yeah, I ended up applying the patch by hand. I guess debugging tired (on
unfamiliar source code). I should have really noticed what the issue
was!

Will try the patch again on the source from the 15.10 apt repo


Will post the ./configure stuff to nano-devel; that's fine by me. Certainly no 
config on my part, rather than just installing the necessary packages 
(libncurses dev packages, dh-autoconf etc)

-- 
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:
  Confirmed

Bug 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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to