#53 mmcache 2.4.1 crash with session_handler=mmcache

closed-fixed
nobody
None
5
2003-10-31
2003-10-14
kyle wong
No

mmcache 2.4.1 crash with session_handler=mmcache.

envoirnment:
php4.3.4RC1
mmcache 2.4.1

session.save_handler = mmcache
zend_extension="/usr/local/apache/libexec/mmcache.so"
mmcache.shm_size="32"
mmcache.cache_dir="/tmp/mmcache"
mmcache.enable="1"
mmcache.optimizer="1"
mmcache.check_mtime="1"
mmcache.debug="0"
mmcache.filter=""
mmcache.shm_max="0"
mmcache.shm_ttl="0"
mmcache.shm_prune_period="0"
mmcache.shm_only="0"
mmcache.compress="1"
mmcache.keys="shm_only"
mmcache.sessions="shm_only"
mmcache.content="shm_only"

My webserver run very well with session.save_handler =
mmcache for several days, then suddenly, mmcache
keep crashing and my error_log show many:

child pid 19154 exit signal Segmentation fault (11)
MMCACHE: PHP crashed
child pid 16761 exit signal Segmentation fault (11)
......
child pid 19945 exit signal Segmentation fault (11)
MMCACHE: PHP crashed on opline 4 of session_start()
at /www/session.php:17
MMCACHE: PHP crashed on opline 4 of session_start()
at /www/session.php:17
MMCACHE: PHP crashed on opline 4 of session_start()
at /www/session.php:17
.....
child pid 19945 exit signal Segmentation fault (11)
child pid 19945 exit signal Segmentation fault (11)
child pid 19945 exit signal Segmentation fault (11)

session.php line 17 is:
session_start();

Discussion

  • Dmitry Stogov

    Dmitry Stogov - 2003-10-14

    Logged In: YES
    user_id=124551

    I think this is the result of shared memory corruptions. I don't
    exectly know the reason of that, but I have fixed one bug
    which can be the reason. Please, wait for 2.4.3 and then let
    me know if this bug still occurs or not.

     
  • Dmitry Stogov

    Dmitry Stogov - 2003-10-31

    Logged In: YES
    user_id=124551

    I hope the BUG is fixed in 2.4.4 and 2.4.5.
    If not please reopen it.

     
  • Dmitry Stogov

    Dmitry Stogov - 2003-10-31
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks