NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/52926: rump server locks up in ld.elf_so



>Number:         52926
>Category:       lib
>Synopsis:       rump server locks up in ld.elf_so
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 15 17:15:00 +0000 2018
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.12
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD sunset-glow.duskware.de 8.99.12 NetBSD 8.99.12 (GENERIC.MP) #1: Mon Jan 15 10:55:45 CET 2018 martin%night-owl.duskware.de@localhost:/usr/src/sys/arch/sparc/compile/GENERIC.MP sparc
Architecture: sparc
Machine: sparc
>Description:

On an SMP sparc system the tests/lib/libc/net/t_hostent test reproducably
locks up in ld.elf_so. The rump server process used to run a nameserver
is idle with a lockup like:

(gdb) thread 11
[Switching to thread 11 (LWP 1 of process 18657)]
#0  0xededc8e0 in ___lwp_park60 () from /usr/libexec/ld.elf_so
(gdb) bt
#0  0xededc8e0 in ___lwp_park60 () from /usr/libexec/ld.elf_so
#1  0xeded32f8 in _rtld_exclusive_enter (mask=mask@entry=0xefffef00) at /usr/src/libexec/ld.elf_so/rtld.c:1714
#2  0xededb7f8 in _rtld_tls_allocate () at /usr/src/libexec/ld.elf_so/tls.c:160
#3  0xedc0abec in pthread_create (thread=thread@entry=0xefffefe0, attr=attr@entry=0xefffefe4, 
    startfunc=startfunc@entry=0xedda9aac <threadbouncer>, arg=arg@entry=0xed315288) at /usr/src/lib/libpthread/pthread.c:524
#4  0xedc87998 in rumpuser_thread_create (f=0xedda9aac <threadbouncer>, arg=arg@entry=0xed315288, thrname=thrname@entry=0xeffff070 "pdaemon", 
    joinable=0, priority=priority@entry=126, cpuidx=<optimized out>, ptcookie=ptcookie@entry=0xed3397a4)
    at /usr/src/lib/librumpuser/rumpuser_pth.c:77
#5  0xedda9e80 in kthread_create (pri=126, flags=<optimized out>, ci=0x0, func=<optimized out>, arg=<optimized out>, 
    newlp=0xede013bc <rumpns_uvm+12>, fmt=0xeddc3b90 "pdaemon") at /usr/src/lib/librump/../../sys/rump/librump/rumpkern/threads.c:211
#6  0xeddaf3d4 in rump_init () at /usr/src/lib/librump/../../sys/rump/librump/rumpkern/rump.c:415
#7  0x0001177c in main (argc=<optimized out>, argv=0xeffff798) at /usr/src/usr.bin/rump_server/../rump_allserver/rump_allserver.c:401

and no progress is ever made. The rump process will never exit.

>How-To-Repeat:

cd /usr/tests/lib/libc/net
atf-run t_hostent

>Fix:
n/a



Home | Main Index | Thread Index | Old Index