[Bug 257829] lldb crashes with asio acceptor::accept
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 257829] lldb crashes with asio acceptor::accept"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 14 Aug 2021 11:37:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257829
Dimitry Andric <dim@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |emaste@freebsd.org
--- Comment #1 from Dimitry Andric <dim@FreeBSD.org> ---
Similar to in bug 253881, somehow this works perfectly fine for me:
(lldb) target create "./a.out"
Current executable set to '/share/dim/src/llvm/bugs/bug257829/a.out' (x86_64).
(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 = 'a.out', stop reason = signal SIGABRT
frame #0: 0x0000000800519eea libc.so.7`__sys_thr_kill at thr_kill.S:4
(lldb) bt
* thread #1, name = 'a.out', stop reason = signal SIGABRT
* frame #0: 0x0000000800519eea libc.so.7`__sys_thr_kill at thr_kill.S:4
frame #1: 0x000000080048efc4 libc.so.7`__raise(s=6) 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=<unavailable>,
thrown_exception=0x0000000800a2d008) at exception.cc:719:5
frame #4: 0x000000000020ea74 a.out`void
boost::throw_exception<boost::system::system_error>(e=0x00007fffffffe268) at
throw_exception.hpp:70:5
frame #5: 0x000000000020e960
a.out`boost::asio::detail::do_throw_error(err=0x00007fffffffe3d8,
location="bind") at throw_error.ipp:38:3
frame #6: 0x000000000020e8e0
a.out`boost::asio::detail::throw_error(err=0x00007fffffffe3d8, location="bind")
at throw_error.hpp:42:5
frame #7: 0x000000000020d07d
a.out`boost::asio::basic_socket_acceptor<boost::asio::ip::tcp,
boost::asio::executor>::basic_socket_acceptor<boost::asio::io_context>(this=0x00007fffffffe4a0,
context=0x00007fffffffe4d0, endpoint=0x00007fffffffe480, reuse_addr=true,
(null)=0x0000000000000000) 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=<unavailable>,
cleanup=<unavailable>) at crt1_c.c:73:7
(lldb) f 7
frame #7: 0x000000000020d07d
a.out`boost::asio::basic_socket_acceptor<boost::asio::ip::tcp,
boost::asio::executor>::basic_socket_acceptor<boost::asio::io_context>(this=0x00007fffffffe4a0,
context=0x00007fffffffe4d0, endpoint=0x00007fffffffe480, reuse_addr=true,
(null)=0x0000000000000000) 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.
--
You are receiving this mail because:
You are the assignee for the bug.