php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #899 Core dump in _ora_ping
Submitted: 1998-11-05 09:00 UTC Modified: 1999-05-29 11:46 UTC
From: doussot at gifrance dot com Assigned:
Status: Closed Package: Oracle related
PHP Version: 3.0 Latest CVS (05/11/1998) OS: Linux + libc6 2.0.7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: doussot at gifrance dot com
New email:
PHP Version: OS:

 

 [1998-11-05 09:00 UTC] doussot at gifrance dot com
I'm running Oracle 8.0.5 (production) with PHP3 latest CVS and Apache 1.3.3. To reproduce the crash:
- run a script with Ora_Plogon
- stop oracle
- reload the script, apache core dumps.

Here is the dump:

(gdb) back
#0  0x404a9954 in   ()
#1  0x820ecd0 in ?? ()
#2  0x401610c4 in ntpwr ()
#3  0x40152b06 in nspsend ()
#4  0x4014623d in nsdofls ()
#5  0x40145407 in nsdo ()
#6  0x4012225f in nioqrc ()
#7  0x4021a7a1 in ttcdrv (context=0x8201708 "\004", opts=0) at ttcdrv.c:487
#8  0x40127a2d in nioqwa ()
#9  0x4010386c in upirtrc ()
#10 0x40103492 in upirtr ()
#11 0x400f9bde in upiopn ()
#12 0x400f435b in ociope ()
#13 0x4010f0dd in oopen ()
#14 0x8090b74 in _ora_ping (conn=0x81ded50) at functions/oracle.c:347
#15 0x8090f90 in php3_Ora_Do_Logon (ht=0x82078b0, return_value=0x8121eb0, 
    list=0x8123e08, plist=0x8123ddc, persistent=1) at functions/oracle.c:511
#16 0x8090c1b in php3_Ora_PLogon (ht=0x82078b0, return_value=0x8121eb0, 
    list=0x8123e08, plist=0x8123ddc) at functions/oracle.c:373


I tried to narrow down the problem and wrote a small OCI programm to reproduce the problem, but it works fine. The programm connects to Oracle, stops (so you can shut down oracle). Then it tries to open a new cursor, it fails but it does not core dump.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-05-29 11:46 UTC] thies at cvs dot php dot net
please try 3.0.8.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 20:01:29 2024 UTC