#36055 [Fbk->Opn]: [Tue Jan 17 10:28:18 2006] [notice] Parent: child process exited with status 32

From: Date: Tue, 17 Jan 2006 20:28:53 +0000
Subject: #36055 [Fbk->Opn]: [Tue Jan 17 10:28:18 2006] [notice] Parent: child process exited with status 32
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-92095@lists.php.net to get a copy of this message
 ID:               36055
 User updated by:  paul at simonway dot com
 Reported By:      paul at simonway dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         OCI8 related
 Operating System: windows xp
 PHP Version:      5.1.2
 New Comment:

I ran the script (oci.php) from the command line. PHP 5.1.1 worked as
expected, no problem. 

PHP 5.1.2 printed out the expected result but crashed before returning
to the command line prompt:

C:\php\scripts>php oci.php
Array
(
    [SYSDATE] => 17-JAN-06
)



I downloaded the *.pdb from snaps and put them in the c:/php and
c:/php/ext directories. However, when the script crashes and I choose
debug, Microsoft Visual C++ .NET debugger reports "No symbols loaded"
for all files loaded by php.exe. 

Here's the last bit of info from the debugger 'output' window:

[snip]
'php.exe': Loaded 'C:\WINDOWS\SYSTEM32\apphelp.dll', No symbols
loaded.
The thread 'Win32 Thread' (0xb60) has exited with code 0 (0x0).
Unhandled exception at 0x6066dfbe in php.exe: 0xC0000005: Access
violation reading location 0x00f8d270.
'C:\php\ext\php_oci8.dll', No symbols loaded.
[/snip]


I don't know how to load the symbols. Perhaps, somebody will have the
same problem and shed light on this. Thanks.


Previous Comments:
------------------------------------------------------------------------

[2006-01-17 18:21:29] tony2001@php.net

The trace is pretty useless without debug symbols.

------------------------------------------------------------------------

[2006-01-17 17:43:48] paul at simonway dot com

This is the call back generated by Microsoft Visual C++ .NET:

>	oraclient9.dll!6066dfbe() 	
 	ntdll.dll!7c918331() 	
 	ntdll.dll!7c9182ba() 	
 	ntdll.dll!7c918545() 	
 	ntdll.dll!7c918331() 	
 	ntdll.dll!7c9182ba() 	
 	ntdll.dll!7c918545() 	
 	ntdll.dll!7c910eca() 	
 	ntdll.dll!7c910e91() 	
 	ntdll.dll!7c91056d() 	
 	ntdll.dll!7c91056d() 	
 	ntdll.dll!7c91056d() 	
 	ntdll.dll!7c91056d() 	
 	msvcrt.dll!77c2c2de() 	
 	msvcrt.dll!77c2c2e3() 	
 	ntdll.dll!7c91056d() 	
 	msvcrt.dll!77c2c2de() 	
 	msvcrt.dll!77c2c2e3() 	
 	msvcrt.dll!77c2c2e3() 	
 	oracommon9.dll!6052fbd4() 	
 	orageneric9.dll!00f75af1() 	
 	oraclient9.dll!6066ea84() 	
 	oraclient9.dll!6066df92() 	
 	oraclient9.dll!6060121a() 	
 	oci.dll!00be68bf() 	
 	php_oci8.dll!00bcc46c() 	
 	php_oci8.dll!00bc18a1() 	
 	php5ts.dll!006e7f23() 	
 	php5ts.dll!006daa8a() 	
 	php5ts.dll!006e7c82() 	
 	php5ts.dll!006f53be() 	
 	php5ts.dll!006d6dc3() 	
 	php5ts.dll!006daca4() 	
 	php5ts.dll!006dad73() 	
 	php5ts.dll!006d6691() 	
 	ntdll.dll!7c9105c8() 	
 	ntdll.dll!7c910551() 	
 	ntdll.dll!7c91056d() 	
 	msvcrt.dll!77c2c2e3() 	
 	oran9.dll!6148f811() 	
 	ORACORE9.DLL!6111d0e6() 	
 	ntdll.dll!7c91056d() 	
 	msvcrt.dll!77c2c2de() 	
 	msvcrt.dll!77c2c2e3() 	
 	php5ts.dll!0064265e() 	
 	php_oci8.dll!00bc168a() 	
 	php5ts.dll!006470fc() 	
 	php5ts.dll!006dadf2() 	
 	php5ts.dll!006424bd() 	
 	php5ts.dll!006f91c7() 	
 	ntdll.dll!7c910e12() 	
 	ntdll.dll!7c91056d() 	
 	msvcrt.dll!77c39f8e() 	
 	user32.dll!77d510c7() 	
 	user32.dll!77d5110e() 	
 	ntdll.dll!7c9106eb() 	
 	php5ts.dll!00648ced() 	
 	php5apache2.dll!100030f2() 	
 	php5apache2.dll!10003718() 	
 	php5apache2.dll!10003386() 	
 	php5ts.dll!006fa370() 	
 	libhttpd.dll!6ff0155f() 	
 	libhttpd.dll!6ff018a9() 	
 	libhttpd.dll!6ff0d412() 	
 	libhttpd.dll!6ff09476() 	
 	libhttpd.dll!6ff040df() 	
 	libhttpd.dll!6ff04332() 	
 	libhttpd.dll!6ff1b9ca() 	
 	msvcrt.dll!77c3a3b0() 	
 	kernel32.dll!7c80b50b() 	
 	kernel32.dll!7c8399f3()

------------------------------------------------------------------------

[2006-01-17 17:16:52] tony2001@php.net

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

Can't reproduce.
Remove all the @ and make sure you have set all the required
environment variables.

------------------------------------------------------------------------

[2006-01-17 17:02:50] paul at simonway dot com

Description:
------------
OCI calls work with
php5.1.1/Apache2.0.50(c:/php/php5apache2.dll)/Windows XP. 

OCI calls do NOT work after updating from php5.1.1 to php5.1.2.

The php script that works with 5.1.1 crashes when using 5.1.2:

    [Tue Jan 17 10:50:32 2006] [notice] Parent: child process exited
with status 3221225477 -- Restarting.

Reproduce code:
---------------
$conn = @ocilogon('****','****','9i');

if($error = ocierror())
    print(var_export($error,true));
                     
$stmt = ociparse($conn, 'SELECT SYSDATE FROM DUAL');

if(!$stmt) 
    print var_export(ocierror($stmt),true);

   
if(!@ociexecute($stmt)) 
{
        $error = ocierror($stmt);
        print var_export($error,true);
}

ocifetchinto($stmt, $row, OCI_ASSOC | OCI_RETURN_NULLS |
OCI_RETURN_LOBS);
print_r($row);

Expected result:
----------------
Array ( [SYSDATE] => 17-JAN-06 ) 

Actual result:
--------------
Apache system crash:

[Tue Jan 17 10:50:32 2006] [notice] Parent: child process exited with
status 3221225477 -- Restarting.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36055&edit=1


Thread (8 messages)

« previous php.bugs (#92095) next »