Re: Process stuck in vmmaps on 8.0-BETA1

From: John Marshall <john.marshall_at_riverwillow.com.au>
Date: Sat, 11 Jul 2009 19:10:50 +1000
On Fri, 10 Jul 2009, 16:24 +0300, Kostik Belousov wrote:
>
> Thank you, I see what is going on. Please, try the following patch.

Thank you Kostik,

I applied your patch to vm_map.c and rebuilt the kernel.  Now the
process crashes instead - but I think it is getting beyond the point
where it was hanging.

(gdb) core ntpd.core
Core was generated by `ntpd'.
Program terminated with signal 11, Segmentation fault.
Loaded symbols for /lib/libm.so.5
Loaded symbols for /lib/libcrypto.so.5
Loaded symbols for /lib/libkvm.so.4
Loaded symbols for /usr/lib/libelf.so.1
Loaded symbols for /usr/lib/librt.so.1
Loaded symbols for /lib/libmd.so.4
Loaded symbols for /lib/libc.so.7
Loaded symbols for /libexec/ld-elf.so.1
#0  0x28091f3f in _rtld_thread_init () from /libexec/ld-elf.so.1
(gdb) bt
#0  0x28091f3f in _rtld_thread_init () from /libexec/ld-elf.so.1
#1  0x2808360b in dlsym () from /libexec/ld-elf.so.1
#2  0x28083fd6 in dlopen () from /libexec/ld-elf.so.1
#3  0x2831b3a8 in _nsdbtaddsrc () from /lib/libc.so.7
#4  0x28315546 in __ns_samedomain () from /lib/libc.so.7
#5  0x283159f8 in _nsyyparse () from /lib/libc.so.7
#6  0x2831ac8a in nsdispatch () from /lib/libc.so.7
#7  0x2830d2c9 in getservbyname_r () from /lib/libc.so.7
#8  0x2830d31b in getservbyname_r () from /lib/libc.so.7
#9  0x2830cc84 in gethostname () from /lib/libc.so.7
#10 0x2830cd87 in getservbyname () from /lib/libc.so.7
#11 0x28309cf3 in freeaddrinfo () from /lib/libc.so.7
#12 0x28309d38 in freeaddrinfo () from /lib/libc.so.7
#13 0x2830b7c6 in getaddrinfo () from /lib/libc.so.7
#14 0x0804bf53 in getnetnum ()
#15 0x0804c5dc in getconfig ()
#16 0x08052565 in ntpdmain ()
#17 0x08052750 in main ()
(gdb) 

I rebuilt ntpd on the patched kernel and it still produces this crash.

-- 
John Marshall

Received on Sat Jul 11 2009 - 07:10:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:51 UTC