From:             [EMAIL PROTECTED]
Operating system: Redhat Linux 7.3  kernel 2.4.18
PHP version:      4.3.0-pre2
PHP Bug Type:     Apache2 related
Bug description:  Apache segfaults when using horde/imp

I installed apache 2.0.43 and php 4.3.0-pre2 and i get segfaults after
login in imp (horde 2.1 + imp 3.1).

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 22742)]
zend_hash_get_current_data_ex (ht=0x83fcf1c, pData=0xbffe8ec8,
pos=0xbffe8ecc)
    at /usr/src/php-4.3.0pre2/Zend/zend_hash.c:1101
1101                    *pData = p->pData;
(gdb)
(gdb) bt
#0  zend_hash_get_current_data_ex (ht=0x83fcf1c, pData=0xbffe8ec8,
    pos=0xbffe8ecc) at /usr/src/php-4.3.0pre2/Zend/zend_hash.c:1101
#1  0x40256730 in php_implode (delim=0x83ec6f4, arr=0x83ec6f4,
    return_value=0x83ed144) at
/usr/src/php-4.3.0pre2/ext/standard/string.c:830
#2  0x40256a27 in zif_implode (ht=2, return_value=0x83ed144,
this_ptr=0x0,
    return_value_used=1) at
/usr/src/php-4.3.0pre2/ext/standard/string.c:886
#3  0x402ce080 in execute (op_array=0x83f18ac)
    at /usr/src/php-4.3.0pre2/Zend/zend_execute.c:1595
#4  0x402ce23e in execute (op_array=0x827ec74)
    at /usr/src/php-4.3.0pre2/Zend/zend_execute.c:1639
#5  0x402ce23e in execute (op_array=0x827f00c)
    at /usr/src/php-4.3.0pre2/Zend/zend_execute.c:1639
#6  0x402ce23e in execute (op_array=0x834215c)
    at /usr/src/php-4.3.0pre2/Zend/zend_execute.c:1639
#7  0x402bbbe4 in zend_execute_scripts (type=8, retval=0x0, file_count=3)
    at /usr/src/php-4.3.0pre2/Zend/zend.c:839
#8  0x40296111 in php_execute_script (primary_file=0xbffff7d0)
    at /usr/src/php-4.3.0pre2/main/main.c:1542
#9  0x402d5eae in php_output_filter (f=0x8267d08, bb=0x8268b78)
    at /usr/src/php-4.3.0pre2/sapi/apache2filter/sapi_apache2.c:458
#10 0x080acdd0 in ap_pass_brigade (next=0x8267d08, bb=0x8267e50)
    at util_filter.c:540
#11 0x080b3eec in default_handler (r=0x82660b0) at core.c:3320
#12 0x080a09fc in ap_run_handler (r=0x82660b0) at config.c:194
#13 0x080a0ffe in ap_invoke_handler (r=0x82660b0) at config.c:401
#14 0x0807794c in ap_process_request (r=0x82660b0) at http_request.c:288
#15 0x08073164 in ap_process_http_connection (c=0x8259eb8) at
http_core.c:293
#16 0x080aa984 in ap_run_process_connection (c=0x8259eb8) at
connection.c:85
#17 0x080aac6f in ap_process_connection (c=0x8259eb8, csd=0x8259de8)
    at connection.c:207
#18 0x0809f39b in child_main (child_num_arg=0) at prefork.c:696
#19 0x0809f45d in make_child (s=0x80e9878, slot=0) at prefork.c:736
#20 0x0809f56b in startup_children (number_to_start=5) at prefork.c:808
#21 0x0809f941 in ap_mpm_run (_pconf=0x80e5cd0, plog=0x812bde8,
s=0x80e9878)
    at prefork.c:1024
#22 0x080a5698 in main (argc=4, argv=0xbffffb64) at main.c:643
#23 0x42017499 in __libc_start_main () from /lib/i686/libc.so.6


My configure line:
./configure \
  --with-apxs2=/usr/local/apache2/bin/apxs      \
  --enable-magic-quotes  \
  --enable-dbase  \
  --enable-ftp   \
  --with-gettext \
  --with-imap \
  --with-imap-ssl \
  --with-kerberos \
  --enable-mime-magic  \
  --with-mysql  \
  --with-mm \
  --enable-sockets  \
  --enable-sysvmsg   \
  --enable-sysvsem   \
  --enable-sysvshm

Thanks.

-- 
Edit bug report at http://bugs.php.net/?id=20218&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20218&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20218&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20218&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20218&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20218&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20218&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20218&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20218&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20218&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20218&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20218&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20218&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20218&r=isapi

Reply via email to