[Xapian-devel] enquire bug(?)

Olly Betts olly at survex.com
Thu Jun 15 18:41:30 BST 2006


On Thu, Jun 15, 2006 at 09:53:16AM -0700, Alexander Lind wrote:
> I was just attempting to make a demo for this bug, but ran into another
> one on my way there, (segfault when adding a value to a document
> pointer). Reported this with example code to bugzilla.
> Not sure why this one doesn't happen when i use my classes to add values
> to document pointers, but will see if I can figure it out.

As you spotted since (and commented on the bug), SWIG doesn't trap passing
PHP Null (or an unset variable which amounts to the same thing) as the
this pointer.

I'll take a look at the set_sort_by_value bug.  It looks like it should
work, and there's a feature test for it in the C++ test suite, so I'm
guessing it's something PHP specific.

Cheers,
    Olly



More information about the Xapian-devel mailing list