diff options
| author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2018-10-16 14:02:50 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-10-19 14:28:44 +0900 |
| commit | 9308f45a9f1e3e107ba53a91d0f0c59342cb32bd (patch) | |
| tree | 2d9aceb957f074f4b09cce85b5651b3fb69263c4 /pack-objects.c | |
| parent | pack-objects: fix typo 'detla' -> 'delta' (diff) | |
| download | git-9308f45a9f1e3e107ba53a91d0f0c59342cb32bd.tar.gz git-9308f45a9f1e3e107ba53a91d0f0c59342cb32bd.zip | |
pack-objects (mingw): demonstrate a segmentation fault with large deltas
There is a problem in the way 9ac3f0e5b3e4 (pack-objects: fix
performance issues on packing large deltas, 2018-07-22) initializes that
mutex in the `packing_data` struct. The problem manifests in a
segmentation fault on Windows, when a mutex (AKA critical section) is
accessed without being initialized. (With pthreads, you apparently do
not really have to initialize them?)
This was reported in https://github.com/git-for-windows/git/issues/1839.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-objects.c')
0 files changed, 0 insertions, 0 deletions
