# Re: Segfault in the attr stack

- From: Junio C Hamano \<hidden\>
- Date: 2016-06-16 02:19:42 
- List: git
- Page: https://ratatoskr.run/git/2016/06/7682292
- Thread: https://ratatoskr.run/git/2016/06/7682289/t.md

```text
Gaah, of course.

This is coming from the cache preload codepath, where multiple threads
try to run ce_path_match().
It used to be OK because pathspec magic never looked at attributes,
but now it does, and attribute system is not thread-safe.

On Wed, Jun 1, 2016 at 3:11 PM, Stefan Beller [ref] wrote:
> This can be reproduced on sb/pathspec-label in git.git as well.
>
> The key difference I notice is `git ls-files` works perfectly (e.g. in
> the tests)
> while `git status` fails.
```
