Re: cvs: php4 /ext/sablot sablot.c
| From: | Derick Rethans | Date: | Sun, 03 Sep 2000 19:07:27 +0000 |
| Subject: | Re: cvs: php4 /ext/sablot sablot.c | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-31820@lists.php.net to get a copy of this message | ||
Hello Sterling,
It seems that there is still a problem with the extension. When there are two concurrent
requests which use the Sablot library, one of them crashes. I wasn't able to create a
backtrace yet however.
From the Sablotron docs:
----
int SablotCreateProcessor(SablotHandle *processorPtr);
Creates an instance of Sablotron and returns a pointer to it in *processorPtr. This pointer
is passed on all subsequent calls to this instance. Note that it is currently not possible
to have multiple processor instances at one time; however, the present interface was
designed to facilitate supporting the possibility in a future version.
----
From my error log:
----
httpd: datastr.h:510: void List<HashItem *>::append<HashItem *>(class HashItem *):
Assertion
`block' failed.
[Sun Sep 3 20:52:35 2000] [notice] child pid 20145 exit signal Aborted (6)
----
If you need more information feel free to contact me.
Regards,
Sterling Hughes wrote:
> sterling Sun Sep 3 07:03:51 2000 EDT
>
> Modified files:
> /php4/ext/sablot sablot.c
> Log:
> Just when you got something working they decide to change the API
> on you :-).
>
>
>
> Index: php4/ext/sablot/sablot.c
> diff -u php4/ext/sablot/sablot.c:1.1 php4/ext/sablot/sablot.c:1.2
> --- php4/ext/sablot/sablot.c:1.1 Sun Sep 3 06:00:08 2000
> +++ php4/ext/sablot/sablot.c Sun Sep 3 07:03:51 2000
> @@ -164,7 +164,7 @@
> S_FREE(SABLOTG(output_transform_file));
>
> SABLOTG(output_transform_file) = estrndup(Z_STRVAL_PP(file), Z_STRLEN_PP(file));
> - php_start_ob_buffer();
> + php_start_ob_buffer(NULL);
> }
> /* }}} */
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net
> For additional commands, e-mail: php-cvs-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Derick Rethans
JDI Media Solutions
H.v.Tussenbroekstraat 1
6952 BL Dieren
The Netherlands
e-mail: d.rethans@jdimedia.nl
http://www.jdimedia.nl/