#37853 [Fbk->Opn]: DOM->schemaValidate causes an access violation

From: Date: Tue, 20 Jun 2006 12:13:31 +0000
Subject: #37853 [Fbk->Opn]: DOM->schemaValidate causes an access violation
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-98550@lists.php.net to get a copy of this message
ID: 37853 User updated by: jona at oismail dot com Reported By: jona at oismail dot com -Status: Feedback +Status: Open Bug Type: Reproducible crash Operating System: Windows 2000 PHP Version: 5.1.4 New Comment: How do I do I get that? If I call either debug_backtrace() or debug_print_stacktrace() prior to calling DOM->schemaValidate(), I get no useful output. If I call either of the backtrace functions after DOM->schemaValidate(), they're never executed due to the PHP Access Violation. Please advice? Previous Comments: ------------------------------------------------------------------------ [2006-06-20 11:48:03] tony2001@php.net We still need the backtrace, though. ------------------------------------------------------------------------ [2006-06-19 21:48:33] jona at oismail dot com The issue is likely specific to Windows / IIS / sapi / isapi then? Can't seem to make the CGI version work on IIS or I'd test if it was sapi specific. Sorry.... :-( ------------------------------------------------------------------------ [2006-06-19 21:38:40] tony2001@php.net Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. No ISAPI or windows here, only Linux. ------------------------------------------------------------------------ [2006-06-19 21:36:07] jona at oismail dot com I get an "PHP has encountered an Access Violation at 01B1B9F3" for both v5.1.4 and v5.2-dev. Are you running PHP as an ISAPI module? ------------------------------------------------------------------------ [2006-06-19 21:28:55] tony2001@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip I get two error messages and no crash: Warning: DOMDocument::loadXML(): xmlParseEntityRef: no name in Entity, line: 3 in /tmp/3.php on line 27 Warning: DOMDocument::schemaValidateSource(): The document has no document element. in /tmp/3.php on line 29 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/37853 -- Edit this bug report at http://bugs.php.net/?id=37853&edit=1

« previous php.bugs (#98550) next »