Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115905 - sigkill leaves process running with RSS=0 in 2.6.14
Summary: sigkill leaves process running with RSS=0 in 2.6.14
Status: VERIFIED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High major
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://bugzilla.kernel.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-17 20:47 UTC by Alan Somers
Modified: 2007-01-10 03:46 UTC (History)
0 users

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


Attachments
X.org log (Xorg.0.log,31.29 KB, text/plain)
2005-12-17 20:49 UTC, Alan Somers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Somers 2005-12-17 20:47:20 UTC
unreal tournament 2004 demo crashed, and took out X.  I SSHed in and killed ut2004-bin with kill -9, but X did not respond to kill, so I tried kill -9 on X.  Instead of killing X, this put X into a curious state.  ps shows that X is running, but top shows it to have RES = SHR = VIRT = 0
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND         
 7033 root      25   0     0    0    0 R 98.7  0.0  22:40.70 X

ps -ax shows
 7033 ?        R     22:53 [X]

also, it does not "feel" like X is taking 98.7% of the cpu, not the way it "felt" like ut2004-bin was taking 99% of the cpu before I killed it.  With ut2004-bin killed, the system is plenty responsive.

The system does not respond to the keyboard, but typing "chvt 2" does not work either.  chvt hangs, and strace shows that it hangs at this line:
open("/dev/tty0", O_RDWR)               = 3
ioctl(3, KDGKBTYPE, 0x7fffff86537b)     = 0
ioctl(3, VIDIOC_G_COMP or VT_ACTIVATE, 0x2) = 0
ioctl(3, VIDIOC_S_COMP or VT_WAITACTIVE

Xorg.0.log shows nothing out of the ordinary.

I have reproduced this with kernels gentoo-sources-2.6.14 and gentoo-sources-2.6.14-r3.  If I can reproduce it with vanilla-sources , then I will post the bug to kernel.org.  I am using xorg 6.8.2-r6 .

My hardware is dual amd opteron 244, 1GB ram, Radeon 7500 graphics card, Tyan thunder k8w S2885 motherboard.

emerge info:

Portage 2.0.53_rc7 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r3 x86_64 AMD Opteron(tm) Processor 244
Gentoo Base System version 1.12.0_pre8
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O0"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O0"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sfperms strict"
GENTOO_MIRRORS="http://gentoo.binarycompass.org http://gentoo.osuosl.org/ http://gentoo.ccccom.com"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi aim alsa apache2 audiofile avi berkdb bitmap-fonts bonobo bzip2 crypt cups curl dga divx4linux doc dvd eds emboss encode exif expat fam fbcon fftw flac foomaticdb fortran gdbm gif glut gmp gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile idn imagemagick imlib ipv6 jack java jpeg lcms ldap libwww lzw lzw-tiff mad maildir mbox mikmod mng motif mozilla mp3 mpeg mysql ncurses nls nptl offensive ogg oggvorbis opengl oscar pam pcre pda pdflib perl plotutils png python qt quicktime readline real recode samba sdl sharedmem slang sockets spell sqlite ssl sysvipc tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb userlocales vorbis xanim xinerama xml xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Alan Somers 2005-12-17 20:49:09 UTC
Created attachment 74992 [details]
X.org log

Attaching x.org logfile
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2005-12-18 09:43:39 UTC
Please test the latest development kernel (currently vanilla-sources-2.6.15_rc5)
Comment 3 Alan Somers 2005-12-19 18:47:46 UTC
I have reproduced this bug with vanilla-sources-2.6.15-rc5 .  Since it takes a few hours of play to trigger, I'll leave X in its crashed state in case anyone gets some bright ideas about examining it.
Comment 4 Alan Somers 2005-12-19 20:52:58 UTC
Since this occurred with 2.6.15-rc5 , I'm marking the bug resolved:upstream .  The new bug is filed with kernel.org at http://bugzilla.kernel.org/show_bug.cgi?id=5762
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2005-12-20 00:33:52 UTC
Perfect, thanks
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2007-01-10 03:46:57 UTC
upstream bug is closed