From nobody Sat Aug 14 11:37:35 2021 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 46AF6175A572 for ; Sat, 14 Aug 2021 11:37:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gmz1W1Fbbz3R7g for ; Sat, 14 Aug 2021 11:37:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 135082172A for ; Sat, 14 Aug 2021 11:37:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 17EBbZmI080596 for ; Sat, 14 Aug 2021 11:37:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 17EBbZpx080594 for bugs@FreeBSD.org; Sat, 14 Aug 2021 11:37:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 257829] lldb crashes with asio acceptor::accept Date: Sat, 14 Aug 2021 11:37:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257829 Dimitry Andric changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emaste@freebsd.org --- Comment #1 from Dimitry Andric --- Similar to in bug 253881, somehow this works perfectly fine for me:=20 (lldb) target create "./a.out" Current executable set to '/share/dim/src/llvm/bugs/bug257829/a.out' (x86_6= 4). (lldb) r Process 1220 launched: '/share/dim/src/llvm/bugs/bug257829/a.out' (x86_64) This version of LLDB has no plugin for the mipsassem language. Inspection of frame variables will be limited. Process 1220 stopped * thread #1, name =3D 'a.out', stop reason =3D signal SIGABRT frame #0: 0x0000000800519eea libc.so.7`__sys_thr_kill at thr_kill.S:4 (lldb) bt * thread #1, name =3D 'a.out', stop reason =3D signal SIGABRT * frame #0: 0x0000000800519eea libc.so.7`__sys_thr_kill at thr_kill.S:4 frame #1: 0x000000080048efc4 libc.so.7`__raise(s=3D6) at raise.c:52:10 frame #2: 0x00000008005438e9 libc.so.7`abort at abort.c:67:8 frame #3: 0x0000000800380ae9 libcxxrt.so.1`report_failure(err=3D, thrown_exception=3D0x0000000800a2d008) at exception.cc:719:5 frame #4: 0x000000000020ea74 a.out`void boost::throw_exception(e=3D0x00007fffffffe268)= at throw_exception.hpp:70:5 frame #5: 0x000000000020e960 a.out`boost::asio::detail::do_throw_error(err=3D0x00007fffffffe3d8, location=3D"bind") at throw_error.ipp:38:3 frame #6: 0x000000000020e8e0 a.out`boost::asio::detail::throw_error(err=3D0x00007fffffffe3d8, location= =3D"bind") at throw_error.hpp:42:5 frame #7: 0x000000000020d07d a.out`boost::asio::basic_socket_acceptor::basic_socket_acceptor(this= =3D0x00007fffffffe4a0, context=3D0x00007fffffffe4d0, endpoint=3D0x00007fffffffe480, reuse_addr=3Dt= rue, (null)=3D0x0000000000000000) at basic_socket_acceptor.hpp:285:5 frame #8: 0x000000000020c5e1 a.out`main at asio_accept.cpp:10:19 frame #9: 0x000000000020c310 a.out`_start(ap=3D, cleanup=3D) at crt1_c.c:73:7 (lldb) f 7 frame #7: 0x000000000020d07d a.out`boost::asio::basic_socket_acceptor::basic_socket_acceptor(this= =3D0x00007fffffffe4a0, context=3D0x00007fffffffe4d0, endpoint=3D0x00007fffffffe480, reuse_addr=3Dt= rue, (null)=3D0x0000000000000000) at basic_socket_acceptor.hpp:285:5 282 boost::asio::detail::throw_error(ec, "set_option"); 283 } 284 impl_.get_service().bind(impl_.get_implementation(), endpoint, = ec); -> 285 boost::asio::detail::throw_error(ec, "bind"); 286 impl_.get_service().listen(impl_.get_implementation(), 287 socket_base::max_listen_connections, ec); 288 boost::asio::detail::throw_error(ec, "listen"); I think there must be something different in our environment(s) that causes= the error for you, and not me. --=20 You are receiving this mail because: You are the assignee for the bug.=