[Xapian-discuss] apache + perl + xapian = segmentation fault (and corrupt stack)

James Aylett james-xapian at tartarus.org
Wed Jun 14 10:32:19 BST 2006


On Tue, Jun 13, 2006 at 08:47:18PM -0400, Rocco Caputo wrote:

> Has anyone ever run into a case where xapian dumps a core without a  
> viable backtrace?

Not with Xapian, but I've seen it in various guises with, as you say,
stack corruption. In particular I've run into this problem when doing
things like strcat(0,...) inside deep stacks - whether glibc is
particularly vulnerable to this kind of thing or (more likely) the
compiler likes to optimise my variables in a strange way, I've never
figured out. It's a pain to debug, unfortunately :-(

J

-- 
/--------------------------------------------------------------------------\
  James Aylett                                                  xapian.org
  james at tartarus.org                               uncertaintydivision.org



More information about the Xapian-discuss mailing list