php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #302 when logging onto a oracle 7.3.2 database php sucks up all cpu cycles ...
Submitted: 1998-04-22 12:03 UTC Modified: 1998-05-01 15:48 UTC
From: auke at snt dot utwente dot nl Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0 Release Candidate 4 OS: HPUX10.10
Private report: No CVE-ID: None
 [1998-04-22 12:03 UTC] auke at snt dot utwente dot nl
no script unfortunately, I think you'll need Oracle 7.3.2
haven't tried another version, but allright, here goes:
I have php3.0RC4 compiled as cgi for easier debugging.
it has Oracle support and runs on HPUX10.10
when calling Ora_logon() php starts running circles around itself,
or at least sucks up all cpu cycles and does nothing.
running gdb I found it seems to call "orlon" nicely
but never gets out again... so perhaps I should write this bugreport
to oracle .. :)
anyway, orlon is depricated (or so it says in the demo files)
so perhaps a solution would be to use olog (in versions >= 7.2)

perhaps the arguments to the call were somehow incorrect, so I'll include
what gdb had to say about them:

(gdb) print *conn
$2 = {open = 0, ind = 1, lda = {v2_rc = 0, ft = 0, rpc = 0, peo = 0, fc = 0 '\000', rcs1 = 0 '\000', rc = 0,
    wrn = 0 '\000', rcs2 = 0 '\000', rcs3 = 0, rid = {rd = {rcs4 = 0, rcs5 = 0, rcs6 = 0 '\000'}, rcs7 = 0,
      rcs8 = 0}, ose = 0, chk = 0 '\000', rcsp = 0x0, rcs9 = '\000' <repeats 15 times>},
  hda = '\000' <repeats 255 times>, userid = '\000' <repeats 31 times>, password = '\000' <repeats 31 times>}
(gdb) print &conn->lda
$3 = (Cda_Def *) 0x4006cd78 
(gdb) print user->value.str.val
$6 = 0x4006cb78 "*****"
(gdb) print pw->value.str.val
$7 = 0x4006cc90 "*******"

finally: if it's any use, this is where it kept breaking when hitting ctrl-c:
Program received signal SIGINT, Interrupt.
0x7addf2e0 in orlon ()

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-05-01 15:48 UTC] zeev
Turned out to be an Oracle installation problem.

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri Nov 22 05:01:23 2019 UTC