Closed Officeyutong closed 2 months ago
In order to solve the error reported by Terminal 1, I added print statements to the run_example.py file in bpftime/.github/script and used gdb debugging, which produced the results.
The following screenshots are: three comparative screenshots of run_example.py with the print statement position added, and a screenshot of an error reported after setting a breakpoint in gdb debugging.
Reference
This issue is totally unrelated to the example runner script
I'm trying to solve the error in Terminal1. Where do you think I can start to solve it?
I'm trying to solve the error in Terminal1. Where do you think I can start to solve it?
This issue is already assigned to me. If you are interested in bpftime, you may refer to other un-assigned or good first issues. Thank you!
Some investigations:
Ctrl+C
seems to be related with bashrc, if we run bash with --norc
, we are then able to trace commands without pressing Ctrl+C
Terminal1
Terminal 2
Note that we should press ctrl+c after bash was started. This is also a bug.
If we run a command that would require bash to create a subprocess, it might be terminated with segmentation fault