unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Bum term
@ 2003-06-02 12:29 Irving Kimura
  2003-06-02 17:50 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Irving Kimura @ 2003-06-02 12:29 UTC (permalink / raw)





As I reported in a different thread, when I execute "M-x term",
and try "ls" in the new terminal, after printing a fraction of the
lines in the output, Emacs becomes completely comatose.  It responds
only to an external "kill -9".

I want to isolate the source of this problem.  I find that if
instead of running term with a plain ol' "/bin/bash" argument, I
run it with "~/bare_bash", where bare_bash is a script containing
the lines

#!/bin/bash
/usr/bin/env -i /bin/bash

then the problem disappears.

I tried to pinpoint the cause of the problem by adding an increasing
number of environment variables and function definitions to the
bare environment generated by bare_bash, so as to approach the
environment where the error occurs, but I have not succeded in
reproducing the error this way.  The only way I can get the error
is by running "M-x term" and accepting the default argument,
"/bin/bash".

I'm stumped.  Is there a more direct way to troubleshoot the problem?
I am reluctant to report this as a bug to Emacs, because I have no
clue about the origin of the malfunction, and without this, I don't
see how the people fielding the bug report will be able to do
anything about it.

Thanks,

	-Irv

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bum term
  2003-06-02 12:29 Bum term Irving Kimura
@ 2003-06-02 17:50 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2003-06-02 17:50 UTC (permalink / raw)


> lines in the output, Emacs becomes completely comatose.  It responds
> only to an external "kill -9".

If it doesn't respond to C-g, it's a bug.  Please run it under a debugger,
interrupt it from the debugger when it's comatose, and send us the backtrace
with M-x report-emacs-bug.  Please read the emacs/etc/DEBUG file to know
what kind of info would be relevant.


        Stefan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-02 17:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-02 12:29 Bum term Irving Kimura
2003-06-02 17:50 ` Stefan Monnier

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