Hi,
Consultancy help:
I have written an PHP 7.X extension to my Saxon/C C++ API. My C++ program has
an Excelsior JET JNI environment which is created as a static variable at the
start of the program and released at the end.
The threads are created by the JET Runtime, e.g. GC thread, weak refer
From my investigation an internal library Excelsior Jet is creating the extra
threads, which I need to release.
> On 17 May 2018, at 09:57, O'Neil Delpratt wrote:
>
> Hi All,
>
> I am experiencing a strange behaviour in my PHP extension. My setup: Ubuntu
> LTS 16,
Hi All,
I am experiencing a strange behaviour in my PHP extension. My setup: Ubuntu LTS
16, Apache 2.4, PHP 7.0.30 (tested with PHP 7.1.17) and latest Saxon-HE/C 64bit.
Observed behaviour is that Apache spawns a couple of child processes as soon as
Saxon is invoked. Problem is that those child
in PHP-specific areas of the project.
Info on the latest Saxon/C release: http://www.saxonica.com/saxon-c/index.xml
<http://www.saxonica.com/saxon-c/index.xml>
I welcome your comments in this intended proposal.
kind regards,
---
O'Neil Delpratt
Software Developer,
Problem resolved. It was actually the following line I had still there:
Z_ADDREF_P(oth);
> On 25 Sep 2017, at 11:36, O'Neil Delpratt wrote:
>
> Ok. Thanks for taking a look.
>
> Potenial problem could be the following line:
>
> const char * objName =ZSTR_VAL(Z_OBJC
Ok. Thanks for taking a look.
Potenial problem could be the following line:
const char * objName =ZSTR_VAL(Z_OBJCE_P(oth)->name);
I think I need to free the objName some how.
> On 22 Sep 2017, at 18:42, Sara Golemon wrote:
>
>>> On Fri, Sep 22, 2017 at 12:21 PM, O'Ne
rote:
>
> On Fri, Sep 22, 2017 at 12:21 PM, O'Neil Delpratt wrote:
>> I still have the memory leak without that line. I think I was thinking I
>> need to add a refcount to the XdmNode object, but maybe I am wrong.
>>
> What's the shortest possible script you can
I still have the memory leak without that line. I think I was thinking I need
to add a refcount to the XdmNode object, but maybe I am wrong.
> On 22 Sep 2017, at 17:09, Sara Golemon wrote:
>
> On Fri, Sep 22, 2017 at 7:01 AM, O'Neil Delpratt wrote:
>> Z_ADDREF_
> On 22 Sep 2017, at 15:40, Johannes Schlüter wrote:
>
> On Fr, 2017-09-22 at 12:01 +0100, O'Neil Delpratt wrote:
>>
>> [Fri Sep 22 08:56:42 2017] Script: '/home/ond1/work/svn/latest9.8-
>> saxonc/hec/samples/php/xqueryExamples.php'
>&
se
…….
See full code of PHP extension:
https://dev.saxonica.com/repos/archive/opensource/latest9.8/hec/Saxon.C.API/php7_saxon.cpp
<https://dev.saxonica.com/repos/archive/opensource/latest9.8/hec/Saxon.C.API/php7_saxon.cpp>
kind regards,
O'Neil
---
O'
Dear All,
Following the successes of Saxon/C alpha and beta releases over the last 2
years we are pleased to say that we have released the first major release of
Saxon/C version 1.0.0.
This release is only available under a Linux platform. The Windows release will
follow later. We hope this wil
11 matches
Mail list logo