ID: 28000
User updated by: ustaz99 at catcha dot com
Reported By: ustaz99 at catcha dot com
-Status: Feedback
+Status: Open
Bug Type: PostgreSQL related
Operating System: Linux MDK10.0
PHP Version: 4.3.5
New Comment:
#0 0x40c00d60 in execute (op_array=0x85371cc,
tsrm_ls=0x831d668)
at /root/php-4.3.5/Zend/zend_execute.c:1252
#1 0x40c05ef0 in execute (op_array=0x8539b64,
tsrm_ls=0x831d668)
at /root/php-4.3.5/Zend/zend_execute.c:2186
#2 0x40c05ef0 in execute (op_array=0x853508c,
tsrm_ls=0x831d668)
at /root/php-4.3.5/Zend/zend_execute.c:2186
#3 0x40bf4c7a in zend_execute_scripts (type=8,
tsrm_ls=0x831d668, retval=Variable "retval" is not
available.
)
at /root/php-4.3.5/Zend/zend.c:889
#4 0x40bc65a4 in php_execute_script
(primary_file=0x40e47800,
tsrm_ls=0x831d668) at /root/php-4.3.5/main/main.c:1731
#5 0x40c08359 in php_ns_module_main (tsrm_ls=Variable
"tsrm_ls" is not available.
)
at /root/php-4.3.5/sapi/aolserver/aolserver.c:419
#6 0x40c086b5 in php_ns_request_handler
(context=0x80c7360, conn=Variable "conn" is not available.
)
at /root/php-4.3.5/sapi/aolserver/aolserver.c:503
#7 0x4003a152 in Ns_ConnRunRequest ()
from /usr/local/aolserver/lib/libnsd.so
#8 0x4003b9d6 in ConnRun ()
from /usr/local/aolserver/lib/libnsd.so
#9 0x4003b660 in NsConnThread ()
from /usr/local/aolserver/lib/libnsd.so
#10 0x40067c18 in NsThreadMain ()
from /usr/local/aolserver/lib/libnsthread.so
#11 0x4006914a in ThreadMain ()
from /usr/local/aolserver/lib/libnsthread.so
#12 0x401227d3 in start_thread ()
from /lib/tls/libpthread.so.0
#13 0x4023ab4a in clone () from /lib/tls/libc.so.6
Previous Comments:
------------------------------------------------------------------------
[2004-04-14 22:28:34] [EMAIL PROTECTED]
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
..and configure PHP with --enable debug and get us a proper backtrace
(with GDB command 'bt')
------------------------------------------------------------------------
[2004-04-14 22:11:27] ustaz99 at catcha dot com
Description:
------------
entering username=apache password=apache make my aolserver
crash with phpPgAdmin-3.3.1
'./configure' '--with-aolserver=/usr/local/aolserver/'
'--with-pgsql'
# aolserver-4.01
# php-4.3.5
Reproduce code:
---------------
entering success login phpPgAdmin-3.3.1 script
Expected result:
----------------
(gdb) r -f -t /usr/local/aolserver/bin/config.tcl -u
apache -g apache
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1088555952 (LWP 3368)]
0x40c00d60 in execute (op_array=0x81e33a4,
tsrm_ls=0x80c7390)
at /root/php-4.3.5/Zend/zend_execute.c:1252
1252
zend_fetch_var_address(EX(opline), EX(Ts), BP_VAR_W
TSRMLS_CC);
(gdb) i r
eax 0x80c7390 135033744
ecx 0x82040cc 136331468
edx 0x40e1b9d4 1088534996
ebx 0x40c47f1c 1086619420
esp 0x40e10f50 0x40e10f50
ebp 0x40e1ba28 0x40e1ba28
esi 0x82040cc 136331468
edi 0x40e10f50 1088491344
eip 0x40c00d60 0x40c00d60
eflags 0x210213 2163219
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
Actual result:
--------------
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28000&edit=1