Hot answers tagged

1 vote

Pset4 recover getting Segmentation error

Pasting the whole code without trying to isolate where the Segmentation fault happened is not not cool, @cooldude Some suggestions on how to debug this nasty error: Add a few printf("going to...\...
1 vote

Speller seg faults in unload function

Here's the issue: if (cursor->next != NULL) { while (cursor->next != NULL) The problem is that if cursor is ever null, cursor->next doesn't exist. That will cause a seg fault. ...
  • 66.7k

Only top scored, non community-wiki answers of a minimum length are eligible