GithubHelp home page GithubHelp logo

Comments (7)

Shinmera avatar Shinmera commented on September 24, 2024

What I've found so far is this: on some systems emacs simply crashes when launched under ld-linux.so, regardless of Portacle entirely. On my Arch systems I can reproduce this. On the Mint system I cannot.

The following mailing list thread hints that it might be a kernel related / deep emacs problem:
http://gnu.emacs.bug.narkive.com/6nDY0MRn/lib-ld-linux-so-2-usr-bin-emacs-fails-memory-exhausted

from portacle.

Shinmera avatar Shinmera commented on September 24, 2024

Thinking things through this seems even more suspect. Given that the whole thing works if ported from the Mint system to the Arch system I'm not sure if the above discussion applies to this, especially considering its age.

I suppose one thing that might be worth looking into is checking the values of ELF_ET_DYN_BASE on the respective systems, but I don't know how to go about that.

from portacle.

Shinmera avatar Shinmera commented on September 24, 2024

Here's the filed bug ticket on emacs: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24708

from portacle.

Shinmera avatar Shinmera commented on September 24, 2024

It seems that on more recent Emacs versions (master, not yet 26.0) this problem has vanished. Since 26 doesn't have an rc yet and probably won't be released for some years I can't roll this out yet. Maybe the relevant changes will make their way into a 25.3 or similar in a more timely manner, though.

from portacle.

Wilfred avatar Wilfred commented on September 24, 2024

FWIW I patched emacs.sh to:

readonly TAG=emacs-26.0.91

but even after re-running emacs.sh, I still get 'memory exhausted' when starting portacle.

from portacle.

Shinmera avatar Shinmera commented on September 24, 2024

Interesting. I still wish I had any conclusive idea on why this happens, and especially why it only sometimes happens.

from portacle.

Shinmera avatar Shinmera commented on September 24, 2024

In all my tests 26.1 fixes this issue.

from portacle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.