emacs-android
emacs-android copied to clipboard
Fatal error 6, Aborted.
On KitKat
Fatal error (6)Aborted
/data/data/com.zielm.emacs $
Emacs for Android has always been crashy and difficult to setup :(
I've finally given up on Emacs, git, and most other command line programs on Android. At some point, ssh'ing from Android to GitHub suddenly stopped working, and no amount of permissions/configuration management could fix it. Once I couldn't git pull/push, there was little point in using Emacs or any other CLI text editor on my phone.
The following procedure works fine on my Nexus 5/Android 4.4.4:
- Disable Hacker's keyboard if you are using it.
- After the Fatal error on startup, connect to startup directory: cd src
- Run startup: ./bootstrap-emacs
- If I have Hacker's keyboard enabled here, I will have a segfault, but if disabled, no segfault.
- After Emacs has initialized, you can reenable Hacker's keyboard, although using an external keyboard (with the External keyboard helper app) works much better. I use Freedom Pro.
- You may need to set the font to some suitable size, as indicated by some other comments. I use 10pt.
After this, my Emacs runs consistently like a dream! (I just wish it could handle UTF-8 :-).
Q: drnll - "connect to startup directory and run startup" - does that go into the app data dir which would only work on a rooted phone? I couldn't get past "fatal error"...
A: The procedure above does NOT require rooting. You just type "cd src" at the prompt where you were left after the fatal error.
Ah. Cool. So I did not even have to ask. drnil, your description works here too.
Btw., what Did you have to do to get the segfault? I still did nothing more than M-x psychoanalyse-pinhead -- but that worked fine. (With Hacker's Keyboard.)
It's sensitive to screen size, i had to do the first init in a certain orientation on Nexus 5 On 7 Nov 2014 14:58, "Falko" [email protected] wrote:
Ah. Cool. So I did not even have to ask. drnil, your description works here too.
Btw., what Did you have to do to get the segfault? I still did nothing more than M-x psychoanalyse-pinhead -- but that worked fine. (With Hacker's Keyboard.)
— Reply to this email directly or view it on GitHub https://github.com/zielmicha/emacs-android/issues/32#issuecomment-62202899 .
More on the sensitivity:
On my phone, emacs -q works with Hacker;s keyboard in landscape mode, but not portrait mode, with font size 20. But I have found nothing that works with in portrait mode, except font-size 4x8.
More precisely:
Samsung Galaxy Note 2 Android 4.4.2
Try changing in busybox.sh
Emacs TO emacs.bin
Also chmod emacs.bin
This made it start for me (in terminal mode - I kind of expected emacs24)
Any progressing? Running ./bootstrap-emacs works for me, but it alwasy got fatal error when click the emacs icon.