-
Notifications
You must be signed in to change notification settings - Fork 4
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
segmentation fault while running fatty #2
Comments
could it be the windows version? or the cygwin version that I'm using? |
Iit could be the issue pop-ups because of one of the things you mention but the root cause is surely something wrong in fatty code... that's the reason to try DEBUG and gdb. |
me too: build 19041 |
Which flavor ( |
mosky@MOSKY-PC ~ |
I will downgrade the gcc and see what's happenning :) |
yes, I've updated to the latest... but still no issue. |
Yes, I have tried to run it outside cygwin I have the same issues. I am waiting now for gdb to be installed, among others in a try to make my setup to be closer to yours. |
I have attached my compile log, maybe you spot something :) |
Are you sure you have checked-out my latest commit? |
I'll try again :) Can you also can you check if you haven't missed any linked files/ignored files? |
100% match except the missing warning I'm telling you. |
Ok, I found an issue in the code and I added some checkpoints all around in order to have a clear information of what is happening in case of such kind of issues (in the future). |
it is hard to debug remotely... and I'm not able neither to replicate the issue nor to debug with breakpoints...
with
recompile and see what happens... |
no crash with the changes :) |
good but I fear this is only a dirty workaround... I will try to understand better what is happening here.. |
Thanks! I will have some time tomorrow evening or saturday to do a proper debug. maybe I can help somehow. |
Mmmm.... seems pretty strange to me...
Let me know th result. |
Thanks! I actually did not know about this :) |
Great, thanks! |
win_dark_mode function is called before the terminals are created. win_proc function is then triggered when the active terminal is still NULL.
great! I was on the same path playing with various configuration in my windows themes. :) |
Hi, Using cygwin-64. Latest clone still created segfault.
|
hi, please compile with DEBUG enabled |
Alright:
|
Well this issue is mainly from the same reason of the previous one... but not so easy, at least at the first look, to solve. Attached a patch that avoids the segfault but that is a really dirty and temporary workaround (I cannot ensure it generates other side effects) that can be used while I will look better to the problem |
Tab terminlas created as soon as possible to avoid segfaults when calling functions that need them.
Now this should be definitively (I hope) fixed... |
Fixed. Thanks! |
Well, the tab title is taken from escape sequences provided by the command under execution or forced while launching fatty. By default it takes the path and name of the shell. Anyway, if you want to change it by hand you can use |
Thanks! Feel free to close ... |
moved from thread #1
The text was updated successfully, but these errors were encountered: