You are not logged in.
Hi,
I have a problem with git version 2.12.2, when adding some files to the tree, i get segfault.
git checkout
Your branch is up-to-date with 'origin/HomeServer'.
git add templates/Partial/footer.twig
git checkout
Segmentation error (core dump created)
Here's the journalctl dump
mag 01 15:18:44 laptop kernel: git[548]: segfault at 81dc ip 00000000004b929f sp 00007ffddbcd51e0 error 4 in git[400000+1e3000]
mag 01 15:18:44 laptop systemd-coredump[550]: Process 548 (git) of user 1000 dumped core.
#0 0x00000000004b929f n/a (git)
#1 0x00000000004b0c38 n/a (git)
#2 0x000000000054eb5a n/a (git)
#3 0x000000000054f411 n/a (git)
#4 0x000000000054db39 n/a (git)
#5 0x000000000054f24b n/a (git)
#6 0x000000000054db39 n/a (git)
#7 0x000000000054f24b n/a (git)
#8 0x000000000054db39 n/a (git)
#9 0x00000000005500e7 n/a (git)
#10 0x00000000004b04d0 n/a (git)
#11 0x00000000004b1481 n/a (git)
#12 0x0000000000559790 n/a (git)
#13 0x000000000055be16 n/a (git)
#14 0x0000000000423741 n/a (git)
#15 0x0000000000406565 n/a (git)
#16 0x00000000004068a3 n/a (git)
#17 0x0000000000405a0d n/a (git)
#19 0x0000000000405a5a n/a (git)
I didn't understand what's the real problem here, someone could help me?
Thanks
Last edited by thepasto (2017-05-02 10:33:36)
Offline
Can you reproduce this with a new (local) repository?
Offline
Yes, the same on the new repository
thepasto@laptop ~/workspace/Test $ git clone https://thepasto@gitlab.com/thepasto/SemanticSlimFramework.git -b HomeServer Semantic
Cloning into 'Semantic'...
Password for 'https://thepasto@gitlab.com':
remote: Counting objects: 717, done.
remote: Compressing objects: 100% (567/567), done.
remote: Total 717 (delta 157), reused 652 (delta 115)
Ricezione degli oggetti: 100% (717/717), 1.89 MiB | 1.41 MiB/s, done.
Risoluzione dei delta: 100% (157/157), done.
thepasto@laptop ~/workspace/Test/Semantic $ touch templates/Partial/footer.twig
thepasto@laptop ~/workspace/Test/Semantic $ git checkout
Your branch is up-to-date with 'origin/HomeServer'.
thepasto@laptop ~/workspace/Test/Semantic $ git add templates/Partial/footer.twig
thepasto@laptop ~/workspace/Test/Semantic $ git checkout
Segmentation error (core dump created)
Offline
That is not a new repository, that's just a new checkout. He's talking about starting a fresh repo.
Online
Ok, sorry my mistake!
Anyway same issue on new repo!
thepasto@laptop ~/workspace/Test $ git clone https://thepasto@gitlab.com/thepasto/test.git
Cloning into 'test'...
Password for 'https://thepasto@gitlab.com':
warning: Sembra che tu abbia clonato un repository vuoto.
thepasto@laptop ~/workspace/Test $ cd test/
thepasto@laptop ~/workspace/Test/test $ touch README.md
thepasto@laptop ~/workspace/Test/test $ git add README.md
thepasto@laptop ~/workspace/Test/test $ git commit -m "add README"
Errore di segmentazione (core dump creato)
EDIT:
Going back to 2.12.2-3 version fixed the issue
Last edited by thepasto (2017-05-01 16:25:03)
Offline
post #5 is another clone
concrete example using a new repo
$ git init test
Initialized empty Git repository in /tmp/test/.git/
$ cd test
$ touch foo
$ git add foo
$ git commit -m "added foo"
[master (root-commit) 3214b5a] added foo
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 foo
Offline
Ok, i see, anyway i downgraded the package to previous version then upgraded again, and now it seems to work as well!
Thanks guys
Offline
If you are satisfied a solution has been found, please mark your thread as solved by editing the first post and prepending the tag [SOLVED] to the title in the "Subject" field.
If do not think the issue has been resolved but no longer wish to pursue it please use the report function to contact a moderator to request the thread be closed.
Offline