On Tue, Nov 22, 2016 at 8:27 PM, Aaron Watry <awa...@gmail.com> wrote:

>
>
> On Tue, Nov 22, 2016 at 2:48 PM, Matt Turner <matts...@gmail.com> wrote:
>
>> On 11/22, Aaron Watry wrote:
>>
>>> disk_cache_get returns void*, but we were storing/comparing a char*.
>>>
>>> Signed-off-by: Aaron Watry <awa...@gmail.com>
>>> ---
>>> Note that this did, and still, segfaults for me when I actually run it...
>>>
>>
>> Strange. It passes for me.
>>
>
A post-mortem in case someone else runs into it.  This ended up being a
local environment issue.

In stepping through the disk_cache.c code, I found that getpwuid_r is
failing to find my passwd entry. My current login account is coming from an
active directory server (and therefore doesn't actually have an entry in
/etc/passwd).

It worked fine on 64-bit, but failed on 32-bit.  A little searching led me
to discover that libnss-sss:i386 was missing. I installed that, and this
test is passing now.

Sorry for the noise, and the review on the other two patches.

--Aaron


>
>
>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to