Intermittently, launching emacs in background exits bash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
emacs22 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Very rarely (once a month or so), I will launch emacs with "emacs filename &", and not only will emacs not appear, gnome-terminal will close as well, presumably because bash exited. Normally it works fine, it is just on rare occasions that this happens. Since I've never seen another report of this behavior, I'm assuming that it must somehow be related to my bash settings; the only relevant deviation from the Ubuntu stock .bashrc is:
unset HISTFILE
bld=`/usr/bin/tput bold`
sgr=`/usr/bin/tput sgr0`
tty=`/usr/bin/tty | /bin/sed s%/dev/%%`
export PS1='\['$bld'\](\!) '$tty' [\j jobs] [rc=$?] \u@\h \d \@\['$sgr'
unset bld sgr tty
set -b
I've never seen this happen with another program, so it seems to be some bizarre interaction between emacs and bash. I'm running Gutsy, but this is a long-standing bug, I've even seen it outside of Ubuntu (always the combination gnome-terminal/
On Wed, 23 Jan 2008 15:10:58 -0000, "J. Scott Berg" <email address hidden>
said:
> Very rarely (once a month or so), I will launch emacs with "emacs
> filename &", and not only will emacs not appear, gnome-terminal will
> close as well, presumably because bash exited.
Do you see anything in your .xsession-errors when this happens?
/* era */
--
If this were a real .signature, it would suck less. Well, maybe not.