maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   nano-editor seg faults (https://talk.maemo.org/showthread.php?t=50018)

cheungs 2010-04-14 18:50

nano-editor seg faults
 
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 2010-04-15 01:45

Re: nano-editor seg faults
 
2 Attachment(s)
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.

hawaii 2010-04-15 02:31

Re: nano-editor seg faults
 
1 Attachment(s)
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.

hawaii 2010-04-15 03:20

Re: nano-editor seg faults
 
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.

cheungs 2010-04-15 04:41

Re: nano-editor seg faults
 
Quote:

Originally Posted by hawaii (Post 611200)
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!

m4lvin 2011-07-03 23:54

Re: nano-editor seg faults
 
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?


All times are GMT. The time now is 18:04.

vBulletin® Version 3.8.8