Active Topics

 



Notices


Reply
Thread Tools
Posts: 70 | Thanked: 39 times | Joined on Mar 2010
#1
Any nano (the text editor) users out there?
I recently installed nano on the N900. Everything works fine except for the search function (Ctrl-W). It seg faults every time I do it.
 
hawaii's Avatar
Posts: 1,030 | Thanked: 792 times | Joined on Jun 2009
#2
Can you post an strace?

Program received signal SIGABRT, Aborted.
0x410524b8 in raise () from /lib/libc.so.6
0x410524b8 <raise+68>: cmn r0, #4096 ; 0x1000

I'm patching it and testing now, will advise the author/building of the package when I get it sorted.

EDIT: All done and patched.

I've attached the replacement binary. Simply move and symlink it and you should be fine. I've also attached the patch that is from the nano-devel mailing list.
Attached Files
File Type: gz nano.gz (147.7 KB, 80 views)
File Type: txt nano_patch-search-crash.diff.txt (568 Bytes, 88 views)

Last edited by hawaii; 2010-04-15 at 01:51.
 

The Following User Says Thank You to hawaii For This Useful Post:
hawaii's Avatar
Posts: 1,030 | Thanked: 792 times | Joined on Jun 2009
#3
I've also built a package for you. I just requested access to upload to extras-devel so I can start helping out with these things.

I'll need to learn the politics before I get into it all. I'll edit the post and include the deb for you, for ease of installation.

EDIT:

Package added. Has been optified and will completely replace the original.
Attached Files
File Type: deb nano_2.0.2-1_armel.deb (485.3 KB, 97 views)

Last edited by hawaii; 2010-04-15 at 03:09.
 

The Following User Says Thank You to hawaii For This Useful Post:
hawaii's Avatar
Posts: 1,030 | Thanked: 792 times | Joined on Jun 2009
#4
Hm. No need to be using such an old release actually.

I've grabbed SVN, ensured everything is working and will to upload and replace the current package in extras-devel.
 

The Following User Says Thank You to hawaii For This Useful Post:
Posts: 70 | Thanked: 39 times | Joined on Mar 2010
#5
Originally Posted by hawaii View Post
Hm. No need to be using such an old release actually.

I've grabbed SVN, ensured everything is working and will to upload and replace the current package in extras-devel.
Works now. Thanks for the fix!
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#6
The current package in the repos still has this bug, segfaulting when searching. If i take the version from above it works but gets upgraded with the next apt-get upgrade. Pinning the package would do it but seems nasty. Another way i tried is a newer package from debian. It was installed and i could run nano but dpkg complains about dependencies and does not configure it / install anything lese before it is removed again...
So could someone remove the broken version in extras-devel or even better upgrade or fix it?
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:12.