[Xapian-discuss] xapian + plpgsql crash? have backtrace...

Olly Betts olly at survex.com
Tue Oct 26 02:41:06 BST 2004


On Mon, Oct 25, 2004 at 02:50:18PM -0700, Eric Parusel wrote:
> It seems to have failed at:
> #0  Xapian::Query::~Query (this=0x0, __in_chrg=2) at 
> ../include/xapian/base.h:129

It appears to be trying to delete an object with address 0.  That
shouldn't happen, but the backtrace doesn't really reveal how we
get to this point.

> Oh, I've also noticed that when running this separately through a test 
> script from the command line, I can't seem to replicate the crash.
> Possibly it's because the script remains resident when in pl/pgsql?
> It does only crash the 2nd time the function is run...

I'd guess something isn't coping properly with the persistent perl
interpreter, but I can't think what.  Perhaps Alex will have an idea.

Cheers,
    Olly



More information about the Xapian-discuss mailing list