* On 2018-08-14 at 16:45 BST, Jason Lawrence wrote:

> After going missing from pkgsrc, the aria2c package was re-added in
> 2017Q3 (https://github.com/joyent/pkgsrc/issues/21). However, since
> then it segfaults immediately during normal operation, up through
> the most recent pkgsrc release (2018Q2). The last working package I
> can confirm is from 2016Q4.
>
> The core backtraces are consistent in the application call, but not frame 0:
> (gdb) bt
> #0  0x00000000006078a5 in std::string::_Rep::_M_dispose(std::allocator<char> 
> const&) [clone .part.7] ()
> #1  0x000000000060c089 in aria2::SocketCore::establishConnection(std::string 
> const&, unsigned short, bool) ()
> 
> (gdb) bt
> #0  0xfffffc7fef1c5a40 in _Unwind_Resume () from /lib/64/libc.so.1
> #1  0x000000000060c06c in aria2::SocketCore::establishConnection(std::string 
> const&, unsigned short, bool) ()
> 
> (gdb) bt
> #0  0xfffffd7fef1d4550 in interpret_op () from /lib/64/libc.so.1
> #1  0x000000000060c06c in aria2::SocketCore::establishConnection(std::string 
> const&, unsigned short, bool) ()

Unfortunately C++ exceptions are making backtraces mostly useless
here, but in any case I found the problem (its getaddrinfo detection
is broken), and will issue rebuilt packages within the next day.

Note that the exceptions will also rather unhelpfully abort the
process with no information if you attempt to use HTTPS without the
appropriate CA bundle installed (as I found out during testing).

Cheers,

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125
Powered by Listbox: https://www.listbox.com

Reply via email to