From:             janp at eecs dot berkeley dot edu
Operating system: redhat as 2.1
PHP version:      4.3.3
PHP Bug Type:     Session related
Bug description:  mm sessions don't work: mm_malloc error

Description:
------------
Using mm 1.3.0 (not the OS default), php 4.3.3 on redhat advanced server
2.1.  In php.ini have session.save_handler = mm.  When try to start a
session, get 
"Unknown(): mm_malloc failed, avail 0, err mm:core: Failed to lock
(Permission denied) in *Unknown* on line *0**"

configure:
./configure \
"--prefix=/opt/php-4.3.3" \
"--with-apxs=/opt/apache_1.3.28/sbin/apxs" \
"--disable-path-info-check" \
"--with-config-file-path=/opt/httpd/etc" \
"--disable-short-tags" \
"--with-openssl" \
"--with-ldap" \
"--with-oci8=/u01/app/oracle/product/9.2.0.1.0" \
"--with-mm=/opt/mm-1.3.0" \
"--enable-sigchild" \
"--with-mysql=no"

It looks like this problem has been reported before, but is supposed
to be fixed by using the latest php and latest mm, which I am.


Reproduce code:
---------------
<?php
session_start();
?>


Expected result:
----------------
No error messages.

Actual result:
--------------
Error message given above: mm_malloc failed

-- 
Edit bug report at http://bugs.php.net/?id=25576&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25576&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25576&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25576&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25576&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25576&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25576&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25576&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25576&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25576&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25576&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25576&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25576&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25576&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25576&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25576&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25576&r=float

Reply via email to