@Binkle Crashes with SIGABRT
@Binkle That's a typo
@Binkle malloc.c:2379: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed.
@ademan @Binkle Sorry, no, it's a school project, but I think I found the issue.
I'm getting the wrong sizeof because I'm stupid and typed in the wrong struct.
void symtable_init(symtable_t **table){
(*table) = (symtable_t *)malloc(sizeof (symtable_item_t));
for(int i = 0; i < TABLE_SIZE; i++){
(**table)[i] = NULL;
}
}