php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4229 Segmentation fault error when execute command "sp_tables"
Submitted: 2000-04-24 20:47 UTC Modified: 2000-09-03 19:35 UTC
From: york dot ye at china dot com Assigned:
Status: Closed Package: Sybase (dblib) related
PHP Version: 4.0 Release Candidate 1 OS: Redhat 6.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: york dot ye at china dot com
New email:
PHP Version: OS:

 

 [2000-04-24 20:47 UTC] york dot ye at china dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-20 03:30 UTC] sniper@php.net
Please try more recent version (from CVS or http://snaps.php.net)
and report whether problem persists or not.

--Jani

 [2000-09-03 19:35 UTC] sniper@php.net
No feedback from user. Closed.

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 09:01:27 2024 UTC