Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2017 10:36:20 -0400
From:      Nikolai Lifanov <lifanov@FreeBSD.org>
To:        freebsd-hackers@freebsd.org
Subject:   crash under load in GENERIC
Message-ID:  <2cbb32a6-4721-544c-ddd1-c9cfa6633a79@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--pDEDVNaN1PC5TF40wwpEemff9GFSOgd06
Content-Type: multipart/mixed; boundary="S7FMxSxI1HdrLLWSCun9spE1GhnUKn3BP";
 protected-headers="v1"
From: Nikolai Lifanov <lifanov@FreeBSD.org>
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<optimized out>,
ap=3D0xfffffe20249e4360)
    at /usr/src/sys/kern/kern_shutdown.c:779
#4  0xffffffff80a70c43 in panic (fmt=3D<unavailable>)
    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  <signal handler called>
#9  _sx_xlock_hard (sx=3D0xfffff8022c4b4258, x=3D<optimized out>,
    tid=3D<optimized out>, opts=3D<optimized out>, file=3D<optimized out>=
,
    line=3D<optimized out>) 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<optimized out>, top=3D0x0, control=3D0x0, flags=3D283, td=3D<o=
ptimized
out>)
    at /usr/src/sys/kern/uipc_socket.c:1464
#12 0xffffffff80ae1292 in soo_write (fp=3D<optimized out>,
    uio=3D0xfffffe20249e4940, active_cred=3D<optimized out>,
    flags=3D<optimized out>, td=3D<optimized out>)
    at /usr/src/sys/kern/sys_socket.c:146
#13 0xffffffff80ad8407 in fo_write (fp=3D<optimized out>,
    uio=3D0xfffffe20249e4940, active_cred=3D0x0, flags=3D0, td=3D<optimiz=
ed out>)
    at /usr/src/sys/sys/file.h:307
#14 dofilewrite (td=3D0xfffff803d3dc4560, fd=3D9, fp=3D0xfffff805a8f320a0=
,
    auio=3D0xfffffe20249e4940, offset=3D<optimized out>, 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<optimized out>) 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 <signal handler called>
#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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2cbb32a6-4721-544c-ddd1-c9cfa6633a79>