Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2018 11:44:09 +0400
From:      Roman Bogorodskiy <novel@freebsd.org>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        Matthew Macy <mmacy@freebsd.org>, freebsd-current@freebsd.org
Subject:   Re: panic after ifioctl/if_clone_destroy
Message-ID:  <20180811074407.GA6299@kloomba>
In-Reply-To: <24743f03-8af2-4106-653d-3bfd13d910c9@selasky.org>
References:  <20180805153556.GA1957@kloomba> <CAPrugNqVUoP0V8%2ByKTbCZgMoDu22xvCfUuga2LbKabjyi_=__A@mail.gmail.com> <a03803e6-5f1e-1960-c6a1-c7477f0ac9d4@selasky.org> <8acc8f27-29f2-d4c1-7473-f7053b14e7ad@selasky.org> <911d520a-4eb5-02b4-a119-3663a7537e6a@selasky.org> <CAPrugNoivMkazen1R_5DkODaCYbL1dRoM9m1VEEmVDvMTW4Kmg@mail.gmail.com> <24743f03-8af2-4106-653d-3bfd13d910c9@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--5vNYLRcllDrimb99
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

  Hans Petter Selasky wrote:

> On 08/06/18 21:43, Matthew Macy wrote:
> > The struct thread is typesafe. The problem is that the link is no longer
> > typesafe now that it=E2=80=99s not part of the thread. Thanks for point=
ing this
> > out. I=E2=80=99ll commit a fix later today.
> >=20
>=20
> Is there a patch yet?
>=20
> --HPS
>=20

This was committed in:

https://svnweb.freebsd.org/changeset/base/337525

However, I've just updated to r337595, and it still panics. Not sure if
that's related to the original issue though:

(kgdb) #0  doadump (textdump=3D0) at pcpu.h:230
#1  0xffffffff8043ddfb in db_dump (dummy=3D<value optimized out>,
    dummy2=3D<value optimized out>, dummy3=3D<value optimized out>,
    dummy4=3D<value optimized out>) at /usr/src/sys/ddb/db_command.c:574
#2  0xffffffff8043dbc9 in db_command (cmd_table=3D<value optimized out>)
    at /usr/src/sys/ddb/db_command.c:481
#3  0xffffffff8043d944 in db_command_loop ()
    at /usr/src/sys/ddb/db_command.c:534
#4  0xffffffff80440b6f in db_trap (type=3D<value optimized out>,
    code=3D<value optimized out>) at /usr/src/sys/ddb/db_main.c:252
#5  0xffffffff80bdef83 in kdb_trap (type=3D9, code=3D0, tf=3D<value optimiz=
ed out>)
    at /usr/src/sys/kern/subr_kdb.c:693
#6  0xffffffff8107aee1 in trap_fatal (frame=3D0xfffffe00760dc8a0, eva=3D0)
    at /usr/src/sys/amd64/amd64/trap.c:906
#7  0xffffffff8107a3bd in trap (frame=3D0xfffffe00760dc8a0) at counter.h:87
#8  0xffffffff81054d05 in calltrap ()
    at /usr/src/sys/amd64/amd64/exception.S:232
#9  0xffffffff80ded513 in inp_gcmoptions (ctx=3D0xfffff80003079f20)
    at epoch_private.h:188
#10 0xffffffff80bd9cba in epoch_call_task (arg=3D<value optimized out>)
    at /usr/src/sys/kern/subr_epoch.c:507
#11 0xffffffff80bdd0a9 in gtaskqueue_run_locked (queue=3D0xfffff800035be900)
    at /usr/src/sys/kern/subr_gtaskqueue.c:332
#12 0xffffffff80bdce28 in gtaskqueue_thread_loop (arg=3D<value optimized ou=
t>)
    at /usr/src/sys/kern/subr_gtaskqueue.c:507
#13 0xffffffff80b530c4 in fork_exit (
    callout=3D0xffffffff80bdcda0 <gtaskqueue_thread_loop>,=20
    arg=3D0xfffffe00061a4038, frame=3D0xfffffe00760dcac0)
    at /usr/src/sys/kern/kern_fork.c:1057
#14 0xffffffff81055cde in fork_trampoline ()
    at /usr/src/sys/amd64/amd64/exception.S:990
#15 0x0000000000000000 in ?? ()
Current language:  auto; currently minimal
(kgdb)=20

Full core.txt is here: https://people.freebsd.org/~novel/misc/core.20180811=
=2Etxt

Roman Bogorodskiy

--5vNYLRcllDrimb99
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJbbpPHAAoJEMltX/4IwiJqm6oH/0SKon8ibkXCXg0vASu+TUN5
cGv6ZtcYupBYU1OxTMT+eYqx5WMPwFdu4XkXmc/lLzhjsAZXM0Lj3zyemluECie7
JbflfboWuMncvMzC4suarKXSaDUc1RTVK4VYMHlM999YqIOZ6zbvLr07LIKwqQ0a
aKr7YOD4waFt3xjCKWgNpfeeVZhEmUV6eOMRneKx4LKMH7Oy5KnqYkUz+yI5rgkC
1yY4w7o8Cc6zJ1VdrEOpOq8AEIjqoaQJmlstRk6FzaDH+SvQ2IBm/aZfNf0+Yech
nwWcIIkxfXPoKbGGvz93/JE7VymQ8CSEjKl3pXsKKOgpMkxilv3J0H6PlXHus60=
=gvwE
-----END PGP SIGNATURE-----

--5vNYLRcllDrimb99--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180811074407.GA6299>