From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757915AbZKSKZk (ORCPT ); Thu, 19 Nov 2009 05:25:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755236AbZKSKZj (ORCPT ); Thu, 19 Nov 2009 05:25:39 -0500 Received: from cantor2.suse.de ([195.135.220.15]:43161 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754977AbZKSKZi (ORCPT ); Thu, 19 Nov 2009 05:25:38 -0500 Date: Thu, 19 Nov 2009 11:25:43 +0100 From: Nick Piggin To: Linux Kernel Mailing List , Roland McGrath , Oleg Nesterov Subject: Zombie process when ptracing Message-ID: <20091119102543.GB5602@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Running recent git kernel, I have a process stuck in Z state bash ? 0000000000000000 0 3188 3187 0x00000000 ffff88012e24fec8 0000000000000046 0000000000000000 0000000000000012 ffff88012e24fec8 ffff88012e24e000 ffff88012e24ffd8 ffff88012e24e000 000000000000efc8 ffff88012e24e000 ffff88012ea82090 ffff88012ff78640 Call Trace: [] ? proc_clear_tty+0x5e/0x70 [] ? exit_ptrace+0xb8/0x140 [] do_exit+0x58a/0x7c0 [] do_group_exit+0x3d/0xb0 [] sys_exit_group+0x12/0x20 [] system_call_fastpath+0x16/0x1b This was after stracing a few test programs. It also seems to have lost job control (^C) at the same time. Hmm, and the kernel just paniced with an nmi lockup while I was trying to get more info. Call Trace: [] __const_udelay+0x43/0x50 [] arch_trigger_all_cpu_backtrace+0x4c/0x70 [] sysrq_handle_showallcpus+0x9/0x10 [] __handle_sysrq+0x120/0x180 [] handle_sysrq+0x26/0x30 [] serial8250_handle_port+0x210/0x2f0 [] serial8250_interrupt+0x88/0x120 [] handle_IRQ_event+0xa7/0x1e0 [] handle_edge_irq+0xbc/0x150 [] handle_irq+0x1f/0x30 [] do_IRQ+0x6a/0xe0 [] ret_from_intr+0x0/0xa [] ? default_idle+0xa2/0xc0 [] ? __atomic_notifier_call_chain+0x31/0x60 [] ? c1e_idle+0x3a/0x100 [] ? atomic_notifier_call_chain+0x11/0x20 [] ? cpu_idle+0x6b/0xc0 [] ? start_secondary+0x17c/0x1d6 I'll update this space if I can repeat it again. Any ideas?