Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 2015 14:43:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 201528] Process under 10.1-STABLE is unkillable (uninterruptible sleep)
Message-ID:  <bug-201528-8-j43rPVgYAp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-201528-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-201528-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201528

Mateusz Guzik <mjg@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mjg@FreeBSD.org
           Assignee|freebsd-bugs@FreeBSD.org    |jmg@FreeBSD.org

--- Comment #2 from Mateusz Guzik <mjg@FreeBSD.org> ---
Quick look suggests the problem seems to be here:

        while (count) {
                KQ_OWNED(kq);
                kn = TAILQ_FIRST(&kq->kq_head);

                if ((kn->kn_status == KN_MARKER && kn != marker) ||
                    (kn->kn_status & KN_INFLUX) == KN_INFLUX) {
                        if (influx) {
                                influx = 0;
                                KQ_FLUX_WAKEUP(kq);
                        }
                        kq->kq_state |= KQ_FLUXWAIT;
                        error = msleep(kq, &kq->kq_lock, PSOCK,
                            "kqflxwt", 0);
                        continue;
                }


count is not modified, so the code just loops after a signal is received.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201528-8-j43rPVgYAp>