[Tickets #4313] NEW: Segmentation fault

bugs@bugs.horde.org bugs at bugs.horde.org
Fri Aug 18 09:03:23 PDT 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4313
-----------------------------------------------------------------------
 Ticket             | 4313
 Created By         | dgehl at inverse.ca
 Summary            | Segmentation fault
 Queue              | Horde Framework Packages
 Version            | FRAMEWORK_3
 Type               | Bug
 State              | Unconfirmed
 Priority           | 2. Medium
 Owners             | 
-----------------------------------------------------------------------


dgehl at inverse.ca (2006-08-18 09:03) wrote:

Horde 3.1.3, IMP 4.1.3, Apache/2.0.52, PHP 4.3.9 on RHEL4 (SELinux
disabled)

$conf['log']['priority'] = PEAR_LOG_DEBUG
$conf['sessionhandler']['type'] = 'pgsql';

This genereates a segmentation fault in several pages (most of the time on
the login page, but others are affected too). Changing to
$conf['log']['priority'] = PEAR_LOG_INFO or setting the sessionhandler to
'none' solves the issue.

Here's the information from the httpd core dump and gdb:

#0  0x00ad1a2c in memcpy () from /lib/tls/libc.so.6
(gdb) bt
#0  0x00ad1a2c in memcpy () from /lib/tls/libc.so.6
#1  0x00e9534b in _mem_block_check (ptr=0x9a08b84, silent=0,
__zend_filename=0xed9970
"/usr/src/redhat/BUILD/php-4.3.9/ext/standard/string.c",
__zend_lineno=3127,
    __zend_orig_filename=0x0, __zend_orig_lineno=0) at
/usr/src/redhat/BUILD/php-4.3.9/Zend/zend_alloc.c:675
#2  0x00e9530d in _mem_block_check (ptr=0x9a08b84, silent=1,
__zend_filename=0xed9970
"/usr/src/redhat/BUILD/php-4.3.9/ext/standard/string.c",
__zend_lineno=3127,
    __zend_orig_filename=0x0, __zend_orig_lineno=0) at
/usr/src/redhat/BUILD/php-4.3.9/Zend/zend_alloc.c:667
#3  0x00e944cb in _efree (ptr=0x9a08b84, __zend_filename=0xed9970
"/usr/src/redhat/BUILD/php-4.3.9/ext/standard/string.c",
__zend_lineno=3127,
    __zend_orig_filename=0x0, __zend_orig_lineno=0) at
/usr/src/redhat/BUILD/php-4.3.9/Zend/zend_alloc.c:243
#4  0x00e41b24 in zif_setlocale (ht=2, return_value=0x9a18344,
this_ptr=0x0, return_value_used=0) at
/usr/src/redhat/BUILD/php-4.3.9/ext/standard/string.c:3127
#5  0x00ebd4f6 in execute (op_array=0x91657cc) at
/usr/src/redhat/BUILD/php-4.3.9/Zend/zend_execute.c:1640
#6  0x00ebd771 in execute (op_array=0x93210ac) at
/usr/src/redhat/BUILD/php-4.3.9/Zend/zend_execute.c:1684
#7  0x00e9e977 in call_user_function_ex (function_table=0x9332000,
object_pp=0x932a768, function_name=0x932178c, retval_ptr_ptr=0xbfe9ebe4,
param_count=2,
    params=0x9723fac, no_separation=1, symbol_table=0x0) at
/usr/src/redhat/BUILD/php-4.3.9/Zend/zend_execute_API.c:567
#8  0x00e9df81 in call_user_function (function_table=0x901ab18,
object_pp=0x0, function_name=0x932a844, retval_ptr=0x9a1bccc,
param_count=2, params=0xbfe9ec68)
    at /usr/src/redhat/BUILD/php-4.3.9/Zend/zend_execute_API.c:409
#9  0x00dde06e in ps_call_handler (func=0x932a844, argc=2,
argv=0xbfe9ec68) at
/usr/src/redhat/BUILD/php-4.3.9/ext/session/mod_user.c:60
#10 0x00dde695 in ps_write_user (mod_data=0xf07310, key=0x92d698c
"555d66f42dd88768d0c97638a5a2c821",
    val=0x9a64164
"imp|a:29:{s:5:\"cache\";a:0:{}s:4:\"pass\";s:7:\"v\036\032?207\rN\";s:11:\"_logintasks\";i:0;s:4:\"user\";s:11:\"xxxxxxxxxxx\";s:8:\"uniquser\";s:23:\"xxxxxxxxxxxxxxxxxxxxxxx\";s:6:\"server\";s:9:\"localhost\";s:3:\"acl\";b:0;s:5:\""...,
vallen=80476) at
/usr/src/redhat/BUILD/php-4.3.9/ext/session/mod_user.c:148
#11 0x00dd9d27 in php_session_save_current_state () at
/usr/src/redhat/BUILD/php-4.3.9/ext/session/session.c:696
#12 0x00ddd123 in php_session_flush () at
/usr/src/redhat/BUILD/php-4.3.9/ext/session/session.c:1605
#13 0x00ddd14e in zm_deactivate_session (type=1, module_number=8) at
/usr/src/redhat/BUILD/php-4.3.9/ext/session/session.c:1619
#14 0x00eaccea in module_registry_cleanup (module=0x90b7df8) at
/usr/src/redhat/BUILD/php-4.3.9/Zend/zend_API.c:1167
#15 0x00eafea3 in zend_hash_apply (ht=0xf0b720, apply_func=0xeacca7
<module_registry_cleanup>) at
/usr/src/redhat/BUILD/php-4.3.9/Zend/zend_hash.c:703
#16 0x00ea8954 in zend_deactivate_modules () at
/usr/src/redhat/BUILD/php-4.3.9/Zend/zend.c:652
#17 0x00e6b6c2 in php_request_shutdown (dummy=0x0) at
/usr/src/redhat/BUILD/php-4.3.9/main/main.c:993
#18 0x00ec3079 in php_apache_request_dtor (r=0x911c948) at
/usr/src/redhat/BUILD/php-4.3.9/sapi/apache2handler/sapi_apache2.c:461
#19 0x00ec384c in php_handler (r=0x911c948) at
/usr/src/redhat/BUILD/php-4.3.9/sapi/apache2handler/sapi_apache2.c:595
#20 0x002839d7 in ap_run_handler () from /usr/sbin/httpd
#21 0x00283e43 in ap_invoke_handler () from /usr/sbin/httpd
#22 0x002808c5 in ap_process_request () from /usr/sbin/httpd
#23 0x0027b63f in _start () from /usr/sbin/httpd
#24 0x0911c948 in ?? ()
#25 0x00000004 in ?? ()
#26 0x0911c948 in ?? ()
#27 0x09110450 in ?? ()
#28 0x091108ff in ?? ()
#29 0x00000000 in ?? ()
(gdb) frame 5
#5  0x00ebd4f6 in execute (op_array=0x91657cc) at
/usr/src/redhat/BUILD/php-4.3.9/Zend/zend_execute.c:1640
1640                                                           
((zend_internal_function *)
EX(function_state).function)->handler(EX(opline)->extended_value,
EX(Ts)[EX(opline)->result.u.var].var.ptr, EX(object).ptr,
return_value_used TSRMLS_CC);
(gdb) print (char
*)(executor_globals.function_state_ptr->function)->common.function_name
$1 = 0xed1dfd "setlocale"
(gdb) print (char *)executor_globals.active_op_array->function_name
$2 = 0x9163cfc "logmessage"
(gdb) print (char *)executor_globals.active_op_array->filename
$3 = 0x9164544 "/var/www/html/horde-3.1.3/lib/Horde.php"






More information about the bugs mailing list