a try with lists, gdb says segv in strncpy during optimization