----- Original Message ----- From: "Ira Woodhead" . . > > AV* array = newAV(); > av_push(array, newSViv(df)); > av_push(array, newSViv(cf)); > av_push(array, dxSV); > av_push(array, pxSV); > av_push(array, newSViv(lastdoc)); > av_push(array, newSViv(corpus_size - lastdoc)); > > // everything's fine up to this point, then seg fault occurs > // before caller can continue! > > return array; > } >
Have you determined that the segfault is dependent upon one or more of those av_push() calls being made ? If so, precisely which av_push() calls are responsible ? Cheers, Rob