bin/155439: Spurious error message kvm_nlist: No such file or directory

Andreas Longwitz longwitz at incore.de
Thu Mar 10 15:40:12 UTC 2011


>Number:         155439
>Category:       bin
>Synopsis:       Spurious error message kvm_nlist: No such file or directory
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 10 15:40:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Longwitz
>Release:        8.1-RELEASE-p1
>Organization:
Data Service Stockelsdorf
>Environment:
FreeBSD pclong.incore 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #3: Mon Feb 14 14:47:50 CET 2011     root at pclong.incore:/usr/src/sys/i386/compile/PCLONG  i386
>Description:
The error message kvm_nlist: No such file or directory from libkvm is sometimes spurious.
>How-To-Repeat:
=== root at pclong (ttyv2) -> dconschat
dconschat: kvm_nlist: No such file or directory
[dcons connected]
>Fix:
--- src/lib/libkvm/kvm.c.orig   2010-06-14 04:09:06.000000000 +0200
+++ src/lib/libkvm/kvm.c        2011-01-31 18:16:03.000000000 +0100
@@ -487,7 +487,7 @@
         * also fill internal error buffer.
         */
        error = ((p - nl) - nvalid);
-       if (error)
+       if (error && initialize)
                _kvm_syserr(kd, kd->program, "kvm_nlist");
        return (error);
 }

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list