gzseek is returning -1 without setting errno.  Try using gzerror().