#23516 [Com]: pear registry crached after usage of pear_frontend_Web
| From: | pear dot php dot net at e1da dot net | Date: | Tue, 27 May 2003 01:42:08 +0000 |
| Subject: | #23516 [Com]: pear registry crached after usage of pear_frontend_Web | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-16736@lists.php.net to get a copy of this message | ||
ID: 23516
Comment by: pear dot php dot net at e1da dot net
Reported By: stefan dot textor at dsi-project dot de
Status: Assigned
Bug Type: PEAR related
Operating System: windows XP
PHP Version: 4.3.1
Assigned To: pajoye
New Comment:
C:\php4>pear list
Notice: unserialize(): Error at offset 760 of 1363 bytes in
Registry.php on line
327
Error relates to unserialize() of "Var_Dump.reg";
offset 760 is around;
s:11:"description";s:360:"Displays informations about the
...
are printed.";s:11:"maintainers";
^here
I count 364 characters for this string.
There are 4 lines in this string
it includes 4 0x0d0x0A pairs
The .reg files created by cli pear install have 0x0a for line feeds.
Is there something wrong with the way the web interface serializes line
feeds?
Regards
Andrew Braund
PS I can fix the registry by uninstalling the package using the web
interface than installing it again using cli.
Previous Comments:
------------------------------------------------------------------------
[2003-05-24 10:38:28] pajoye@php.net
Hello,
Can you try with latest php snapshot?
I suspect that may come from a serialize problem.
pierre
------------------------------------------------------------------------
[2003-05-10 15:09:04] pajoye@php.net
Hello,
Can you paste here the errors printed by the installer?
and try with the latest php snapshots (PEAR, 4.3.1 works well with PEAR
1.1)?
thank's for your report
pierre
------------------------------------------------------------------------
[2003-05-06 18:56:03] stefan dot textor at dsi-project dot de
after problemless usage of pear_frontend_Web, i had a few days ago a
growing problem with the pear registry:
function.unserialize: corruption at offset [bla]
i have tested this with the latest packages on pear 1.01 and pear 1.1
and was able to reproduce it.
in my opinion it must be a sideeffect of a package released in the last
7 days used by pear installer directly. in the old installation (pear
1.01) i had all stable packages installed and the error should have
occured during an upgrade. in the new installation (pear 1.1 out of php
4.3.2rc2 zip package)
i had only the basically installed packages and the packages needed for
pear_frontend_web. after installation of one or two packages (starting
topdown the list) the error occured again.
the error is only shown in the comandline installer. the webinstaller
does not seem to remark the corrupted registry.
sorry for my bad english :(
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23516&edit=1