From owner-freebsd-bugs@FreeBSD.ORG Tue Nov 19 14:50:00 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D683E297 for ; Tue, 19 Nov 2013 14:50:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B932A2524 for ; Tue, 19 Nov 2013 14:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rAJEo0iX029538 for ; Tue, 19 Nov 2013 14:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rAJEo0n0029537; Tue, 19 Nov 2013 14:50:00 GMT (envelope-from gnats) Resent-Date: Tue, 19 Nov 2013 14:50:00 GMT Resent-Message-Id: <201311191450.rAJEo0n0029537@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Patrick Dung Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 889921FB for ; Tue, 19 Nov 2013 14:49:19 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5EA4F250E for ; Tue, 19 Nov 2013 14:49:19 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rAJEnIxl008616 for ; Tue, 19 Nov 2013 14:49:18 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rAJEnIYU008580; Tue, 19 Nov 2013 14:49:18 GMT (envelope-from nobody) Message-Id: <201311191449.rAJEnIYU008580@oldred.freebsd.org> Date: Tue, 19 Nov 2013 14:49:18 GMT From: Patrick Dung To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/184085: process crash when dtrace is run: dtrace -n pid:::entry X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Nov 2013 14:50:01 -0000 >Number: 184085 >Category: kern >Synopsis: process crash when dtrace is run: dtrace -n pid:::entry >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 19 14:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Patrick Dung >Release: FreeBSD 9.2 release >Organization: >Environment: FreeBSD fbsd92pkg.local.nonet 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: 1. I loaded dtrace kernel modules (dtrace.ko and dtraceall.ko) 2. Suppose I have a process (vi) with PID 32264. 3. When below command is run, the vi process core dumped. pid 32264 (vi), uid 0: exited on signal 11 (core dumped) # dtrace -n pid32264:::entry dtrace: description 'pid32264:::entry' matched 2655 probes CPU ID FUNCTION:NAME 0 60896 malloc:entry 0 60223 memset:entry # gdb vi vi.core 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 "amd64-marcel-freebsd"...(no debugging symbols found)... Core was generated by `vi'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libncurses.so.8...(no debugging symbols found)...done. Loaded symbols for /lib/libncurses.so.8 Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x0000000000000008 in ?? () (gdb) where #0 0x0000000000000008 in ?? () #1 0x0000000000414c49 in ?? () #2 0x00000000004099d1 in ?? () #3 0x0000000000409ef2 in ?? () #4 0x00000000004394c6 in ?? () #5 0x0000000000439685 in ?? () #6 0x000000000043a8ca in ?? () #7 0x000000000040c59a in ?? () #8 0x00000000004048a8 in ?? () #9 0x00000000004036e1 in ?? () #10 0x000000080066d000 in ?? () #11 0x0000000000000000 in ?? () >How-To-Repeat: I have tried to replaced the PID of the vi process, eg. apache/database. Still experienced core dump. >Fix: >Release-Note: >Audit-Trail: >Unformatted: