From owner-freebsd-net@freebsd.org Fri Jun 16 17:40:13 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 99A9CC792AF for ; Fri, 16 Jun 2017 17:40:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 87156649E7 for ; Fri, 16 Jun 2017 17:40:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5GHeCGW053583 for ; Fri, 16 Jun 2017 17:40:13 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 17:40:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 17:40:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #65 from Cassiano Peixoto --- (In reply to Konstantin Belousov from comment #64) Konstantin, Libc patch compiled fine after using 'make WITHOUT_TESTS=3Dyes'. But libthr= patch doesn't, see: cc -O2 -pipe -DPTHREAD_KERNEL -I/usr/src/lib/libthr/../libc/include -I/usr/src/lib/libthr/thread -I/usr/src/lib/libthr/../../include -I/usr/src/lib/libthr/arch/amd64/include -I/usr/src/lib/libthr/sys -I/usr/src/lib/libthr/../../libexec/rtld-elf -I/usr/src/lib/libthr/../../libexec/rtld-elf/amd64 -I/usr/src/lib/libthr/../libthread_db -Winline -fexceptions -D_PTHREAD_FORCED_UNWIND -D_PTHREADS_INVARIANTS -mno-mmx -mno-sse -mno-avx = -MD=20 -MF.depend.thr_init.o -MTthr_init.o -std=3Dgnu99 -Wsystem-headers -Werror -= Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef=20 -Qunused-arguments -c /usr/src/lib/libthr/thread/thr_init.c -o thr_init.o /usr/src/lib/libthr/thread/thr_init.c:71:35: error: excess elements in scal= ar initializer [-Werror] struct urwlock _thr_atfork_lock =3D DEFAULT_URWLOCK; ^~~~~~~~~~~~~~~ /usr/src/lib/libthr/thread/thr_umtx.h:40:39: note: expanded from macro 'DEFAULT_URWLOCK' #define DEFAULT_URWLOCK {0,0,0,0,0,{0,0,0}} ^ /usr/src/lib/libthr/thread/thr_init.c:71:35: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] struct urwlock _thr_atfork_lock =3D DEFAULT_URWLOCK; ^~~~~~~~~~~~~~~ /usr/src/lib/libthr/thread/thr_umtx.h:40:34: note: expanded from macro 'DEFAULT_URWLOCK' #define DEFAULT_URWLOCK {0,0,0,0,0,{0,0,0}} ^~~~~~~~~ /usr/src/lib/libthr/thread/thr_init.c:127:33: error: excess elements in sca= lar initializer [-Werror] struct urwlock _thr_list_lock =3D DEFAULT_URWLOCK; ^~~~~~~~~~~~~~~ /usr/src/lib/libthr/thread/thr_umtx.h:40:39: note: expanded from macro 'DEFAULT_URWLOCK' #define DEFAULT_URWLOCK {0,0,0,0,0,{0,0,0}} ^ /usr/src/lib/libthr/thread/thr_init.c:127:33: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] struct urwlock _thr_list_lock =3D DEFAULT_URWLOCK; ^~~~~~~~~~~~~~~ /usr/src/lib/libthr/thread/thr_umtx.h:40:34: note: expanded from macro 'DEFAULT_URWLOCK' #define DEFAULT_URWLOCK {0,0,0,0,0,{0,0,0}} ^~~~~~~~~ 4 errors generated. *** Error code 1 Stop. make: stopped in /usr/src/lib/libthr --=20 You are receiving this mail because: You are on the CC list for the bug.=