From owner-freebsd-testing@freebsd.org Mon Jan 2 17:59:07 2017 Return-Path: Delivered-To: freebsd-testing@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 DD7DDC9C8D4 for ; Mon, 2 Jan 2017 17:59:07 +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 A8DF5166D for ; Mon, 2 Jan 2017 17:59:07 +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 v02Hx7B2091014 for ; Mon, 2 Jan 2017 17:59:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-testing@freebsd.org Subject: [Bug 215715] cond_test:cond_timedwait_race crashes with SIGSEGV periodically Date: Mon, 02 Jan 2017 17:59:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ngie@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-testing@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jan 2017 17:59:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215715 Ngie Cooper changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #1 from Ngie Cooper --- Looks like an issue with the gettimeofday change when calculating the resul= t of binuptime: Standard output Test case did not write anything to stdout. Standard error Process with PID 7058 exited with signal 11 and dumped core; attempting to gather stack trace [New LWP 100585] [New LWP 100200] [New LWP 100586] [New LWP 100587] [New LWP 100595] [New LWP 100599] [New LWP 100607] Core was generated by `/usr/tests/lib/libthr/cond_test -vunprivileged-user=3Dtests -r/tmp/kyua.e5qVqp/6/r'. Program terminated with signal SIGSEGV, Segmentation fault. #0 __vdso_gettc (th=3D, tc=3D) at /usr/src/svn/lib/libc/x86/sys/__vdso_gettc.c:231 231 *tc =3D *(volatile uint32_t *)(hpet_dev_map + HPET_MAIN_COUNTER); [Current thread is 1 (LWP 100585)] #0 __vdso_gettc (th=3D, tc=3D) at /usr/src/svn/lib/libc/x86/sys/__vdso_gettc.c:231 #1 0x0000000800da3785 in tc_delta (th=3D0x3, delta=3D) at /usr/src/svn/lib/libc/sys/__vdso_gettimeofday.c:43 #2 binuptime (bt=3D, tk=3D, abs=3D1) at /usr/src/svn/lib/libc/sys/__vdso_gettimeofday.c:74 #3 0x0000000800da38b6 in __vdso_clock_gettime (clock_id=3D0, ts=3D0x7fffd= fffdf90) at /usr/src/svn/lib/libc/sys/__vdso_gettimeofday.c:149 #4 0x0000000800da3001 in __clock_gettime (clock_id=3D0, ts=3D0x7fffdfffdf= 90) at /usr/src/svn/lib/libc/sys/clock_gettime.c:46 #5 0x000000000040267d in pthread_cond_timedwait_func (arg=3D) at /usr/src/svn/contrib/netbsd-tests/lib/libpthread/t_cond.c:316 #6 0x0000000800a44ba5 in thread_start (curthread=3D) at /usr/src/svn/lib/libthr/thread/thr_create.c:289 #7 0x0000000000000000 in ?? () Backtrace stopped: Cannot access memory at address 0x7fffdfffe000 GDB exited successfully Files left in work directory after failure: cond_test.core --=20 You are receiving this mail because: You are the assignee for the bug.=