Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 1998 16:16:40 -0400 (EDT)
From:      Luoqi Chen <luoqi@watermarkgroup.com>
To:        archer@lucky.net, luoqi@watermarkgroup.com
Cc:        current@FreeBSD.ORG
Subject:   Re: deadlock in vm_fault()
Message-ID:  <199809242016.QAA27364@lor.watermarkgroup.com>

next in thread | raw e-mail | index | archive | help
> Unfortunately, your patch does not solve my problem. May be, it is of
> different source.
> 
> Just now I have it (ld) hanging in the same place:
> 
>   UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT  TT       TIME COMMAND
>     0  1506  1505   0  28  0   496  384 -      R+    vb    4:14.76 /usr/obj/elf/usr/src/tmp/usr/libexec/elf/ld -m elf_i386 -Bstatic -o cat /usr/obj/elf/usr/src/tmp/usr/lib/crt1.o /usr/obj/elf/usr/src/tmp/usr/lib/crti.o /usr/obj/elf/usr/src/tmp/usr/lib/crtbegin.o -L/usr/obj/elf/usr/src/tmp/usr/lib -L/usr/obj/elf/usr/src/tmp/usr/lib -L/usr/libdata/gcc cat.o /usr/obj/elf/usr/src/tmp/usr/lib/libgcc.a -lc /usr/obj/elf/usr/src/tmp/usr/lib/libgcc.a /usr/obj/elf/usr/src/tmp/usr/lib/crtend.o /usr/obj/elf/usr/src/tmp/usr/lib/crtn.o
> 
> The strange thing is that I cannot generate a coredump of it with gcore:
> 
> root:/usr/obj/elf/usr/src/tmp/usr/libexec/elf:grape:> gcore ld 1506
> gcore: The executable ld does not belong to process 1506!
> Text segment size (in bytes): executable 65793, process 335872
> 
This doesn't look like a kernel related problem, most likely it is a bug
in ld that caused it to loop forever. To generate a coredump you probably
need to specify the full path of ld in the temporary tool directory. If
I remember correctly, gcore has not been converted to dump ELF format cores.
Try using kill -QUIT instead, or use gdb to attach the process directly.

-lq

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809242016.QAA27364>