From owner-freebsd-bugs@FreeBSD.ORG Tue Mar 17 17:21:15 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 17DC22A0 for ; Tue, 17 Mar 2015 17:21:15 +0000 (UTC) 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 DA719CF3 for ; Tue, 17 Mar 2015 17:21:14 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2HHLEAw038731 for ; Tue, 17 Mar 2015 17:21:14 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 198663] panic: wrote past end of sbuf (0 >= 0) Date: Tue, 17 Mar 2015 17:21:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ngie@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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.18-1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2015 17:21:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198663 Bug ID: 198663 Summary: panic: wrote past end of sbuf (0 >= 0) Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: ngie@FreeBSD.org This panic issue is 100% reproducible with the Jenkins kyua test runs; see https://jenkins.freebsd.org/job/FreeBSD_HEAD-tests2/853/ for more details: lib/libc/sys/chroot_test:chroot_err -> passed [0.015s] lib/libc/sys/chroot_test:chroot_perm -> passed [0.015s] lib/libc/sys/clock_gettime_test:clock_gettime_real -> panic: wrote past end of sbuf (0 >= 0) cpuid = 0 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe009748b760 vpanic() at vpanic+0x189/frame 0xfffffe009748b7e0 kassert_panic() at kassert_panic+0x132/frame 0xfffffe009748b850 sbuf_set_drain() at sbuf_set_drain+0x28/frame 0xfffffe009748b880 sbuf_new_for_sysctl() at sbuf_new_for_sysctl+0x29/frame 0xfffffe009748b8a0 sysctl_kern_timecounter_choice() at sysctl_kern_timecounter_choice+0x18/frame 0xfffffe009748b900 sysctl_root_handler_locked() at sysctl_root_handler_locked+0x94/frame 0xfffffe009748b940 sysctl_root() at sysctl_root+0x188/frame 0xfffffe009748b990 userland_sysctl() at userland_sysctl+0x192/frame 0xfffffe009748ba30 sys___sysctl() at sys___sysctl+0x74/frame 0xfffffe009748bae0 amd64_syscall() at amd64_syscall+0x27f/frame 0xfffffe009748bbf0 Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe009748bbf0 --- syscall (202, FreeBSD ELF64, sys___sysctl), rip = 0x800b77b0a, rsp = 0x7fffffffa938, rbp = 0x7fffffffa970 --- KDB: enter: panic [ thread pid 4557 tid 100062 ] Repro: sudo pkg install -y kyua perl5 (cd /usr/tests/; sudo kyua test) It might be easier to repro by limiting the tests executed to just the libc syscall tests: sudo pkg install -y kyua perl5 (cd /usr/tests/lib/libc/sys; sudo kyua test) -- You are receiving this mail because: You are the assignee for the bug.