[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-dev] Abort in test_bridges.c
- To: tor-dev@xxxxxxxxxxxxxxxxxxxx, Gisle Vanem <gisle.vanem@xxxxxxxxx>
- Subject: Re: [tor-dev] Abort in test_bridges.c
- From: Taylor Yu <catalyst@xxxxxxxxxxxxxx>
- Date: Thu, 24 May 2018 14:18:11 -0500
- Autocrypt: addr=catalyst@xxxxxxxxxxxxxx; prefer-encrypt=mutual; keydata= xsDNBFTrtMYBDADZLb3TIJRUqLakS90xTgFFqQ3FeZ2payy95tMxSqjiDlE9a/ijAltjEFHp xw6UMIBtl13Vr/d+YzGTloyeOwn+tV0NiVrGwRDv8tqHCuSH5p3vSO+DZ42VNe3gcLk7gd2C chsp/5d3vRMBBz3yvv/9qbpQOLXHCmx5o06D9YN6+CefxByl6u6Nc980LMmexqHoiTr3QxKy sSJoKpXjOl0NA8zNI1OcKdLbyl095EWlx0Bwc5g74qPlAPFWxsDOO3Kg+MXDWl4ApWmD0sC+ h42JwVTATmZKQ5O7bpdn4F5KHAr/M4rhusuoDiOunqXns5igFNJdXPbJSWdoSGaNXv0X2unf e8H1tr/yWKkd/lNmTysW3onZCpS6igdYm5A3iD/Qd8ypEWrtd+KIoGGjUuNlmbXhYJIsOQMv mkXnTycRugioe/U+snTNInPKQ45Jue2Xto+U8FXpaxF4GKHBk9CYwBlp6+oCR9u7Is8+aWMS PFS0cwErzjyIriWD53U91jUAEQEAAc0dVGF5bG9yIFl1IDxpc29neXJlQGdtYWlsLmNvbT7C wQEEEwECACsCGwMFCQlvjIoGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheABQJY2X35AhkBAAoJ EKMvF/0AVcMFHXkL/A0tVtbtsljKwD7M0OYGk5/H2IEKrIHEDJzaiegLTRNJST8xVSP6TCol dL1xVbGXxUxNNve+cGy1dVtTcQ+HbkSFk9bmWMTAQA1arS4K1Z3h7ef5gHind63ret9pJNOE Ok8w1YJpDUV8CEofYXj+8kSfB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CJuYPk2Om8lOvZe7lUptEo+N9wB90Jl062ck81sVx8ZUG1RKX029cNXN1 waZ9bHtbVl90173q6JYmjEgFsydSm8glzUa4bP0mySQ/rrLWX3Wf18b3oaFjW/l5WnfL6SUS GXRVYVoR+fik+IOIdEOb0FLZoCgoxtIl9oV/Z3ADbt1MrXU15UAow3Ppu9xlisjOpNR4glb1 VlYCvpEIQqYL0VDR3biO0w9BfcHKYfnNYaqEh1+jKU6z1f52bxfKDN0R9g9uJIhRUIOq2c0d K9iYU4bQB6fpKiaRktoPYHkdy0pb+6vb+usXphN6L543ZZ10/6YMfvOe5NWLIAMvFxl18Fgv NHrqFfgAPwmnmg4IxD+PWQ+nc3UqBfHq2cDs/rk8LRER
- Delivered-to: archiver@xxxxxxxx
- Delivery-date: Thu, 24 May 2018 15:18:28 -0400
- In-reply-to: <d1aa47c6-da08-69b2-f82e-c181129cc577@gmail.com>
- List-archive: <http://lists.torproject.org/pipermail/tor-dev/>
- List-help: <mailto:tor-dev-request@lists.torproject.org?subject=help>
- List-id: discussion regarding Tor development <tor-dev.lists.torproject.org>
- List-post: <mailto:tor-dev@lists.torproject.org>
- List-subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev>, <mailto:tor-dev-request@lists.torproject.org?subject=subscribe>
- List-unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-dev>, <mailto:tor-dev-request@lists.torproject.org?subject=unsubscribe>
- Openpgp: preference=signencrypt
- References: <d1aa47c6-da08-69b2-f82e-c181129cc577@gmail.com>
- Reply-to: tor-dev@xxxxxxxxxxxxxxxxxxxx
- Sender: "tor-dev" <tor-dev-bounces@xxxxxxxxxxxxxxxxxxxx>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
On 05/23/2018 12:30 PM, Gisle Vanem wrote:
> Running 'test.exe bridges/clear_bridge_list' causes this assertion:
>
> bridges/clear_bridge_list: May 23 17:12:53.714 [err]
> tor_assertion_failed_():
> Bug: container.h:70: smartlist_get: Assertion sl->num_used > idx failed;
>
> AFAICS, since 'sweep_bridge_list()' caused all entries in
> 'bridgelist' to get deleted, an index of zero is illegal.
> Don't ask me why.
>
> And since 'smartlist_get(bridgelist,0)' should be compiled with
> '-DDEBUG_SMARTLIST' in all tests/*.c sources. No?
>
> I'm on Win-10, tor.exe + libs was built with MSVC 2017.
>
Hi, thanks for reporting this! Could you please tell us more about how
you are building Tor? Also what release are you building? We typically
build Tor on Windows using MinGW, not MSVC, so we might not notice for a
while if something is broken on MSVC.
Also I'm not finding any obvious place we define DEBUG_SMARTLIST on
master. What are you seeing that defines it?
Would you be willing to open a bug report about this on trac.torproject.org?
Thanks,
-Taylor
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev