[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot sablot.c From: Derick Rethans (d.rethans <email protected>)
Date: 09/03/00

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 <email protected> > For additional commands, e-mail: php-cvs-help <email protected> > To contact the list administrators, e-mail: php-list-admin <email protected>

-- Derick Rethans JDI Media Solutions

H.v.Tussenbroekstraat 1 6952 BL Dieren The Netherlands

e-mail: d.rethans <email protected> http://www.jdimedia.nl/