Bug Finding Methods for Multithreaded Student Programming Projects

dc.contributor.authorNaciri, William Maliken
dc.contributor.committeechairBack, Godmar V.en
dc.contributor.committeememberLee, Dongyoonen
dc.contributor.committeememberButt, Ali R.en
dc.contributor.departmentComputer Scienceen
dc.date.accessioned2017-08-05T08:00:31Zen
dc.date.available2017-08-05T08:00:31Zen
dc.date.issued2017-08-04en
dc.description.abstractThe fork-join framework project is one of the more challenging programming assignments in the computer science curriculum at Virginia Tech. Students in Computer Systems must manage a pool of threads to facilitate the shared execution of dynamically created tasks. This project is difficult because students must overcome the challenges of concurrent programming and conform to the project's specific semantic requirements. When working on the project, many students received inconsistent test results and were left confused when debugging. The suggested debugging tool, Helgrind, is a general-purpose thread error detector. It is limited in its ability to help fix bugs because it lacks knowledge of the specific semantic requirements of the fork-join framework. Thus, there is a need for a special-purpose tool tailored for this project. We implemented Willgrind, a debugging tool that checks the behavior of fork-join frameworks implemented by students through dynamic program analysis. Using the Valgrind framework for instrumentation, checking statements are inserted into the code to detect deadlock, ordering violations, and semantic violations at run-time. Additionally, we extended Willgrind with happens-before based checking in WillgrindPlus. This tool checks for ordering violations that do not manifest themselves in a given execution but could in others. In a user study, we provided the tools to 85 students in the Spring 2017 semester and collected over 2,000 submissions. The results indicate that the tools are effective at identifying bugs and useful for fixing bugs. This research makes multithreaded programming easier for students and demonstrates that special-purpose debugging tools can be beneficial in computer science education.en
dc.description.degreeMaster of Scienceen
dc.format.mediumETDen
dc.identifier.othervt_gsexam:12451en
dc.identifier.urihttp://hdl.handle.net/10919/78675en
dc.publisherVirginia Techen
dc.rightsIn Copyrighten
dc.rights.urihttp://rightsstatements.org/vocab/InC/1.0/en
dc.subjectBinary Instrumentationen
dc.subjectMultithreaded Programmingen
dc.subjectDebuggingen
dc.titleBug Finding Methods for Multithreaded Student Programming Projectsen
dc.typeThesisen
thesis.degree.disciplineComputer Science and Applicationsen
thesis.degree.grantorVirginia Polytechnic Institute and State Universityen
thesis.degree.levelmastersen
thesis.degree.nameMaster of Scienceen

Files

Original bundle
Now showing 1 - 2 of 2
Loading...
Thumbnail Image
Name:
Naciri_WM_T_2017.pdf
Size:
2.89 MB
Format:
Adobe Portable Document Format
Loading...
Thumbnail Image
Name:
Naciri_WM_T_2017_support_2.pdf
Size:
570.39 KB
Format:
Adobe Portable Document Format
Description:
Supporting documents

Collections