help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error running emacs installed with guix


From: Adonay Felipe Nogueira
Subject: Re: error running emacs installed with guix
Date: Mon, 13 Nov 2017 22:04:26 -0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Indeed, I experienced the same issues when I followed his instructions
literally.

This happens because, apparently, the system distribution he's currently
using has `ulimit -c unlimited' already run for his current shell and
"/proc/sys/kernel/core_pattern" with the phrase/word "core" inside.

You can either do something similar to what I described in my reply to
his suggestion or do as I just told in the previous paragraph, like so:

--8<---------------cut here---------------start------------->8---
sudo -i
echo "core" > "/proc/sys/kernel/core_pattern"
exit
ulimit -c unlimited
emacs
# ... and now it crashes and "core" is dumped at your current working
# directory --- your user's home by default.
# Now I suggest you to exit this shell, this will set
# `ulimit -c' back to 0, disabling "core dumps".
--8<---------------cut here---------------end--------------->8---

Just to note that, in the reply I gave to his message, I forgot to
mention that I had to copy the contents of the first "wrapper" script to
a place where I can edit it, so I could make something similar to the
"gdb_cmds.txt" file.

The first "wrapper" script can be found by doing:

--8<---------------cut here---------------start------------->8---
which emacs
--8<---------------cut here---------------end--------------->8---

Mason Hock <address@hidden> writes:

> Thanks for your response.
>
> I get
>
>> gdb $(which emacs) ./core
> "/home/mason/.guix-profile/bin/emacs": not in executable format: File
> format not recognized
> /home/mason/./core: No such file or directory.
>
>> (gdb) bt
> No stack.
>
> Mason



reply via email to

[Prev in Thread] Current Thread [Next in Thread]