Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Aug 2026 17:23:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 294361] autofs: general protection fault while in kernel mode
Message-ID:  <bug-294361-3630-X6jnGQZWDm@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-294361-3630@https.bugs.freebsd.org/bugzilla/>

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

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294361

--- Comment #6 from Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> ---

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

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-294361-3630-X6jnGQZWDm>