[Xapian-tickets] [Xapian] #748: PHP7 bindings segfaults

Xapian nobody at xapian.org
Tue Mar 14 23:10:20 GMT 2017


#748: PHP7 bindings segfaults
-----------------------------------+--------------------------
 Reporter:  atlantos               |             Owner:
     Type:  defect                 |            Status:  new
 Priority:  normal                 |         Milestone:  1.4.x
Component:  Xapian-bindings (PHP)  |           Version:  1.4.3
 Severity:  normal                 |        Resolution:
 Keywords:  PHP7                   |        Blocked By:
 Blocking:                         |  Operating System:  Linux
-----------------------------------+--------------------------

Comment (by olly):

 From the backtrace, I suspect this SWIG bug:
 https://github.com/swig/swig/issues/859

 If so, you can probably work around this by manually changing `0` to
 `CONST_PERSISTENT | CONST_CS` in the definition of `SWIG_Php_SetModule` in
 `php7/php7/xapian_wrap.cc` before compiling.

--
Ticket URL: <https://trac.xapian.org/ticket/748#comment:2>
Xapian <https://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list