-
Notifications
You must be signed in to change notification settings - Fork 627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segfaulting on master #663
Comments
Thank you for the report. If you have time and it "semi-reliably" segfaults it would be very helpful if you could do a |
It doesn't segfault with 2.2.2 (I'm on this version since these 3 days) |
I have switched to master again because of the new Can you add the code to generate a stack trace to the terminal please ? |
There was a crash after I installed it, however it doesn't show any useful info I think :
|
Ah, can you try to build using this command then: |
Else start Tig via the debugger:
When it segfaults run |
It seems to be some race condition of some sort, I was never able to reproduce it with gdb, also, it seems to happen 5% of the time, so not so easy to reproduce. It just did it again, with a stacktrace
|
Without the symbol info exposed with |
I couldn't find your email. core.tig.1000.f5e8e956caa34fb58397103889b2c24e.22447.1501753363000000.lz4.txt I have added the .txt extension to be able to upload it to github, but the extension is lz4 |
Any update ? It still segfaults quite often (10 times a day approximately) |
Sorry, I didn't have time to investigate this yet. |
It is possible that I found a patch :
|
That's great news. Thanks a lot for looking into this. The problematic change was introduced in 2932c9b back in July. |
BTW, care to make a PR? |
Yes, I will do the PR, I just wanted to test it for a while to see if it still segfaults or not |
Done #745 :-) |
Hello,
I was using tig-2.2.1 before, and it never segfaulted.
Now on almost master : a628e9d, I see segfaults sometimes when I start tig. It happens immediately on startup, I don't even have the time to see the main view.
I cannot reproduce the bug however, it seems to happen quite randomly.
Do you know how I could give more information ? I have tried with gdb, but it never segfaults then.
The text was updated successfully, but these errors were encountered: