PHP 4.0 Bug #4229 Updated: Segmentation fault error when execute command "sp_tables"
| From: | Bug Database | Date: | Sun, 03 Sep 2000 23:35:07 +0000 |
| Subject: | PHP 4.0 Bug #4229 Updated: Segmentation fault error when execute command "sp_tables" | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-31867@lists.php.net to get a copy of this message | ||
ID: 4229
Updated by: sniper
Reported By: york.ye@china.com
Status: Closed
Bug Type: Sybase (dblib) related
Assigned To:
Comments:
No feedback from user. Closed.
--Jani
Previous Comments:
[2000-08-20 03:30:07] sniper@php.net
Please try more recent version (from CVS or http://snaps.php.net)
and report whether problem persists or not.
--Jani
---------------------------------------------------------------------------
[2000-04-24 20:47:39] york.ye@china.com
Dear sirs:
I've add a login named "webmaster" on my "yry_base" sybase server, then I
also add the user "webmaster". And when I execute such PHP code:
<?
$idSql = @sybase_pconnect( "yry_base", "webmaster",
"hattie_i_love_you");
@sybase_select_db( "WebDB", $idSql );
if( $idSql )
{ $ret = @sybase_query( "exec sp_tables", $idSql );
......
I got nothing from browser, and I checkd the file apache/logs/error_log, found some lines like:
[Mon Apr 24 18:19:04 2000] [notice] child pid 1123 exit signal Segmentation fault (11)
Then I disabled some lines, I found it was the line sybase_query( "exec sp_tables",
$idSql ) cause the error.
Please check it, thanx!
B.Regards,
York.
2000-04-25 AM. China.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=4229