From owner-freebsd-bugs@FreeBSD.ORG Wed Jan 26 12:08:39 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AC9C16A4CE for ; Wed, 26 Jan 2005 12:08:39 +0000 (GMT) Received: from frost.void.ru (ns.void.ru [82.179.198.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id D50D643D5A for ; Wed, 26 Jan 2005 12:08:37 +0000 (GMT) (envelope-from krok@void.ru) Received: from [10.10.10.24] (lan-gw.plus.ru [82.179.194.18]) (authenticated bits=0) by frost.void.ru (8.13.2/8.13.2) with ESMTP id j0QC8PPB069505 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 26 Jan 2005 15:08:26 +0300 (MSK) (envelope-from krok@void.ru) X-Authentication-Warning: frost.void.ru: Host lan-gw.plus.ru [82.179.194.18] claimed to be [10.10.10.24] Message-ID: <41F7883A.4040004@void.ru> Date: Wed, 26 Jan 2005 15:08:26 +0300 From: Krok Organization: Void User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20041229 Thunderbird/1.0 Mnenhy/0.6.0.104 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-bugs@freebsd.org X-Enigmail-Version: 0.89.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.80/640/Thu Dec 23 21:48:27 2004 clamav-milter version 0.80j on frost.void.ru X-Virus-Status: Clean X-Spam-Status: No, score=-5.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.0.0 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on frost.void.ru Subject: Kernel panic after (gdb) attach to threaded process... X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: krok@void.ru List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2005 12:08:39 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello. I've noticed process with state (ps) TL and was unable to kill it even with kill -9. When I've tried to gdb this process (or simple truss -p ) I've got kernel panic. Here is kernel dump : # uname -a FreeBSD alloy.ru 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #10: Mon Jan 24 12:08:52 MSK 2005 root@alloy.ru:/usr/obj/usr/src/sys/HITECH i386 # cat /var/crash/info.0 Good dump found on device /dev/da0s1b ~ Architecture: i386 ~ Architecture version: 1 ~ Dump length: 1073676288B (1023 MB) ~ Blocksize: 512 ~ Dumptime: Wed Jan 26 14:18:42 2005 ~ Hostname: alloy.ru ~ Versionstring: FreeBSD 5.3-RELEASE-p5 #10: Mon Jan 24 12:08:52 MSK 2005 ~ root@alloy.ru:/usr/obj/usr/src/sys/HITECH ~ Panicstring: page fault ~ Bounds: 0 # kgdb /usr/obj/usr/src/sys/HITECH/kernel.debug /var/crash/vmcore.0 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". doadump () at pcpu.h:159 (kgdb) back #0 doadump () at pcpu.h:159 #1 0xc04cfbbb in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:397 #2 0xc04cfee1 in panic (fmt=0xc060aac0 "%s") at /usr/src/sys/kern/kern_shutdown.c:553 #3 0xc05e60e0 in trap_fatal (frame=0xec97ab80, eva=68) at /usr/src/sys/i386/i386/trap.c:809 #4 0xc05e589d in trap (frame= ~ {tf_fs = -325648360, tf_es = -1068761072, tf_ds = 16, tf_edi = - -1022643772, tf_esi = -1023478608, tf_ebp = -325604332, tf_isp = - -325604436, tf_ebx = -1007141360, tf_edx = -1023478608, tf_ecx = 4, tf_eax = 0, tf_trapno = 12, tf_err = 2, tf_eip = -1068543065, tf_cs = 8, tf_eflags = 65683, tf_esp = 52402, tf_ss = -1068387925}) at /usr/src/sys/i386/i386/trap.c:247 #5 0xc05d46fa in calltrap () at /usr/src/sys/i386/i386/exception.s:140 #6 0xec970018 in ?? () #7 0xc04c0010 in thread_export_context (td=0xc2fef4b0, willexit=10) at /usr/src/sys/kern/kern_kse.c:852 #8 0xc04f48da in ptrace (td=0xc2fef4b0, uap=0xec97ad14) at /usr/src/sys/kern/sys_process.c:339 #9 0xc05e63c7 in syscall (frame= ~ {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 136630285, tf_esi = 52402, tf_ebp = -1077943064, tf_isp = -325603980, tf_ebx = 52402,tf_edx = 674995596, tf_ecx = 674911724, tf_eax = 26, tf_trapno = 22, tf_err = 2, tf_eip = 674263299, tf_cs = 31, tf_eflags = 514, tf_esp = - -1077943092, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1001 #10 0xc05d474f in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:201 #11 0x0000002f in ?? () #12 0x0000002f in ?? () #13 0x0000002f in ?? () #14 0x0824d00d in ?? () #15 0x0000ccb2 in ?? () #16 0xbfbfe4e8 in ?? () #17 0xec97ad74 in ?? () #18 0x0000ccb2 in ?? () #19 0x283b9d8c in ?? () #20 0x283a55ec in ?? () #21 0x0000001a in ?? () #22 0x00000016 in ?? () #23 0x00000002 in ?? () #24 0x28307103 in ?? () #25 0x0000001f in ?? () #26 0x00000202 in ?? () #27 0xbfbfe4cc in ?? () #28 0x0000002f in ?? () #29 0x0000096e in ?? () #30 0x0000057f in ?? () #31 0x00000689 in ?? () #32 0x000002be in ?? () #33 0x08bb8000 in ?? () #34 0xc30bb8d4 in ?? () #35 0xc2fef4b0 in ?? () #36 0xec97a96c in ?? () #37 0xec97a954 in ?? () #38 0xc3b627d0 in ?? () #39 0xc04e00db in sched_switch (td=0xccb2, newtd=0xccb2, flags=Cannot access memory at address 0xbfbfe4f8 ) at /usr/src/sys/kern/sched_4bsd.c:865 Previous frame inner to this frame (corrupt stack?) (kgdb) up 4 No stack. (kgdb) Can anybody help with this ? - -- With best regards, Krok -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFB94g6sXuomovtlAARAn9IAJ4oOPSCfKml+k8TNt08L5kWRtXBvgCfRKp+ X+I2n6scP0W2jM0e3Po6BWQ= =8XEr -----END PGP SIGNATURE-----