From owner-freebsd-bugs@freebsd.org Sun Jul 26 23:51:59 2015 Return-Path: Delivered-To: freebsd-bugs@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 A72369ABBFA for ; Sun, 26 Jul 2015 23:51:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 930FFDA4 for ; Sun, 26 Jul 2015 23:51:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t6QNpx20024564 for ; Sun, 26 Jul 2015 23:51:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 201466] ifconfig called from ruby shell class causes kernel panic Date: Sun, 26 Jul 2015 23:51:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-BETA1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: allanjude@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2015 23:51:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201466 Allan Jude changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |allanjude@FreeBSD.org --- Comment #5 from Allan Jude --- This sh one-liner allows me to reproduce a similar crash consistently (usually 2-3 iterations: for i in $(jot 100); do result=$(ifconfig epair create); sleep 0.25; ifconfig $result destroy; done With a sleep time over 0.5 seconds, it seems to be fine. This is reproducible on 11-CURRENT as well. FreeBSD 102rc1 10.2-RC1 FreeBSD 10.2-RC1 #0 r285832: Fri Jul 24 01:08:13 UTC 201 5 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 panic: page fault Unread portion of the kernel message buffer: epair1a: Ethernet address: 02:ff:70:00:05:0a Fatal trap 12: page fault while in kernel mode cpuid = 2; apic id = 02 fault virtual address = 0x0 fault code = supervisor read instruction, page not present instruction pointer = 0x20:0x0 stack pointer = 0x28:0xfffffe00f7181870 frame pointer = 0x28:0xfffffe00f71818c0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 1072 (ifconfig) trap number = 12 panic: page fault cpuid = 2 KDB: stack backtrace: #0 0xffffffff80a15f70 at kdb_backtrace+0x60 #1 0xffffffff809d9b26 at vpanic+0x126 #2 0xffffffff809d99f3 at panic+0x43 #3 0xffffffff80ddbcab at trap_fatal+0x36b #4 0xffffffff80ddbfad at trap_pfault+0x2ed #5 0xffffffff80ddb64a at trap+0x47a #6 0xffffffff80dc19c2 at calltrap+0x8 #7 0xffffffff80a9c39b at ifioctl+0x13ab #8 0xffffffff80a2de65 at kern_ioctl+0x255 #9 0xffffffff80a2db60 at sys_ioctl+0x140 #10 0xffffffff80ddc5c7 at amd64_syscall+0x357 #11 0xffffffff80dc1cab at Xfast_syscall+0xfb Uptime: 2m48s Dumping 272 out of 4067 MB:..6%..12%..24%..36%..42%..53%..65%..71%..83%..95% Reading symbols from /boot/kernel/if_epair.ko.symbols...done. Loaded symbols for /boot/kernel/if_epair.ko.symbols #0 doadump (textdump=) at pcpu.h:219 219 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump (textdump=) at pcpu.h:219 #1 0xffffffff809d9782 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:451 #2 0xffffffff809d9b65 in vpanic (fmt=, ap=) at /usr/src/sys/kern/kern_shutdown.c:758 #3 0xffffffff809d99f3 in panic (fmt=0x0) at /usr/src/sys/kern/kern_shutdown.c:687 #4 0xffffffff80ddbcab in trap_fatal (frame=, eva=) at /usr/src/sys/amd64/amd64/trap.c:851 #5 0xffffffff80ddbfad in trap_pfault (frame=0xfffffe00f71817c0, usermode=) at /usr/src/sys/amd64/amd64/trap.c:674 #6 0xffffffff80ddb64a in trap (frame=0xfffffe00f71817c0) at /usr/src/sys/amd64/amd64/trap.c:440 #7 0xffffffff80dc19c2 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:236 #8 0x0000000000000000 in ?? () -- You are receiving this mail because: You are the assignee for the bug.