Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jun 2017 13:42:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 186114] net/mpd5 hangs after a certain number of users connect
Message-ID:  <bug-186114-2472-4pH0xM25ag@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-186114-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-186114-2472@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114

--- Comment #49 from Cassiano Peixoto <peixoto.cassiano@gmail.com> ---
(In reply to Konstantin Belousov from comment #47)
I'm using FreeBSD 11.0-p1. But it happens on any FreeBSD version above 9x.

Here is the backtrace for all threads:

(gdb) thread apply all bt

Thread 6 (Thread 803216a00 (LWP 100375/<unknown>)):
#0  0x000000080248567c in _umtx_op_err () from /lib/libthr.so.3
#1  0x0000000802479c81 in __thr_rwlock_wrlock (rwlock=3D0x802694500, tsp=3D=
<value
optimized out>) at /usr/src/lib/libthr/thread/thr_umtx.c:325
#2  0x00000008024829f3 in _thr_rtld_wlock_acquire (lock=3D<value optimized =
out>)
at thr_umtx.h:239
#3  0x0000000800703c72 in wlock_acquire (lock=3D0x800918960,
lockstate=3D0x7fffdfffda58) at /usr/src/libexec/rtld-elf/rtld_lock.c:217
#4  0x00000008006fff4f in _rtld_allocate_tls (oldtls=3D0x0, tcbsize=3D32,
tcbalign=3D16) at /usr/src/libexec/rtld-elf/rtld.c:4802
#5  0x0000000802481b69 in _tcb_ctor (thread=3D0x807c7ba00, initial=3D<value
optimized out>) at /usr/src/lib/libthr/thread/thr_ctrdtr.c:45
#6  0x0000000802481110 in _thr_alloc (curthread=3D<value optimized out>) at
/usr/src/lib/libthr/thread/thr_list.c:170
#7  0x00000008024772a6 in _pthread_create (thread=3D0x80342fd78, attr=3D0x0,
start_routine=3D0x4b17c0 <paction_main>, arg=3D<value optimized out>) at
/usr/src/lib/libthr/thread/thr_create.c:78
#8  0x00000000004b1744 in paction_start (actionp=3D0x80cf7f3b8, mutex=3D0x7=
bee08,
handler=3D0x442f40 <AuthAccount>, finish=3D0x4430c0 <AuthAccountFinish>,
arg=3D0x807c20010) at contrib/libpdel/util/paction.c:115
#9  0x0000000000442eaa in AuthAccountStart (l=3D0x80cf7f010, type=3D3) at
auth.c:927
#10 0x0000000000442f31 in AuthAccountTimeout (arg=3D0x80cf7f010) at auth.c:=
949
#11 0x00000000004a0344 in TimerExpires (type=3D3, cookie=3D0x80cf7f120) at
timer.c:99
#12 0x0000000000462ed7 in EventHandler (arg=3D0x80cf7f120) at event.c:146
#13 0x00000000004b154e in pevent_ctx_execute (arg=3D0x807db6f08) at
contrib/libpdel/util/pevent.c:885
#14 0x00000000004b112f in pevent_ctx_service (ev=3D0x807db6f08) at
contrib/libpdel/util/pevent.c:774
#15 0x00000000004b0baf in pevent_ctx_main (arg=3D0x80322c008) at
contrib/libpdel/util/pevent.c:720
#16 0x0000000802477b55 in thread_start (curthread=3D<value optimized out>) =
at
/usr/src/lib/libthr/thread/thr_create.c:289
#17 0x0000000000000000 in ?? ()

Thread 5 (Thread 80342a000 (LWP 100378/<unknown>)):
#0  0x000000080248567a in _umtx_op_err () from /lib/libthr.so.3
#1  0x00000008024796e4 in __thr_umutex_lock (mtx=3D<value optimized out>,
id=3D<value optimized out>) at /usr/src/lib/libthr/thread/thr_umtx.c:80
#2  0x0000000802481106 in _thr_alloc (curthread=3D<value optimized out>) at
thr_umtx.h:123
#3  0x00000008024772a6 in _pthread_create (thread=3D0x8076dd438, attr=3D0x0,
start_routine=3D0x4c4ec0 <http_server_connection_main>, arg=3D<value optimi=
zed
out>) at /usr/src/lib/libthr/thread/thr_create.c:78
#4  0x00000000004c400a in http_server_accept (arg=3D0x803420088) at
contrib/libpdel/http/http_server.c:653
#5  0x00000000004b154e in pevent_ctx_execute (arg=3D0x803420108) at
contrib/libpdel/util/pevent.c:885
#6  0x00000000004b112f in pevent_ctx_service (ev=3D0x803420108) at
contrib/libpdel/util/pevent.c:774
#7  0x00000000004b0baf in pevent_ctx_main (arg=3D0x80340e0a8) at
contrib/libpdel/util/pevent.c:720
#8  0x0000000802477b55 in thread_start (curthread=3D<value optimized out>) =
at
/usr/src/lib/libthr/thread/thr_create.c:289
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 807ccdf00 (LWP 101673/<unknown>)):
#0  0x000000080277d43a in _nanosleep () from /lib/libc.so.7
#1  0x000000080247a4cc in __thr_nanosleep (time_to_sleep=3D0x7fffcbd5ceb0,
time_remaining=3D0x0) at /usr/src/lib/libthr/thread/thr_syscalls.c:257
#2  0x00000008027d5036 in __usleep (useconds=3D<value optimized out>) at
/usr/src/lib/libc/gen/usleep.c:52
#3  0x00000000004b1aaf in paction_cleanup (arg=3D0x80342f288) at
contrib/libpdel/util/paction.c:243
#4  0x0000000802485550 in __pthread_cleanup_pop_imp (execute=3D<value optim=
ized
out>) at /usr/src/lib/libthr/thread/thr_clean.c:73
#5  0x00000000004b189f in paction_main (arg=3D0x80342f288) at
contrib/libpdel/util/paction.c:197
#6  0x0000000802477b55 in thread_start (curthread=3D<value optimized out>) =
at
/usr/src/lib/libthr/thread/thr_create.c:289
#7  0x00007fffcbb5d000 in ?? ()
Cannot access memory at address 0x7fffcbd5d000

Thread 3 (Thread 804fd4900 (LWP 101715/<unknown>)):
#0  0x000000080277d43a in _nanosleep () from /lib/libc.so.7
#1  0x000000080247a4cc in __thr_nanosleep (time_to_sleep=3D0x7fffcad54eb0,
time_remaining=3D0x0) at /usr/src/lib/libthr/thread/thr_syscalls.c:257
#2  0x00000008027d5036 in __usleep (useconds=3D<value optimized out>) at
/usr/src/lib/libc/gen/usleep.c:52
---Type <return> to continue, or q <return> to quit---
#3  0x00000000004b1aaf in paction_cleanup (arg=3D0x80342fb48) at
contrib/libpdel/util/paction.c:243
#4  0x0000000802485550 in __pthread_cleanup_pop_imp (execute=3D<value optim=
ized
out>) at /usr/src/lib/libthr/thread/thr_clean.c:73
#5  0x00000000004b189f in paction_main (arg=3D0x80342fb48) at
contrib/libpdel/util/paction.c:197
#6  0x0000000802477b55 in thread_start (curthread=3D<value optimized out>) =
at
/usr/src/lib/libthr/thread/thr_create.c:289
#7  0x00007fffcab55000 in ?? ()
Cannot access memory at address 0x7fffcad55000

Thread 2 (Thread 807d70500 (LWP 101723/<unknown>)):
#0  0x000000080277d43a in _nanosleep () from /lib/libc.so.7
#1  0x000000080247a4cc in __thr_nanosleep (time_to_sleep=3D0x7fffbc0deeb0,
time_remaining=3D0x0) at /usr/src/lib/libthr/thread/thr_syscalls.c:257
#2  0x00000008027d5036 in __usleep (useconds=3D<value optimized out>) at
/usr/src/lib/libc/gen/usleep.c:52
#3  0x00000000004b1aaf in paction_cleanup (arg=3D0x80342fcd8) at
contrib/libpdel/util/paction.c:243
#4  0x0000000802485550 in __pthread_cleanup_pop_imp (execute=3D<value optim=
ized
out>) at /usr/src/lib/libthr/thread/thr_clean.c:73
#5  0x00000000004b189f in paction_main (arg=3D0x80342fcd8) at
contrib/libpdel/util/paction.c:197
#6  0x0000000802477b55 in thread_start (curthread=3D<value optimized out>) =
at
/usr/src/lib/libthr/thread/thr_create.c:289
#7  0x00007fffbbedf000 in ?? ()
Cannot access memory at address 0x7fffbc0df000

Thread 1 (Thread 807cd4800 (LWP 101061/<unknown>)):
#0  0x000000080277d43a in _nanosleep () from /lib/libc.so.7
#1  0x000000080247a4cc in __thr_nanosleep (time_to_sleep=3D0x7fffa9c4ceb0,
time_remaining=3D0x0) at /usr/src/lib/libthr/thread/thr_syscalls.c:257
#2  0x00000008027d5036 in __usleep (useconds=3D<value optimized out>) at
/usr/src/lib/libc/gen/usleep.c:52
#3  0x00000000004b1aaf in paction_cleanup (arg=3D0x80342fd28) at
contrib/libpdel/util/paction.c:243
#4  0x0000000802485550 in __pthread_cleanup_pop_imp (execute=3D<value optim=
ized
out>) at /usr/src/lib/libthr/thread/thr_clean.c:73
#5  0x00000000004b189f in paction_main (arg=3D0x80342fd28) at
contrib/libpdel/util/paction.c:197
#6  0x0000000802477b55 in thread_start (curthread=3D<value optimized out>) =
at
/usr/src/lib/libthr/thread/thr_create.c:289
#7  0x00007fffa9a4d000 in ?? ()
Cannot access memory at address 0x7fffa9c4d000
#0  0x000000080248567c in _umtx_op_err () from /lib/libthr.so.3

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-186114-2472-4pH0xM25ag>