Woha, thanks for the info! I'll check this and see if I can
    do anything about it later that evening.

    - Markus

On Tue, Dec 04, 2001 at 10:54:48AM -0500, Marcio Marchini wrote : 
> 
>       Yes, Xitami is free, open source, multi-platform. You can get it here:
> http://www.imatix.com/html/xitami/index.htm
> 
> 
>       One of the PHP downloads for Win32 even configures Xitami automatically for
> PHP. So, I guess it is "supported" by the PHP team ?
> 
>       Anyway, I am running Xitami as a service under Windows 2000. I believe the
> download URL is http://users.skynet.be/sky37432/bs3225b4.exe (off
> http://www.imatix.com/html/xitami/index2.htm#download )
> 
> 
>       In PHP, I've only seen the crash in this module. But I've seen another cgi
> crash, trying to make http://www.namazu.org/ work with Xitami. When I run
> the cgi behind Xitami, I get this in the log:
> 
> abnormal program termination
> Assertion failed: 0, file cgi.c, line 240
> 
>       but when I run the program from the command prompt, it runs ok. So, in some
> sense it is a similar problem.
> 
>       I have a wild theory that maybe when the program runs behind Xitami it
> can't allocate enough RAM maybe ? Maybe the code in these programs do not
> check malloc results or something, not sure.
> 
>       I am about to join the Xitami mailing list to see what I can find out.
> Maybe the crashes are related, maybe not :-(
> 
>       thanks for answering !
> 
> marcio
> 
> > -----Original Message-----
> > From: Markus Fischer [mailto:[EMAIL PROTECTED]]
> > Sent: December 4, 2001 12:29 AM
> > To: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [PHP-DEV] Bug #13830 Updated: php.exe crashes when behind
> > Xitami web server, DOM XML
> >
> >
> >     Hmm, to bad, not much of help. Is this webserver for free? If
> >     so, I can do testing on my own, just need to know where to
> >     get it.
> >
> >     Btw, this only happens with domxml? Not with other modules?
> >
> >     - Markus
> >
> > On Tue, Dec 04, 2001 at 04:17:26AM -0000, [EMAIL PROTECTED] wrote :
> > > ID: 13830
> > > User updated by: [EMAIL PROTECTED]
> > > Reported By: [EMAIL PROTECTED]
> > > Old Status: Feedback
> > > Status: Open
> > > Bug Type: DOM XML related
> > > Operating System: Win2k
> > > PHP Version: 4.0.6
> > > New Comment:
> > >
> > > The only thing I get is a Windows Dialog saying:
> > >
> > > "The instruction at "0x10092efe" referenced memory at
> > "0x000000010". The memory could not be "read". Click on OK to
> > terminate the program. Click on CANCEL to debug the program.
> > >
> > > If you believe there may be some message logged to some log
> > file somewhere, despite the serious crash, let me know the file
> > path and I will post the log "tail" here.
> > >
> > > thanks,
> > >
> > > marcio
> > >
> > > Previous Comments:
> > > ------------------------------------------------------------------------
> > >
> > > [2001-11-29 09:39:38] [EMAIL PROTECTED]
> > >
> > > Well... any kind of more information about this? What crash
> > exactly, error message? something in the logfile?
> > >
> > > Feedback.
> > >
> > > ------------------------------------------------------------------------
> > >
> > > [2001-10-25 18:05:29] [EMAIL PROTECTED]
> > >
> > > This is the code:
> > >
> > > $doc = xmldocfile( "xml-config.xml" );
> > > $ctx = xpath_new_context($doc);
> > > $xpath =
> > xpath_eval($ctx,"/xml-config/website[@id='oll']/output/@html-produ
> > ction-dir");
> > > $nodeset = $xpath->nodeset;
> > > $production_dir = $nodeset[0]->content;
> > >
> > > If I run from a DOS box, it runs just fine, giving the correct
> > result. However, when I run it behind the Xitami web server,
> > php.exe crashes in the xpath_eval call.
> > >
> > > Some important info:
> > >
> > > My php.ini has these entries:
> > > extension_dir = c:/php/extensions
> > > extension=php_domxml.dll
> > >
> > > Note that c:\php;c:\php\dlls and c:\php\extensions are in the
> > PATH, just in case
> > >
> > > libxml2.dll is in the path and can be found no problem, I can
> > run xsltproc.exe just fine (it uses libxml2.dll). I can also
> > passthru 'xsltproc.exe' from PHP, it runs fine.
> > >
> > > If I remove extension_dir = c:/php/extensions from the ini,
> > just to test,  I can get both DOS and Xitami php to complain that
> > it cannot load php_domxml.dll, which is the expected behavior
> > ("Unable to load dynamic library..."). I put the entry back, the
> > warning Dialog goes away for DOS and for Xitami, but the crash
> > returns for Xitami.
> > >
> > > My Conclusions:
> > >   - php behind Xitami is finding php_domxml.dll just fine,
> > because when it does not I get the warning Dialog and no crash
> > >   - libxml2.dll is in the path and can be found by programs
> > including php under DOS. It can also be found from programs
> > launched from php behind Xitami (passthru 'xsltproc.exe').
> > >
> > >    Any chance the DLL linking is failing for some bizarre
> > reason only when PHP runs behind Xitami ?
> > >
> > >
> > >
> > > ------------------------------------------------------------------------
> > >
> > >
> > >
> > > Edit this bug report at http://bugs.php.net/?id=13830&edit=1
> > >
> > >
> > > --
> > > PHP Development Mailing List <http://www.php.net/>
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> > --
> > Please always Cc to me when replying to me on the lists.
> >

-- 
Please always Cc to me when replying to me on the lists.

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to