coredump over nfs causes client-process-lockup under current

mike mike at Reifenberger.com
Mon Jan 19 03:23:21 PST 2004


Hi,

while compiling open-motif under current I got stuck here during the configure:
...
checking for working vfork... yes
checking for vprintf... yes
checking whether sprintf returns void...

ps shows:
 1869  1868  0,1 root  ttyp0    ./conftest           0   0  96  0  1212  488 lockd  D+    p0    0:00,07

The process is not interuptable.

ls -l shows:
-rwxr-xr-x  1 root  wheel    4555 19 Jan 03:00 conftest
-rw-r--r--  1 root  wheel     110 19 Jan 03:00 conftest.c
-rw-------  1 root  wheel       0 19 Jan 12:02 conftest.core

Running ./conftest directly on the server gives:
Bus error (core dumped)

So it seems that a core-file should have been written.

conftest.c is:
#line 8129 "configure"
#include "confdefs.h"
#include <stdio.h>
int sprintf(); main() { exit(sprintf(".")); }


After setting kern.coredump=0 I get during configure:
...
checking for working vfork... yes
checking for vprintf... yes
checking whether sprintf returns void... Segmentation fault
yes
checking for wcslen... yes
checking for wcscpy... yes

and the compilation succeeds...

rpc.[stat|lock]d is running on both server and clients.

/etc/fstab shows:
...
totum:/mnt/Ablage/ports /usr/ports      nfs     rw,noauto,noatime,bg,soft,intr,nfsv3,tcp,-r=8192,-w=8192 0 0
...

Bye/2
---
Michael Reifenberger, Business Unit Manager SAP-Basis, Plaut Consulting
Comp: Michael.Reifenberger at plaut.de | Priv: Michael at Reifenberger.com
      http://www.plaut.de           |       http://www.Reifenberger.com



More information about the freebsd-current mailing list