[Bug 294361] autofs: general protection fault while in kernel mode

[email protected] Mon, 03 Aug 2026 17:23:45 +0000
Newsgroups gmane.os.freebsd.devel.file-systems
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D294361

--- Comment #6 from Hans Rosenfeld <[email protected]> ---

(kgdb) frame 7=20=20=20=20=20
#7  0xffffffff839f4d46 in autofs_trigger_one (anp=3D0xfffff8019022b000,=20
    component=3D0xfffff80a7c390c06 "woodstoc/.screen/7085.pts-1.tequila",
componentlen=3D<optimized out>)
    at /usr/src/sys/fs/autofs/autofs.c:399
399                     for (firstanp =3D anp; firstanp->an_parent->an_pare=
nt !=3D
NULL;
(kgdb) p *anp
$1 =3D {an_link =3D {rbe_link =3D {0xdeadc0dedeadc0de, 0xdeadc0dedeadc0de,
0xdeadc0dedeadc0de}},=20
  an_name =3D 0xdeadc0dedeadc0de <error: Cannot access memory at address
0xdeadc0dedeadc0de>, an_fileno =3D -559038242,=20
  an_parent =3D 0xdeadc0dedeadc0de, an_children =3D {rbh_root =3D
0xdeadc0dedeadc0de}, an_mount =3D 0xdeadc0dedeadc0de,=20
  an_vnode =3D 0xdeadc0dedeadc0de, an_vnode_lock =3D {lock_object =3D {
      lo_name =3D 0xdeadc0dedeadc0de <error: Cannot access memory at address
0xdeadc0dedeadc0de>, lo_flags =3D 3735929054,=20
      lo_data =3D 3735929054, lo_witness =3D 0xdeadc0dedeadc0de}, sx_lock =
=3D
16045693110842147038}, an_cached =3D 222,=20
  an_wildcards =3D 192, an_callout =3D {c_links =3D {le =3D {le_next =3D
0xdeadc0dedeadc0de, le_prev =3D 0xdeadc0dedeadc0de}, sle =3D {
        sle_next =3D 0xdeadc0dedeadc0de}, tqe =3D {tqe_next =3D 0xdeadc0ded=
eadc0de,
tqe_prev =3D 0xdeadc0dedeadc0de}},=20
    c_time =3D -2401050962867404578, c_precision =3D -2401050962867404578, =
c_arg =3D
0xdeadc0dedeadc0de, c_func =3D 0xdeadc0dedeadc0de,=20
    c_lock =3D 0xdeadc0dedeadc0de, c_flags =3D -16162, c_iflags =3D -8531, =
c_cpu =3D
-559038242}, an_retries =3D -559038242, an_ctime =3D {
    tv_sec =3D -2401050962867404578, tv_nsec =3D -2401050962867404578}}
(kgdb) list
394             sx_assert(&autofs_softc->sc_lock, SA_XLOCKED);
395
396             if (anp->an_parent =3D=3D NULL) {
397                     key =3D strndup(component, componentlen, M_AUTOFS);
398             } else {
399                     for (firstanp =3D anp; firstanp->an_parent->an_pare=
nt !=3D
NULL;
400                         firstanp =3D firstanp->an_parent)
401                             continue;
402                     key =3D strdup(firstanp->an_name, M_AUTOFS);
403             }

--=20
You are receiving this mail because:
You are the assignee for the bug.=