php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20764 session_handler=mm complais about mm_malloc
Submitted: 2002-12-02 10:54 UTC Modified: 2002-12-04 01:55 UTC
From: mikav at raketti dot net Assigned:
Status: Closed Package: Session related
PHP Version: 4.2.3 OS: RH7.2
Private report: No CVE-ID: None
 [2002-12-02 10:54 UTC] mikav at raketti dot net
I saw another thread about this bug: http://bugs.php.net/bug.php?id=19039

I've compiled PHP-4.2.3 to apache 1.3.27 including --with-mm (mm-1.1.3-8 & devel packages installed).

When using sessions (save_handler=mm) in PHP, it complains: "Warning: mm_malloc failed, avail 0, err mm:core: Failed to lock (Permission denied) in Unknown on line 0"

Seems to be some kind of permission problem in SHM. Not sure though what is wrong.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-02 18:49 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip
 [2002-12-03 13:00 UTC] mikav at raketti dot net
Unable to use latest (unstable?) snapshot, because it's a production environment. Is it possible to get a patch where only mm-session related things are changed?
 [2002-12-04 01:55 UTC] sniper@php.net
You just have to wait for 4.3.0 be released then.
This works just fine for me.

 [2002-12-29 11:33 UTC] mikav at raketti dot net
Tested with new release of PHP (4.3.0). Does not work even with it, complains about permission problem.
 [2002-12-29 11:59 UTC] mikav at raketti dot net
Okay, bug solved. The problem was in MM, and was fixed in RedHat mm-packages update, which can be found from https://rhn.redhat.com/errata/RHBA-2002-273.html.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 17 13:01:27 2024 UTC