Menu

#92 [PHP]Error of segmentation fault appears when running cubrid_fetch_object.phpt of php unit test case

open
nobody
None
5
2012-02-16
2012-02-16
Jira Trac
No

Test Build: CUBRID 2008 R4.1 (8.4.1.1010) (64bit release build for linux_gnu)
OS: Linux 64
Description: Error of segmentation fault appears when running cubrid_fetch_object.phpt of php unit test case

Repro Steps:
php cubrid_fetch_object.phpt

path of this case:
http://svn.cubrid.org/cubridapis/php/trunk/tests

Error information:
{noformat}
-sh-3.2$ gdb php
GNU gdb Fedora (6.8-27.el5)
Copyright (C) 2008 Free Software Foundation, Inc.
.............
(gdb) run cubrid_fetch_object.phpt
Starting program: /usr/bin/php cubrid_fetch_object.phpt
..............................

Program received signal SIGSEGV, Segmentation fault.
0x00000000005a159b in zend_is_callable_ex ()
(gdb) bt
#0 0x00000000005a159b in zend_is_callable_ex ()
#1 0x000000000058ed35 in zend_call_function ()
#2 0x00002aef821168cd in php_cubrid_fetch_hash (ht=2, return_value=0x19377c30, return_value_ptr=value optimized out,
this_ptr=value optimized out, return_value_used=value optimized out, type=value optimized out, is_object=1)
at /tmp/pear/install/CUBRID/php_cubrid.c:5995
#3 0x00002aef82116a06 in zif_cubrid_fetch_object (ht=0, return_value=0x19377c30, return_value_ptr=0x1935c9b0, this_ptr=0x7fff2c01da78,
return_value_used=0) at /tmp/pear/install/CUBRID/php_cubrid.c:3494
#4 0x00000000005e7849 in ?? ()
#5 0x00000000005bd90b in execute ()
#6 0x0000000000599eb5 in zend_execute_scripts ()
#7 0x000000000054acc8 in php_execute_script ()
#8 0x0000000000622c3e in ?? ()
#9 0x0000003562c1d974 in __libc_start_main () from /lib64/libc.so.6
#10 0x0000000000421789 in _start ()

{noformat}

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.