From:             [EMAIL PROTECTED]
Operating system: SuSE 7.2
PHP version:      4.0.5
PHP Bug Type:     Apache related
Bug description:  segmentation fault apache - pgsql

php compiled with --with-pgsql=/usr (apache version

pgsql (v7.1.1) compiled with
./configure --enable-locale --with-perl
--with-odbcinst=/usr/local/psql/odbc --with-openssl=/usr/ssl
--enable-syslog

sorry but i cannot post a script which causes this error cause it is
encoded and i dont have access to the source. The only thing i can say is
that as far as i know there isn't a pgsql statement in the script. only
mysql.

result:
[Thu Jul 19 18:30:32 2001] [notice] child pid 13013 exit signal
Segmentation fault (11)

backtrace
Program received signal SIGSEGV, Segmentation fault.
0x40158303 in memcpy () from /lib/libc.so.6
(gdb) bt
#0  0x40158303 in memcpy () from /lib/libc.so.6
#1  0x400303fe in pqPutBytes () from /usr/local/pgsql/lib/libpq.so.2
#2  0x40030639 in pqPutnchar () from /usr/local/pgsql/lib/libpq.so.2
#3  0x4002e4c7 in PQsendQuery () from /usr/local/pgsql/lib/libpq.so.2
#4  0x4002efa4 in PQexec () from /usr/local/pgsql/lib/libpq.so.2
#5  0x806fd33 in _rollback_transactions (rsrc=0x8176770) at pgsql.c:168
#6  0x80ca335 in zend_hash_apply (ht=0x8141b74, apply_func=0x806fd10
<_rollback_transactions>) at zend_hash.c:692
#7  0x806ff08 in php_rshutdown_pgsql (type=1, module_number=5) at
pgsql.c:246
#8  0x80c6eb6 in module_registry_cleanup (module=0x8166a90) at
zend_API.c:785
#9  0x80ca335 in zend_hash_apply (ht=0x813ea40, apply_func=0x80c6e80
<module_registry_cleanup>) at zend_hash.c:692
#10 0x80cf1c6 in zend_deactivate_modules () at zend.c:522
#11 0x80609fe in php_request_shutdown (dummy=0x0) at main.c:670
#12 0x805d68f in main (argc=4, argv=0xbffff8cc) at cgi_main.c:763
#13 0x400f9c6f in __libc_start_main () from /lib/libc.so.

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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to