unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: Crash when starting an external process
Date: Wed, 25 Jul 2007 20:02:18 +1000	[thread overview]
Message-ID: <87ps2gyf6d.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: mailman.3928.1185317462.32220.help-gnu-emacs@gnu.org

Robert Woodworth <woodworth@speakeasy.net> writes:

> Did that, however, emacs is exiting *normally*.   So there is nothing in
> the BackTrace.
>
> Something is telling emacs to quit when I issue a shell command.
>
> I have yet to really look at the source code, but if anyone out there
> knows what file has the routine for the shell commands, I could put a
> breakpoint there and watch it.  Or if there is just a way to turn on all
> debug printfs.
>
>
>
>
> BTW:  I have eliminated anything in the .emacs and system file by
> repeating the issue with --debug-init and --no-init-file --no-site-file 
>

Are you running emacs from X, from within a X terminal or from the console?
Have you been able to reproduce the problem in all three above situations? 

The reason I asked is that it *could* be something in the shell you are running
emacs within - possibly setting something that is affecting signal handling
or some environment variable thats being inherited etc. 

Its a very long shot, but I do remember once having problems with a program
that was just exiting and giving no indication of any problem. It turned out
that a script in a parent shell was setting something via a command line switch
(I wish I could remember exactly what it was) that caused the program to exit
abruptly. While its unlikely this is the problem in your case, it might be
worth running emacs under the different scenarios and maybe even running it
under different shells to see if you get the same behavior. 

Tim

-- 
tcross (at) rapttech dot com dot au

      parent reply	other threads:[~2007-07-25 10:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-24 20:27 Crash when starting an external process Robert Woodworth
2007-07-24 21:05 ` Peter Dyballa
2007-07-24 22:20 ` Nick Roberts
2007-07-24 22:50   ` Robert Woodworth
2007-07-24 23:01     ` Nick Roberts
     [not found]   ` <mailman.3928.1185317462.32220.help-gnu-emacs@gnu.org>
2007-07-25 10:02     ` Tim X [this message]

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=87ps2gyf6d.fsf@lion.rapttech.com.au \
    --to=timx@nospam.dev.null \
    --cc=help-gnu-emacs@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).