From owner-freebsd-hackers@freebsd.org Wed Jun 14 14:45:30 2017 Return-Path: Delivered-To: freebsd-hackers@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 96D36D8F932 for ; Wed, 14 Jun 2017 14:45:30 +0000 (UTC) (envelope-from lifanov@FreeBSD.org) Received: from mail.lifanov.com (mail.lifanov.com [206.125.175.12]) (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 7B57D668E5 for ; Wed, 14 Jun 2017 14:45:30 +0000 (UTC) (envelope-from lifanov@FreeBSD.org) Received: from lm0.local (rrcs-96-10-213-43.midsouth.biz.rr.com [96.10.213.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.lifanov.com (Postfix) with ESMTPSA id 28C27239591 for ; Wed, 14 Jun 2017 10:36:28 -0400 (EDT) To: freebsd-hackers@freebsd.org From: Nikolai Lifanov Subject: crash under load in GENERIC Message-ID: <2cbb32a6-4721-544c-ddd1-c9cfa6633a79@FreeBSD.org> Date: Wed, 14 Jun 2017 10:36:20 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pDEDVNaN1PC5TF40wwpEemff9GFSOgd06" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 14:45:30 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --pDEDVNaN1PC5TF40wwpEemff9GFSOgd06 Content-Type: multipart/mixed; boundary="S7FMxSxI1HdrLLWSCun9spE1GhnUKn3BP"; protected-headers="v1" From: Nikolai Lifanov To: freebsd-hackers@freebsd.org Message-ID: <2cbb32a6-4721-544c-ddd1-c9cfa6633a79@FreeBSD.org> Subject: crash under load in GENERIC --S7FMxSxI1HdrLLWSCun9spE1GhnUKn3BP Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi! I haven't nailed it to a specific commit, but some time after head-319667, my package builder box crashes when running Poudriere. The earliest version that I can confirm crashes is head-319735. I have full crash summary and core dumps if these are helpful. __curthread () at ./machine/pcpu.h:232 232 __asm("movq %%gs:%1,%0" : "=3Dr" (td) (kgdb) #0 __curthread () at ./machine/pcpu.h:232 #1 doadump (textdump=3D1) at /usr/src/sys/kern/kern_shutdown.c:318 #2 0xffffffff80a705f6 in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:386 #3 0xffffffff80a70bf6 in vpanic (fmt=3D, ap=3D0xfffffe20249e4360) at /usr/src/sys/kern/kern_shutdown.c:779 #4 0xffffffff80a70c43 in panic (fmt=3D) at /usr/src/sys/kern/kern_shutdown.c:710 #5 0xffffffff80efe960 in trap_fatal (frame=3D0xfffffe20249e4600, eva=3D1= 024) at /usr/src/sys/amd64/amd64/trap.c:801 #6 0xffffffff80efe9d2 in trap_pfault (frame=3D0xfffffe20249e4600, usermo= de=3D0) at /usr/src/sys/amd64/amd64/trap.c:657 #7 0xffffffff80efe168 in trap (frame=3D0xfffffe20249e4600) at /usr/src/sys/amd64/amd64/trap.c:421 #8 #9 _sx_xlock_hard (sx=3D0xfffff8022c4b4258, x=3D, tid=3D, opts=3D, file=3D= , line=3D) at /usr/src/sys/kern/kern_sx.c:576 #10 0xffffffff80a78cac in _sx_xlock (sx=3D0xfffff8022c4b4258, opts=3D64, file=3D0xffffffff81142b62 "/usr/src/sys/kern/uipc_sockbuf.c", line=3D= 283) at /usr/src/sys/kern/kern_sx.c:308 #11 0xffffffff80b04aff in sosend_generic (so=3D0xffffffff81142b62, addr=3D= 0x0, uio=3D, top=3D0x0, control=3D0x0, flags=3D283, td=3D) at /usr/src/sys/kern/uipc_socket.c:1464 #12 0xffffffff80ae1292 in soo_write (fp=3D, uio=3D0xfffffe20249e4940, active_cred=3D, flags=3D, td=3D) at /usr/src/sys/kern/sys_socket.c:146 #13 0xffffffff80ad8407 in fo_write (fp=3D, uio=3D0xfffffe20249e4940, active_cred=3D0x0, flags=3D0, td=3D) at /usr/src/sys/sys/file.h:307 #14 dofilewrite (td=3D0xfffff803d3dc4560, fd=3D9, fp=3D0xfffff805a8f320a0= , auio=3D0xfffffe20249e4940, offset=3D, flags=3D0) at /usr/src/sys/kern/sys_generic.c:592 #15 0xffffffff80ad7ff8 in kern_writev (td=3D0xfffff803d3dc4560, fd=3D9, auio=3D0xfffffe20249e4940) at /usr/src/sys/kern/sys_generic.c:506 #16 0xffffffff80ad7f86 in sys_write (td=3D0xfffff8022c4b4258, uap=3D) at /usr/src/sys/kern/sys_generic.c:420 #17 0xffffffff80eff399 in syscallenter (td=3D0xfffff803d3dc4560) at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:132 #18 amd64_syscall (td=3D0xfffff803d3dc4560, traced=3D0) at /usr/src/sys/amd64/amd64/trap.c:903 #19 #20 0x0000000800ba2fca in ?? () Backtrace stopped: Cannot access memory at address 0x7fffffffe498 (kgdb) - Nikolai --S7FMxSxI1HdrLLWSCun9spE1GhnUKn3BP-- --pDEDVNaN1PC5TF40wwpEemff9GFSOgd06 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCAAyFiEE5oT6TcuaWvG5gtjzZ6sv56ecR0UFAllBSeQUHGxpZmFub3ZA ZnJlZWJzZC5vcmcACgkQZ6sv56ecR0V3oA/8DVs2Fs3NjPYudCOVw8/dqM4EJhWs vaSO4iVpo1qcemM8V34Kx89s/FeqIzHnpgId25EaXvrBvFe2VobDCs59hwX9jlsF eO4aAY78ExOpK1bgMGo7GrdxyreRejVWyXCM43ryFOk30jO3W02t4pl+pX4bMgH5 RLzCBhKfhih8f5t5v2wPv6DWqI7cScIxDMKIfgrHbxKyXd3eWWBPr75t7xWxOgiv 9LZcKVPA4LFNSYLNG1Jo5kuJ1sc+oj2l7vCTq1o1h80SetoBncDwWheOB24kFQmG f9zLe0NqaVygGEjj45CJ7N0bBNlQWrUCqF7zQJ6N8PFIF8z8BWTSAzhZgsev38r2 HQY04lMP7gon/cMCSwEl/y81Gspmpy4PmQxdr+nvW5FKdAW4gNB3NUM8ZiZhk47f A/huFNpZO+nbTFjZjxZcugBOXw4l/H6oVE+E9TxFzR1cIUWKNAObJtaPzZ4HW2f1 +VEY1M6JlAxZJcOxnoSCgTtPm6GPJR5US0Dc4OAAu1GFQzpHYEcH6Kg+Udg4gMQs YlXtDMfnsa6eHtQ9Tz8yDMM+QED2Mxm9/y1lZ0Q07TYngAxc9boIcYL2tagiE8Du i2Tal+GppX1ekNcxi97EzYiWdDBXkqjcOzHJCAkdNB8xLznuNwTYkVG8Ag5TA6vE 5uYg/1MzpZsKI1I= =l3nY -----END PGP SIGNATURE----- --pDEDVNaN1PC5TF40wwpEemff9GFSOgd06--