unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: storm@cua.dk (Kim F. Storm)
Cc: bug-gnu-emacs@gnu.org, jbw@macs.hw.ac.uk
Subject: Re: Emacs exited with message “X protocol error: BadPixmap”
Date: Tue, 14 Aug 2007 19:26:06 -0400	[thread overview]
Message-ID: <E1IL5m2-0000ja-AK@fencepost.gnu.org> (raw)
In-Reply-To: <87mywuv7v8.fsf@kfs-lx.testafd.dk> (storm@cua.dk)

    Anyways, I've seen on Windoze that if Emacs crashes, Visual Studio
    kicks in and offers you to debug the crashed process.

    Can't Emacs be taught to do something similar by hooking various
    signal handlers (SIGSEGV, SIGILL, etc) to a function that launches GDB
    with command line parameters that attaches it to the (crashed) Emacs
    runtime?  That way, GDB is only started _if_ Emacs crashes.

I don't know.  I think it is possible to attach with GDB to an existing
process.  But I am not sure whether you can make a process hang around
for inspection if it tries to crash.

  parent reply	other threads:[~2007-08-14 23:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-12  1:20 Emacs exited with message “X protocol error: BadPixmap” Joe Wells
2007-08-12 17:56 ` Richard Stallman
2007-08-12 18:17   ` Joe Wells
2007-08-13  5:01     ` Richard Stallman
2007-08-13  5:20       ` Joe Wells
2007-08-13 19:41         ` Eli Zaretskii
2007-08-13 20:41           ` Joe Wells
2007-08-14  0:28             ` Richard Stallman
2007-08-14  8:27               ` Kim F. Storm
2007-08-14 19:23                 ` Eli Zaretskii
2007-08-14 23:26                 ` Richard Stallman [this message]
2007-08-14  3:07             ` Eli Zaretskii
2007-08-14  0:27         ` Richard Stallman

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=E1IL5m2-0000ja-AK@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=jbw@macs.hw.ac.uk \
    --cc=storm@cua.dk \
    /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).