Can you post a complete traceback or at least error position? (There are many strncmp's in gpc.c, and know which one it is might help.)
Attached ...
<snip>
Program received signal SIGSEGV, Segmentation fault. 0x77c47a64 in strncmp () (gdb) info line *0x77c47a64 No line number information available for address 0x77c47a64 <strncmp+20>
can you type `bt' here (to get the calling place)?