Question: Application of strace [ 1 5 points ] Write a small program that produces unexpected behavior such as race condition, delay output, crash on condition,

Application of strace [15 points] Write a small program that produces unexpected behavior such as race condition, delay output, crash on condition, memory leak or your choice of implementation. Run strace on this program. Explain your program and its unexpected behavior. (xv6) Does your strace implementation provide anything useful that can tell you something about this unexpected behavior? (Linux) Implement the same program on Linux (there is slight variation of C language between Linux and XV6), does Linux strace provide more information and is it better to help you debug this issue?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!