ID:               45769
 User updated by:  louis dot begin at cspq dot gouv dot qc dot ca
 Reported By:      louis dot begin at cspq dot gouv dot qc dot ca
 Status:           Open
 Bug Type:         OCI8 related
 Operating System: zVM/Linux
 PHP Version:      5.2CVS-2009-03-19 (snap)
 New Comment:

Hi,

Forget that bug, you may close it.
We used an other software to do the job.

Regards,

LBe


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

[2009-06-11 13:08:57] louis dot begin at cspq dot gouv dot qc dot ca

Again:
When i compiled i get these messages:
/logiciels/tldb/php/php5.2-200903191730/ext/oci8/oci8.c: In function
'php_oci_do_connect_ex':
/logiciels/tldb/php/php5.2-200903191730/ext/oci8/oci8.c:1102: warning:
cast from pointer to integer of different size
/logiciels/tldb/php/php5.2-200903191730/ext/oci8/oci8.c:1416: warning:
cast to pointer from integer of different size

which could indicated "losing a part of a pointer"
which is compatible with the error "segmentation fault".

LBe

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

[2009-05-12 17:51:20] louis dot begin at cspq dot gouv dot qc dot ca

Hi, sorry for delay,

Here what i get from GDB:
(gdb) run -X
Starting program: /logiciels/tldb/httpd-2.0.61/bin/httpd -X
[Thread debugging using libthread_db enabled]
[New Thread 2199026468240 (LWP 3700)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2199026468240 (LWP 3700)]
_zval_ptr_dtor (zval_ptr=0x3ffffa94b20)
    at
/logiciels/tldb/php/php5.2-200903191730/Zend/zend_execute_API.c:412
412             (*zval_ptr)->refcount--;
(gdb) bt
#0  _zval_ptr_dtor (zval_ptr=0x3ffffa94b20)
    at
/logiciels/tldb/php/php5.2-200903191730/Zend/zend_execute_API.c:412
#1  0x000002000053733a in zend_do_fcall_common_helper_SPEC
(execute_data=0x3ffffa95100)
    at /logiciels/tldb/php/php5.2-200903191730/Zend/zend_execute.h:155
#2  0x0000020000528a5e in execute (op_array=0x2000074caa0)
    at
/logiciels/tldb/php/php5.2-200903191730/Zend/zend_vm_execute.h:92
#3  0x0000020000505378 in zend_execute_scripts (type=<value optimized
out>, retval=0x0,
    file_count=2) at
/logiciels/tldb/php/php5.2-200903191730/Zend/zend.c:1134
#4  0x00000200004bc538 in php_execute_script
(primary_file=0x3ffffa97710)
    at /logiciels/tldb/php/php5.2-200903191730/main/main.c:2023
#5  0x0000020000599790 in php_handler (r=0x8024d2d0)
    at
/logiciels/tldb/php/php5.2-200903191730/sapi/apache2handler/sapi_apache2.c:632
#6  0x0000000080048e20 in ap_run_handler (r=0x8024d2d0) at
config.c:152
#7  0x000000008004c33a in ap_invoke_handler (r=0x8024d2d0) at
config.c:364
#8  0x000000008003615c in ap_process_request (r=0x8024d2d0) at
http_request.c:249
#9  0x0000000080030ccc in ap_process_http_connection (c=0x80249290) at
http_core.c:253
#10 0x0000000080055e4c in ap_run_process_connection (c=0x80249290) at
connection.c:43
#11 0x00000000800476e4 in child_main (child_num_arg=<value optimized
out>) at prefork.c:610
#12 0x000000008004794e in make_child (s=0x800dca60, slot=0) at
prefork.c:650
#13 0x0000000080047a5a in startup_children (number_to_start=2) at
prefork.c:722
#14 0x00000000800483cc in ap_mpm_run (_pconf=<value optimized out>,
plog=<value optimized out>,
    s=0x800dca60) at prefork.c:941
#15 0x000000008004f02c in main (argc=<value optimized out>,
argv=0x3ffffa98248) at main.c:636
(gdb) info locals
No locals.

------------------
/* Here a line from the "oracle listener log" indicating that the
connection occurs succesfully to the database  */
12-MAY-2009 13:21:57 *
(CONNECT_DATA=(SERVICE_NAME=sigubtm)(CID=(program=ht...@csigdsa1)(HOST=CSIGDSA1)(USER=oracle)))
* (ADDRESS=(PROTOCOL=tcp)(HOST=172.27.96.229)(PORT=56123)) * establish *
sigubtm * 0

The time match exactly.
I am sur i get the right program.

==============
Thank
LBe

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

[2009-04-28 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

[2009-04-20 09:18:29] j...@php.net

That backtrace does not show any references to any OCI functions. Are
you absolutely sure the script you're running IS that script shown in
your first comment? Check your configuration (including all http.conf /
.htaccess files) and clean it up. Make sure you do NOT have any
extensions loaded from your php.ini and that you're loading correct
php.ini file. Also check for any append/prepend settings in it..

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

[2009-04-08 19:59:55] louis dot begin at cspq dot gouv dot qc dot ca

Sorry for the delay,

I got the exact same result,

Starting program: /logiciels/tldb/httpd-2.0.61/bin/httpd -X
[Thread debugging using libthread_db enabled]
[New Thread 2199026468240 (LWP 4426)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2199026468240 (LWP 4426)]
_zval_ptr_dtor (zval_ptr=0x3ffffae7ad8)
    at
/logiciels/tldb/php/php5.2-200903191730/Zend/zend_execute_API.c:412
412             (*zval_ptr)->refcount--;
(gdb) bt
#0  _zval_ptr_dtor (zval_ptr=0x3ffffae7ad8)
    at
/logiciels/tldb/php/php5.2-200903191730/Zend/zend_execute_API.c:412
#1  0x000002000053733a in zend_do_fcall_common_helper_SPEC
(execute_data=0x3ffffae8110)
    at /logiciels/tldb/php/php5.2-200903191730/Zend/zend_execute.h:155
#2  0x0000020000528a5e in execute (op_array=0x2000074caa0)
    at
/logiciels/tldb/php/php5.2-200903191730/Zend/zend_vm_execute.h:92
#3  0x0000020000505378 in zend_execute_scripts (type=<value optimized
out>, retval=0x0,
    file_count=2) at
/logiciels/tldb/php/php5.2-200903191730/Zend/zend.c:1134
#4  0x00000200004bc538 in php_execute_script
(primary_file=0x3ffffaea720)
    at /logiciels/tldb/php/php5.2-200903191730/main/main.c:2023
#5  0x0000020000599790 in php_handler (r=0x8024d210)
    at
/logiciels/tldb/php/php5.2-200903191730/sapi/apache2handler/sapi_apache2.c:632
#6  0x0000000080048e20 in ap_run_handler (r=0x8024d210) at
config.c:152
#7  0x000000008004c33a in ap_invoke_handler (r=0x8024d210) at
config.c:364
#8  0x000000008003615c in ap_process_request (r=0x8024d210) at
http_request.c:249
#9  0x0000000080030ccc in ap_process_http_connection (c=0x802491d0) at
http_core.c:253
#10 0x0000000080055e4c in ap_run_process_connection (c=0x802491d0) at
connection.c:43
#11 0x00000000800476e4 in child_main (child_num_arg=<value optimized
out>) at prefork.c:610
#12 0x000000008004794e in make_child (s=0x800dca60, slot=0) at
prefork.c:650
#13 0x0000000080047a5a in startup_children (number_to_start=2) at
prefork.c:722
#14 0x00000000800483cc in ap_mpm_run (_pconf=<value optimized out>,
plog=<value optimized out>,
    s=0x800dca60) at prefork.c:941
#15 0x000000008004f02c in main (argc=<value optimized out>,
argv=0x3ffffaeb258) at main.c:636
(gdb)

---------------------------
NOTICE:
I have the same message when compiling:

/logiciels/tldb/php/php5.2-200903191730/ext/oci8/oci8.c: In function
'php_oci_do_connect_ex':
/logiciels/tldb/php/php5.2-200903191730/ext/oci8/oci8.c:1102: warning:
cast from pointer to integer of different size
/logiciels/tldb/php/php5.2-200903191730/ext/oci8/oci8.c:1416: warning:
cast to pointer from integer of different size

===========================

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/45769

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

Reply via email to