Sorry i ommit this test :
etch:/usr/local/bin# gdb ./php
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db
library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) run /web/clients/client1/www/listepg.php
Starting program: /usr/local/bin/php /web/clients/client1/www/listepg.php
[Thread debugging using libthread_db enabled]
[New Thread -1215973696 (LWP 18163)]
cnnexion*** glibc detected *** free(): invalid pointer: 0xb48f1280 ***
Program received signal SIGABRT, Aborted.
[Switching to Thread -1215973696 (LWP 18163)]
0xb7f45410 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7f45410 in __kernel_vsyscall ()
#1 0xb78f2811 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb78f3fb9 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7927dfa in __fsetlocking () from /lib/tls/i686/cmov/libc.so.6
#4 0xb792f68f in mallopt () from /lib/tls/i686/cmov/libc.so.6
#5 0xb792f732 in free () from /lib/tls/i686/cmov/libc.so.6
#6 0xb6d52d56 in PQreset () from /usr/lib/libpq.so.4
#7 0xb6d532f3 in PQconndefaults () from /usr/lib/libpq.so.4
#8 0xb6d53c1a in PQconnectStart () from /usr/lib/libpq.so.4
#9 0xb6d53c72 in PQconnectdb () from /usr/lib/libpq.so.4
#10 0xb6d7d1e5 in php_pgsql_do_connect (ht=1, return_value=0xb48b9e48,
return_value_ptr=<value optimized out>, this_ptr=0x0,
return_value_used=1, persistent=0) at
/usr/local/php-5.2.5/ext/pgsql/pgsql.c:787
#11 0x08349a61 in execute_internal (execute_data_ptr=0xbfa45a00,
return_value_used=1)
at /usr/local/php-5.2.5/Zend/zend_execute.c:1385
#12 0xb6d3d516 in suhosin_execute_internal (execute_data_ptr=0xbfa45a00,
return_value_used=1)
at /usr/local/suhosin-0.9.23/execute.c:1211
#13 0x0834bcb6 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbfa45a00) at /usr/local/php-5.2.5/Zend/zend_vm_execute.h:202
#14 0x0834aee8 in execute (op_array=0xb48b8ce4) at
/usr/local/php-5.2.5/Zend/zend_vm_execute.h:92
#15 0xb6d3d913 in suhosin_execute_ex (op_array=0xb48b8ce4, zo=0,
dummy=0) at /usr/local/suhosin-0.9.23/execute.c:559
#16 0x0832d874 in zend_execute_scripts (type=8, retval=<value optimized
out>, file_count=3)
at /usr/local/php-5.2.5/Zend/zend.c:1134
#17 0x082ee250 in php_execute_script (primary_file=0xbfa47e88) at
/usr/local/php-5.2.5/main/main.c:2004
#18 0x083a6d77 in main (argc=2, argv=0xbfa47f94) at
/usr/local/php-5.2.5/sapi/cli/php_cli.c:1140
(gdb)
Hope this helps...
Patrick
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]