My dictionary implementation appears to work as my program's output matches the staff exactly.

Check50 is giving me the error below for every check starting with handles most basic words

\ expected output, not standard error of "/opt/sandbox50/bin/run.sh: line 31: 102..."

My dictionary uses a trie

This is my struct

    typedef struct Node
        bool is_word;
        struct Node* children[27];

Node* root;

Any clues as to why this is happening would be greatly appreciated.

If you need to see more of my code please do not hesitate to ask, I just didn't want to post my whole dictionary.c because I can't pinpoint what is causing this.


  • Post the full sandbox link to see what problem it has. From what you posted, it looks to me like it has a segmentation fault. Have you tested your program with the small dictionary or only with the large one?
    – Irene
    Nov 26, 2015 at 22:34
  • @Irene , I tested it with the small dictionary and the large and didn't have any seg faults, I also tested it against the staff implementation using Austin Powers. Thanks for taking a look
    – JV305
    Nov 27, 2015 at 15:03
  • I have the very same problem.... Nov 27, 2015 at 17:49
  • Hard to tell without seeing some code :)
    – Irene
    Nov 28, 2015 at 0:31

1 Answer 1


I had a similar issue. When I checked further, I noticed that there was an issue when I tested with a single word, single character dictionary and text file with speller.

On further inspection, I found that my unload program in this case was freeing my "current node" more than once.

I suggest you create a one word dictionary file and one word text file and run speller to see if you can duplicate the issue. Then use GDB to set breakpoints to check where this issue is.. in load, check, size, or unload. Good Luck.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .