Re: UNIVERSAL::can function failing under heavy load



"lee" <gary.hansen@xxxxxxxxxxxxx> wrote:
> Thanks for the reply and sorry for the lazy description of the error
> message. The error message actually contains the name of an object.
> And indeed that object does contain a copy method, and produces no
> error messages under other circumstances that we have tested. We are
> unable to determine why it would fail. As mentioned, most the reports
> have come during hi load on the web site.

Is the high load due to other things running, or because very many
instances of this same code are running? If the load is due to this code,
then it is not surprising that that is when you encounter the error. If
there is a 0.0000001 chance of encountering a corner-case bug in your code,
you are more likely to encounter it when there are 10,000 cases executed
per second than when there are 10 cases per second.


> I have concluded that
> perhaps it is a memory problem, perhaps it is being over-written, so
> that it the can method is failing or something like that. Was curious
> if someone had seen something like this.

Nope. But in the last-resort else block, I would print out the
Data::Dumper on the object, not just the stringified reference. Then I
would run copy() on it anyway, to so if "can" was right about there not
being a copy method.

BTW, @Deep_copy_stack doesn't seem to be lexically scoped. I dont' see how
that would cause this particular problem, but I'd fix it anyway just in
case.

Xho

--
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service $9.95/Month 30GB
.



Relevant Pages

  • RE: RWW - RDP to desktop failing to load
    ... I understand that you encounter following error message when trying to RDP ... to domain computer's desktop through RWW: ...
    (microsoft.public.windows.server.sbs)
  • ASP.NET Question
    ... it seems to load but boms out with 404 error. ... machine 2 Error message ... details and modify your source file appropriately. ... Parser Error Message: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Dept of Utterly Useless Error Messages
    ... There's a box with an alert icon and an okay button. ... I've been hacking some Wiki extensions at work that load project information ... So under IE6 you got a useless error message. ...
    (Fedora)
  • Help: Visual Basic Editor Not Loading Msg
    ... I have Office 98 for the Mac, and this is the error message that comes up ... every time I load it. ... "There is not enough memory to load the Microsoft Office 98 Microsoft Object ...
    (microsoft.public.mac.office)
  • Re: Flash Player Crashes IE6 (Internet Explorer)
    ... I tried the registry change but still get the same error message about ... > ActiveX controls may not load as expected in Internet Explorer due to ...
    (microsoft.public.windows.inetexplorer.ie6.browser)