From owner-freebsd-dtrace@freebsd.org Mon May 9 16:05:57 2016 Return-Path: Delivered-To: freebsd-dtrace@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D50F6B33100 for ; Mon, 9 May 2016 16:05:57 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (bird.sbone.de [46.4.1.90]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7B09519E0 for ; Mon, 9 May 2016 16:05:56 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 42FC425D386D for ; Mon, 9 May 2016 16:05:48 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 78E0AD1F80E for ; Mon, 9 May 2016 16:05:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id Y85SEPQq-pF7 for ; Mon, 9 May 2016 16:05:45 +0000 (UTC) Received: from nv.sbone.de (nv.sbone.de [IPv6:fde9:577b:c1a9:31::2013:138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id A975CD1F7FB for ; Mon, 9 May 2016 16:05:45 +0000 (UTC) Date: Mon, 9 May 2016 16:05:44 +0000 (UTC) From: "Bjoern A. Zeeb" To: freebsd-dtrace@freebsd.org Subject: DTrace panic Message-ID: X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "A discussion list for developers working on DTrace in FreeBSD." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2016 16:05:57 -0000 Hi, I am seeing this panic when trying to use DTrace on r299073. I cannot rule out that it's my (experimental) environment; just wanted to check if it might have been a known breakage before digging into it. # dtrace -n 'dtrace:::BEGIN { printf("Hello FreeBSD!\n"); }' dtrace -n 'dtrace:::BEGIN { printf("Hello FreeBSD!\n"); }' dtrace: description 'dtrace:::BEGIN ' matched 1 probe kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode fault virtual address = 0xae fault code = supervisor read data, page not present instruction pointer = 0x20:0xfffff800012ebc03 stack pointer = 0x28:0xfffffe0000226740 frame pointer = 0x28:0xfffffe0000226780 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = IOPL = 0 current process = 576 (dtrace) [ thread pid 576 tid 100048 ] Stopped at 0xfffff800012ebc03: addl %eax,(%rax) db> where where Tracing pid 576 tid 100048 td 0xfffff80001f0f000 dmapbase() at 0xfffff800012ebc03/frame 0xfffffe0000226780 dtrace_xcall() at dtrace_xcall+0xb2/frame 0xfffffe00002267d0 dtrace_fuword32() at dtrace_fuword32+0xfd66/frame 0xfffffe0000226830 dtrace_fuword32() at dtrace_fuword32+0xa6ec/frame 0xfffffe0000226930 dev2udev() at dev2udev+0x37ef/frame 0xfffffe0000226990 kern_ioctl() at kern_ioctl+0x1a7/frame 0xfffffe0000226a00 sys_ioctl() at sys_ioctl+0x171/frame 0xfffffe0000226ad0 amd64_syscall() at amd64_syscall+0x4c6/frame 0xfffffe0000226bf0 Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe0000226bf0 --- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x80125267a, rsp = 0x7fffffffe9c8, rbp = 0x7fffffffea10 --- db> show reg show reg cs 0x20 ds 0x3b es 0x3b fs 0x13 gs 0x1b ss 0x28 rax 0xae rcx 0 rdx 0xfffffe0000817000 rbx 0xffffffff802b43f0 rsp 0xfffffe0000226758 rbp 0xfffffe0000226780 rsi 0xffffffff802b43f0 rdi 0xfffff800012ebc00 r8 0xfffff800012ebc00 r9 0xfffff800012ebc00 r10 0xfffff800012ebc00 r11 0xfffffe00002266f8 r12 0xffffffff80429f30 smp_no_rendevous_barrier r13 0xfffffe0001127000 r14 0xfffff800012ebc00 -More-- r15 0xfffff800012ebc00 rip 0xfffff800012ebc03 rflags 0xae 0xfffff800012ebc03: addl %eax,(%rax)