debugging and fixing pyuwsgi in python 3.12 (advanced) anthony explains

Опубликовано: 28 Сентябрь 2024
на канале: anthonywritescode
7,437
395

welcome to a whirlwind tour of bisecting, GIL, strace, gdb, forking, threadstates, undefined behaviour, and deadlocking. I go through the process debugging the most difficult bug I've encountered yet and ultimately how I fixed the problem and understood what changed and why it resulted in this issue!

part 1 if you missed it (though all context is covered in this video):    • oops I'm the pyuwsgi maintainer now (...  

- what is git bisect?    • finding regressions with git bisect (...  
- using git bisect to find a bug in nodejs:    • using git bisect to find a bug in nod...  
- why remove the GIL?    • why remove the python GIL? (intermedi...  
- the GIL is being removed!?    • python is removing the GIL! (PEP 703)...  
- fork vs. spawn:    • multiprocessing: fork() vs. spawn() (...  
- debugging python with gdb:    • debugging python segfaults with gdb (...  

playlist:    • anthony explains  

==========

twitch:   / anthonywritescode  
dicsord:   / discord  
twitter:   / codewithanthony  
github: https://github.com/asottile
stream github: https://github.com/anthonywritescode

I won't ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you'd like to see please comment below!