Hooks/pre-receive: line 117 core dumped

When doing git push we get:

Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 28 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 458 bytes | 458.00 KiB/s, done.
Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
remote: Checking ACLs
remote: fast-pre-receive: malloc.c:2396: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)’ failed.
remote: hooks/pre-receive: line 117: 1244095 Done echo “$HOOK_INPUT”
remote: 1244096 Aborted (core dumped) | “$C_HOOK”
To https://ourserver/git/ourrepo/reponame.git
! [remote rejected] master → master (pre-receive hook declined)
error: failed to push some refs to ‘https://ourserver/git/ourrepo/reponame.git

Hi Jose,

thank you for reporting this issue, we will investigate it.
A possible workaround to get the mirror working is to use Java hooks instead of default hooks written in C. To get the Java hooks working navigate into the repository hooks directory (custom_hooks in GitLab environment) and remove or rename the fast-pre-receive and fast-post-receive hooks there. This will make SubGit using the Java hooks that are not affected and thus mirror will be back working.
I will let you know as we found something about the fast hooks problem.