PHP 4.0 Bug #4229: Segmentation fault error when execute command "sp_tables"

From: Date: Tue, 25 Apr 2000 00:47:40 +0000
Subject: PHP 4.0 Bug #4229: Segmentation fault error when execute command "sp_tables"
Groups: php.dev 
Request: Send a blank email to php-dev+get-18169@lists.php.net to get a copy of this message
From: york.ye@china.com Operating system: Redhat 6.1 PHP version: 4.0 Release Candidate 1 PHP Bug Type: Sybase (dblib) related Bug description: Segmentation fault error when execute command "sp_tables" 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.

« previous php.dev (#18169) next »