Bug #12259 Updated: segmentation fault apache - pgsql

From: Date: Fri, 27 Jul 2001 01:27:59 +0000
Subject: Bug #12259 Updated: segmentation fault apache - pgsql
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-61146@lists.php.net to get a copy of this message
ID: 12259 Updated by: sniper Reported By: r.bhatia@gentics.com Old Status: Open Status: Closed Old Bug Type: Apache related Bug Type: PostgreSQL related Operating System: SuSE 7.2 PHP Version: 4.0.5 New Comment: This is fixed in PHP 4.0.6 Previous Comments: ------------------------------------------------------------------------ [2001-07-19 12:44:36] r.bhatia@gentics.com 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 this bug report at http://bugs.php.net/?id=12259&edit=1

« previous php.dev (#61146) next »