By Software Sustainability Institute Fellow Mozhgan Kabiri Chimeh (NVIDIA), Anna (Ania) Brown (University of Oxford, University of Southampton), Fouzhan Hosseini (NAG), Weronika Fillinger (EPCC) and Neelofer Banglawala (EPCC)
Subscribe to Anna Brown
By Susanne Wallace, Anna Brown, Lewis Irvine, William Saunders and Paul Secular. As part of the Bath debugging workshop we attempted to find the cause of a segfault in a lattice disorder Monte Carlo code written in C. We were working without a known solution as recent unrelated additions to the code had fixed the bug without revealing why. We were able to find the cause of the segfault using memory checking and debugging tools to narrow down the location of the bug, with print statements to finish.