unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Adonay Felipe Nogueira <adfeno@hyperbola.info>
To: help-guix@gnu.org
Subject: Re: error running emacs installed with guix
Date: Mon, 13 Nov 2017 22:04:26 -0200	[thread overview]
Message-ID: <87y3n97mk5.fsf@hyperbola.info> (raw)
In-Reply-To: <1510601785.16377.2.camel@gmail.com> (Mason Hock's message of "Mon, 13 Nov 2017 11:36:25 -0800")

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 <masonhock@gmail.com> 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	other threads:[~2017-11-14  0:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-12 19:56 error running emacs installed with guix Mason Hock
2017-11-12 21:30 ` Adonay Felipe Nogueira
2017-11-17 16:58   ` Niall Dooley
2017-11-17 23:50     ` Mekeor Melire
2017-11-13  9:54 ` Ludovic Courtès
2017-11-13 14:44   ` Adonay Felipe Nogueira
2017-11-23 22:42     ` Adonay Felipe Nogueira
2017-11-13 19:36   ` Mason Hock
2017-11-14  0:04     ` Adonay Felipe Nogueira [this message]
2017-11-24  0:27 ` Adonay Felipe Nogueira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y3n97mk5.fsf@hyperbola.info \
    --to=adfeno@hyperbola.info \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).