Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36566 - having multiple gnome-terminals open at once, if I ^c or abruptly exit gnome-terminal, defunct bash zombied processes stay around.
Summary: having multiple gnome-terminals open at once, if I ^c or abruptly exit gnome-...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-27 00:22 UTC by Lance Lassetter
Modified: 2004-08-19 16:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
screenshot of gnome-terminal with zombied bash process (bash_defunct.png,635.83 KB, image/png)
2003-12-27 06:31 UTC, Lance Lassetter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lance Lassetter 2003-12-27 00:22:11 UTC
zombied processes with gnome-terminal.

with multiple gnome-terminals open if i ^c or close a gnome-terminal with multiple tabs, zombied processes of bash appear, as much as 4 at a time sometimes.

Reproducible: Sometimes
Steps to Reproduce:
1. use xtail with one gnome-terminal, open multiple other gnome-terminals
2. close gnome-terminal with multiple tabs or use ctrl-c to exit a terminal that is doing something
3. chkzps which basically is:

#!/bin/bash
                                                                                                                  
ps aux|grep Z|grep -v grep

Actual Results:  
multiple zombied bash processes would show, sometimes just 1, sometimes up to 4.

they don't seem to use any system resources and are put to rest once I exit all
gnome-terminals, which can be a pain as i use xtail with one gnome-terminal to
tail multiple log files at once.

Expected Results:  
no zombied processes in the running system.

Gentoo Base System version 1.4.3.10p1
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.23_pre8-gss)
=================================================================
System uname: 2.4.23_pre8-gss i686 AMD Athlon(tm) XP 1800+
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://cudlug.cudenver.edu/gentoo/
http://gentoo.seren.com/gentoo http://mirrors.tds.net/gentoo
http://128.213.5.34/gentoo/ http://gentoo.noved.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apm crypt encode foomaticdb gif jpeg libg++ mad mikmod mpeg nls pdflib
png xml2 xmms xv zlib alsa gdbm berkdb slang readline arts aalib bonobo svga X
gpm libwww python esd imlib motif opengl mozilla -kde -qt sdl tcltk ppds gtk2
3dnow mbox oci8 openal transcode sse pam java gtk gnome mmx quicktime ssl avi
truetype spell cdr dvd flash perl usb oss ncurses oggvorbis tcpd cups"
Comment 1 Lance Lassetter 2003-12-27 06:31:08 UTC
Created attachment 22707 [details]
screenshot of gnome-terminal with zombied bash process
Comment 2 foser (RETIRED) gentoo-dev 2003-12-30 09:36:21 UTC
hmm and if you use more conservative CFLAGS ? 

I can't reproduce it.
Comment 3 Lance Lassetter 2003-12-30 11:17:25 UTC
i had the same problem with conservative cflags for athlonxp, i.e. the standard ones suggested for athlonxp and gcc 3.2 that are in make.conf, the same problem occurs.  is this a security risk?
Comment 4 foser (RETIRED) gentoo-dev 2004-08-19 16:16:08 UTC
very old & i can't reproduce it. no further reports.