Bug #14486 Updated: mysql: "describe non_existing_table" causes segfault
| From: | mop at globalpark dot de | Date: | Thu, 13 Dec 2001 17:01:24 +0000 |
| Subject: | Bug #14486 Updated: mysql: "describe non_existing_table" causes segfault | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-73585@lists.php.net to get a copy of this message | ||
ID: 14486
User updated by: mop@globalpark.de
Reported By: mop@globalpark.de
Old Status: Feedback
Status: Open
Bug Type: Reproducible crash
Operating System: Linux 2.4.x
PHP Version: 4.0.6
New Comment:
i tried mysql-3.23.37 and 4.0-alpha.
configure options are:
'./configure' '--with-apxs=/opt/pdp/apache/bin/apxs' '--with-zlib'
'--with-mysql=/opt/pdp/mysql' '-- enable-sysvsem' '--enable-sysvshm'
please note that table hund does not exist as stated in the topic.
Previous Comments:
------------------------------------------------------------------------
[2001-12-13 09:19:59] mfischer@php.net
Not reproducable with 4.0.6.
Are you using external mysql libs?
Please give latest 4.1.0 a try.
------------------------------------------------------------------------
[2001-12-13 09:12:22] derick@php.net
Can you make a backtrace? >> bugs.php.net/how-to-report.php
Derick
------------------------------------------------------------------------
[2001-12-13 09:01:29] mop@globalpark.de
<?
mysql_connect("localhost","hund","test");
mysql_select_db("test");
mysql_query("describe hund");
echo "test";
?>
This small script causes a funny segfault.
Tested with apache 1.3.20 and 1.3.19 with php versions 4.0.2 and 4.0.6
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14486&edit=1