#20704 [Fbk->Opn]: reproducible crash
| From: | nytral at spamcop dot net | Date: | Fri, 29 Nov 2002 04:05:07 +0000 |
| Subject: | #20704 [Fbk->Opn]: reproducible crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26130@lists.php.net to get a copy of this message | ||
ID: 20704
User updated by: nytral@spamcop.net
Reported By: nytral@spamcop.net
-Status: Feedback
+Status: Open
Bug Type: MSSQL related
Operating System: Windows2000+SP3/Dual
PHP Version: 4.3.0RC2
New Comment:
Good news: 4.2.3 doesn't crash so far. I upgraded because after some
time I would randomly get Access Violations. But I prefer to have a few
here and there than 100% of the time <g>.
Previous Comments:
------------------------------------------------------------------------
[2002-11-28 22:04:19] iliaa@php.net
Could you show the smallest possible version of the script, which
causes the problem?
------------------------------------------------------------------------
[2002-11-28 14:30:33] nytral@spamcop.net
I just tried ISAPI with RC2; first script load is Ok,
resubmit and it's an access violation.
------------------------------------------------------------------------
[2002-11-28 14:16:28] nytral@spamcop.net
It's a flat PHP setup with only mssql module loaded.
Since the last MSSQL2000 (SP2+hotfix) and MDAC 2.7, SQL queries
returning more than a few results crash (either Access Violation using
ISAPI, or no output at all with php-cgi.exe past the mssql_query()
call).
Each time I install a different php build, the first script load will
output something before dying in the middle of returning results;
reloading the page will give CGI errors.
Weird thing is, calling php.exe on the command line works each time;
calling php-cgi.exe doesn't (problem described above show up).
I can't even move those scripts to Unix, since some are using
mssql_next_result() which Sybase doesn't provide. Ouch! It looks like
using PHP to talk to MSSQL is not a good idea on any OS.
Thanks for your help,
-Martin
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20704&edit=1