[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bash exits by itself after running program
From: |
jjlin |
Subject: |
bash exits by itself after running program |
Date: |
Mon, 29 Mar 2004 12:32:43 -0800 (PST) |
Configuration Information [Automatically generated, do not change]:
Machine: sparc
OS: solaris2.8
Compiler: gcc3
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='sparc'
-DCONF_OSTYPE='solaris2.8' -DCONF_MACHTYPE='sparc-sun-solaris2.8'
-DCONF_VENDOR='sun' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g
-O2
uname output: SunOS OCF.Berkeley.EDU 5.8 Generic_108528-27 sun4u sparc
SUNW,Ultra-250
Machine Type: sparc-sun-solaris2.8
Bash Version: 2.05b
Patch Level: 0
Release Status: release
Description:
I'm not sure this is a bug in bash per se, but it manifests itself
there. After running a python curses program (btdownloadcurses.py
from BitTorrent <http://www.bitconjurer.org/BitTorrent/>), bash exits
by itself. It even prints "exit" as if I'd pressed ^D. I attempted
running bash through gdb, and it looks like bash does indeed think that
it read an EOF, for some reason. This problem does not occur for the
non-curses version. The same problem *does* occur in tcsh and solaris
ksh, but not in zsh or sh. I've also tried this on Linux; the problem
doesn't seem to occur there.
Repeat-By:
On a Solaris machine, download BitTorrent if necessary, start bash,
and run btdownloadcurses.py.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bash exits by itself after running program,
jjlin <=