emacs-android icon indicating copy to clipboard operation
emacs-android copied to clipboard

Fatal error 6, Aborted.

Open joedborg opened this issue 10 years ago • 8 comments

On KitKat

Fatal error (6)Aborted
/data/data/com.zielm.emacs $

joedborg avatar Jul 17 '14 20:07 joedborg

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.

mcandre avatar Jul 17 '14 21:07 mcandre

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 :-).

drnil avatar Aug 07 '14 10:08 drnil

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.

drnil avatar Nov 07 '14 12:11 drnil

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.)

zenon avatar Nov 07 '14 19:11 zenon

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 .

SergeyKaAndroid avatar Nov 07 '14 22:11 SergeyKaAndroid

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

AndyGlew avatar Dec 20 '14 04:12 AndyGlew

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)

discipolo avatar Jan 12 '15 15:01 discipolo

Any progressing? Running ./bootstrap-emacs works for me, but it alwasy got fatal error when click the emacs icon.

jiaqifeng avatar Oct 20 '16 13:10 jiaqifeng