unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@users.sourceforge.net>
To: Live System User <nyc4bos@aol.com>
Cc: 28700@debbugs.gnu.org
Subject: bug#28700: 25.2; Cannot kill Eshell buffer
Date: Wed, 04 Oct 2017 19:48:53 -0400	[thread overview]
Message-ID: <87vajucw4a.fsf@users.sourceforge.net> (raw)
In-Reply-To: <87efqia7fv.fsf@aol.com> (Live System User's message of "Wed, 04 Oct 2017 18:12:36 -0400")

Live System User <nyc4bos@aol.com> writes:

>   It's built by Fedora (RedHat).  I have debugging info but I belive
>   the emacs binary might be stripped, if that matters.

Hmm, you will need gdb, emacs debug info and probably the emacs sources
as well.

This link explains how to get the debug info:
https://fedoraproject.org/wiki/StackTraces#What_are_debuginfo_rpms.2C_and_how_do_I_get_them.3F

I'm not sure how to get sources under Redhat based distros.

Also get .gdbinit from
http://git.savannah.gnu.org/cgit/emacs.git/tree/src/.gdbinit?h=heads/emacs-25.3

>   I dont know how to reproduce this with or without 'emacs -Q' but
>   it has happened to me periodically so I decided to finally
>   report it
>
>   I'll leave the sessuon around as long as I can.

After you have installed the debugging symbols and gdb, attach gdb to
the running Emacs by running

    gdb -p xxxx

Where xxxx is Emacs' pid (a number).  Find that out by running 'pgrep -a
emacs'.  Then at the (gdb) prompt, type

    source .gdbinit
    break text_read_only
    continue

Then try to kill the buffer.  Hopefully the breakpoint will be hit and
emacs becomes frozen.  At the (gdb) prompt, type

    bt






  reply	other threads:[~2017-10-04 23:48 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-04  9:57 bug#28700: 25.2; Cannot kill Eshell buffer Live System User
2017-10-04 11:56 ` Noam Postavsky
2017-10-04 14:13   ` Live System User
2017-10-04 14:19     ` Noam Postavsky
2017-10-04 15:21       ` Live System User
2017-10-04 16:42         ` Noam Postavsky
2017-10-04 18:27           ` Live System User
2017-10-04 18:32             ` Noam Postavsky
2017-10-04 19:50               ` Live System User
2017-10-04 19:56                 ` Noam Postavsky
2017-10-04 22:12                   ` Live System User
2017-10-04 23:48                     ` Noam Postavsky [this message]
2017-10-15 19:09                       ` Live System User
2017-10-15 19:48                         ` Noam Postavsky
2017-10-15 22:02                           ` Live System User
2017-10-16  2:20                             ` Noam Postavsky
2017-10-21 19:51                               ` Noam Postavsky
2017-10-15 19:29                       ` Live System User
2017-10-05  8:09 ` martin rudalics

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://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87vajucw4a.fsf@users.sourceforge.net \
    --to=npostavs@users.sourceforge.net \
    --cc=28700@debbugs.gnu.org \
    --cc=nyc4bos@aol.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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