#15765 [Fbk->NoF]: mssql_query (and mssql_select_db) crashes php.exe
| From: | php-bugs at lists dot php dot net | Date: | Fri, 25 Oct 2002 06:00:08 +0000 |
| Subject: | #15765 [Fbk->NoF]: mssql_query (and mssql_select_db) crashes php.exe | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23274@lists.php.net to get a copy of this message | ||
ID: 15765
Updated by: php-bugs@lists.php.net
Reported By: paprocki@pomerantz.com
-Status: Feedback
+Status: No Feedback
Bug Type: MSSQL related
Operating System: Windows 2000 Server
PHP Version: 4.1.1
New Comment:
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2002-10-09 11:34:08] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-02-27 15:51:07] paprocki@pomerantz.com
as of this time, I have tested this with ISAPI plugin and php.exe CGI
method and it happens using both.
------------------------------------------------------------------------
[2002-02-27 14:48:57] paprocki@pomerantz.com
I am able to connect to SQL Server v7.0 over the network, but after I
am connected (with either _connect or _pconnect), mssql_select_db with
a valid db crashes php.exe.
If I remove mssql_select_db call, mssql_query crashes.
When I removed mssql_select_db call, I added a login to the server
which used my db as the default db (so I wouldnt need to select it
obviously). I changed my mssql_connect call to reflect the new username
and password. I forgot to add select permissions for the table I
created, and when I tried to run the code, it actually printed out an
error stating that the MSSQL driver couldn't select on the table
because of the lack of permissions. When I added permissions to the
server and re-ran the code, it then crashed php.exe.
All crashes are 'instruction at "0x00000000" tried to reference
"0x00000000"' so that is not really helpful.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15765&edit=1