#38928 [Opn->Fbk]: i am getting unserialize error on 64Bit.
| From: | tony2001@php.net | Date: | Mon, 25 Sep 2006 07:23:47 +0000 |
| Subject: | #38928 [Opn->Fbk]: i am getting unserialize error on 64Bit. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-102613@lists.php.net to get a copy of this message | ||
ID: 38928
Updated by: tony2001@php.net
Reported By: tsdreddy at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: windows2003
PHP Version: 4.4.4
New Comment:
No, thank you, we don't need a DB backup.
Please provide a short but complete reproduce script instead.
Previous Comments:
------------------------------------------------------------------------
[2006-09-25 07:20:22] tsdreddy at gmail dot com
Hi
Pl. note that i am getting problem with unserialize with the data which
is mentioned previous post. it is not manually generated, my application
stores it in db. When i am working large POST/GET/Variables my system
gets hang(particularly my explorer.exe of windows2003).
pl. help me asap. if this problem doen't have any solution. i need to
go back to my 32 bit system.
if you want i can send my db backup.
thanks
reddy
------------------------------------------------------------------------
[2006-09-25 07:08:07] tony2001@php.net
Please provide SHORT but COMPLETE reproduce script.
Avoid posting huge scripts.
------------------------------------------------------------------------
[2006-09-23 18:20:41] tsdreddy at gmail dot com
CONTINUITION OF PREVIOUS POST
Code :
unserialize($perms);
Error :
unserialize(): Error at offset 24750 of 83074 bytes
And php getting crash/hang when we are working with large data like
large imports/exports @ phpmyadmin.
i have checked it @
windows003/apache2/mysql-4.0.26-win32/IIS6.0/php-4.4.4
Pl. help me regarding this
thanks
------------------------------------------------------------------------
[2006-09-22 17:10:55] johannes@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2006-09-22 16:50:44] tsdreddy at gmail dot com
Description:
------------
Hi
i am using php4.4.4/windows2003/64-bit os. i am getting unserialize()
error. the sam program and database is working fine in my old 32-bit
system. Pl. help me regarding this
thanks
reddy
Reproduce code:
---------------
if (!$perms) {
if ($group != -1) {
$data = $this->db->fetch("SELECT group_perms FROM
{$this->pre}groups WHERE group_id={$group}");
$perms = $data['group_perms'];
} else {
$data = $this->db->fetch("SELECT user_perms, user_group FROM
{$this->pre}users WHERE user_id={$user}");
$perms = $data['user_perms'];
$group = $data['user_group'];
}
}
$this->cube = unserialize($perms);
if (!$this->cube) {
$this->cube = $this->standard;
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38928&edit=1