ID:               38525
 User updated by:  judas dot iscariote at gmail dot com
 Reported By:      judas dot iscariote at gmail dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Reproducible crash
 Operating System: linux
 PHP Version:      5.2.0RC2
 New Comment:

Tony :
Sadly I still get a segfault with a fresh CVS copy :-(

=32459== Process terminating with default action of signal 11
(SIGSEGV)
==32459==  Bad permissions for mapped region at address 0x18
==32459==    at 0x7BEC108: zend_mm_add_to_free_list (zend_alloc.c:465)
==32459==    by 0x7BEDC23: _zend_mm_alloc_int (zend_alloc.c:1233)
==32459==    by 0x7BEEB7D: _zend_mm_realloc_int (zend_alloc.c:1543)
==32459==    by 0x7BEEE9D: _erealloc (zend_alloc.c:1633)
==32459==    by 0x7B84771: php_var_serialize_string (var.c:538)
==32459==    by 0x7B86607: php_var_serialize_intern (var.c:701)
==32459==    by 0x7B88679: php_var_serialize_intern (var.c:827)
==32459==    by 0x7B88679: php_var_serialize_intern (var.c:827)
==32459==    by 0x7B89295: php_var_serialize (var.c:845)
==32459==    by 0x7B00700: ps_srlzr_encode_php (session.c:479)
==32459==    by 0x7B01268: php_session_encode (session.c:581)
==32459==    by 0x7B01DDD: php_session_save_current_state
(session.c:860)
==32459==
==32459== ERROR SUMMARY: 26 errors from 8 contexts (suppressed: 149
from 1)
==32459== malloc/free: in use at exit: 21,210,557 bytes in 5,186
blocks.
==32459== malloc/free: 169,756 allocs, 164,570 frees, 216,925,409 bytes
allocated.
==32459== For counts of detected errors, rerun with: -v
==32459== searching for pointers to 5,186 not-freed blocks.
==32459== checked 19,498,696 bytes.


Previous Comments:
------------------------------------------------------------------------

[2006-08-23 13:04:57] [EMAIL PROTECTED]

This seems to be a duplicate of bug #38265.
Dmitry has committed a patch for it several minutes ago, please try the
next snapshot (or CVS sources).
Thanks. 

------------------------------------------------------------------------

[2006-08-22 08:02:57] [EMAIL PROTECTED]

No, using IMAP server on a different machine didn't change anything. It
still works fine without any crashes.

------------------------------------------------------------------------

[2006-08-22 06:14:48] judas dot iscariote at gmail dot com

ok. I now checked a fresh copy from the cvs, and reduced my php
installation to the really minimum to run the offended app that
crashes.

my configure line now is :

./configure --enable-debug --with-pcre-regex --with-iconv
--enable-session --disable-all --with-libdir=lib64 --with     
-apxs2=/usr/sbin/apxs2

results :

imap server in remote === RANDOM CRASH
imap server in localhost === NO CRASH.

the gdb and valgrind info are the same.

------------------------------------------------------------------------

[2006-08-22 03:02:36] judas dot iscariote at gmail dot com

Tony, were you tested.. IMAP server was in the same machine or in a
remote machine.. ? I think that counts for this problem. I cannot get
this crash when imap server is in localhost.

------------------------------------------------------------------------

[2006-08-21 22:36:58] [EMAIL PROTECTED]

I've tested it on 3 different machines (1 x86 and 2 x86-64) and I can't
see any crashes whatsoever.
Please try to reduce the reproduce code and/or provide access to the
machine where it's reproducible.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/38525

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

Reply via email to