Date: 09/03/00
- Next message: Zak Greant: "[PHP-DEV] Adding all extensions to bugs.php bug type list"
- Previous message: Stig Venaas: "[PHP-DEV] possible problem with ext/sockets/sockets.c and getsockname"
- In reply to: Derick Rethans: "[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot sablot.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
That's simple, you can't use multiple concurrent process with Sablotron and the
XSL processor yet.
I don't know how to fix this, I'm looking into whether or not there is a way to
tell if a Sablotron processor is running or not. Does anyone know of a way to
tell whether PHP has another concurrent process?
-Sterling
> 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/
>
>
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Zak Greant: "[PHP-DEV] Adding all extensions to bugs.php bug type list"
- Previous message: Stig Venaas: "[PHP-DEV] possible problem with ext/sockets/sockets.c and getsockname"
- In reply to: Derick Rethans: "[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot sablot.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

