I was running python script on EC2 instance. Due to out of storage, I had to extend the storage by 4GB. After I extended the storage of the instance. I try to run the python script, at that time I'm encountering this error.
Any thoughts or suggestions to sort this out?
When you get error like Bus error or segmentation fault. Please,check below steps
If none of above issues are occured then try running below commands in terminal to identify from where this exact issue is coming from, in the code.
gdb python
(gdb) run /path/to/script.py
## wait for segfault ##
(gdb) backtrace
## stack trace of the c code
Above commands solved my problem. Hope, this helps when someone get similar issues.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With