stack overflow with IE not with Mozilla?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Geoff Cox

    stack overflow with IE not with Mozilla?

    Hello,

    Some one is getting the "stack overflow" error message when using a
    Javascript program which I wrote when using Internet Explorer but not
    when using Mozilla.

    Any ideas as to how I might find out what is happening?

    Cheers,

    Geoff
  • VK

    #2
    Re: stack overflow with IE not with Mozilla?

    On Mar 26, 8:44 pm, Geoff Cox wrote:
    Some one is getting the "stack overflow" error message when using a
    Javascript program which I wrote when using Internet Explorer but not
    when using Mozilla.
    >
    Any ideas as to how I might find out what is happening?
    "Stack overflow" message is not among JScript engine run-time error
    messages. Actually the whole internal message table doesn't have a
    single occurrence of the word "stack". So unless I missed something -
    which is always possible - you may be getting an end-user's own
    diagnosis of some real problem. "Stack overflow" is just one of biz-
    words on air currently because included in many "Internet security"
    popular articles. So to find out what is happening I would:
    1. Ask user to confirm that the problem is reproducible on some
    particular resource.
    2. Post a link here.

    Comment

    • Geoff Cox

      #3
      Re: stack overflow with IE not with Mozilla?

      On 26 Mar 2007 13:26:50 -0700, "VK" <schools_ring@y ahoo.comwrote:
      >On Mar 26, 8:44 pm, Geoff Cox wrote:
      >Some one is getting the "stack overflow" error message when using a
      >Javascript program which I wrote when using Internet Explorer but not
      >when using Mozilla.
      >>
      >Any ideas as to how I might find out what is happening?
      >
      >"Stack overflow" message is not among JScript engine run-time error
      >messages. Actually the whole internal message table doesn't have a
      >single occurrence of the word "stack". So unless I missed something -
      >which is always possible - you may be getting an end-user's own
      >diagnosis of some real problem. "Stack overflow" is just one of biz-
      >words on air currently because included in many "Internet security"
      >popular articles. So to find out what is happening I would:
      >1. Ask user to confirm that the problem is reproducible on some
      >particular resource.
      >2. Post a link here.
      OK VK - thanks - will get more info.

      Cheers

      Geoff

      Comment

      • scripts.contact

        #4
        Re: stack overflow with IE not with Mozilla?

        On Mar 26, 2:26 pm, "VK" <schools_r...@y ahoo.comwrote:
        "Stack overflow" message is not among JScript engine run-time error
        messages. Actually the whole internal message table doesn't have a
        single occurrence of the word "stack". So unless I missed something -
        which is always possible - you may be getting an end-user's own
        diagnosis of some real problem.
        try this in IE (not under WinScrHst :
        function x(){
        for(var i=0;;i++)
        x()
        }
        x()

        Comment

        • Geoff Cox

          #5
          Re: stack overflow with IE not with Mozilla?

          On 26 Mar 2007 15:46:48 -0700, "scripts.contac t"
          <scripts.contac t@gmail.comwrot e:
          >On Mar 26, 2:26 pm, "VK" <schools_r...@y ahoo.comwrote:
          >"Stack overflow" message is not among JScript engine run-time error
          >messages. Actually the whole internal message table doesn't have a
          >single occurrence of the word "stack". So unless I missed something -
          >which is always possible - you may be getting an end-user's own
          >diagnosis of some real problem.
          >
          >try this in IE (not under WinScrHst :
          >function x(){
          for(var i=0;;i++)
          x()
          >}
          >x()

          Yes, true enough I get stack overflow pop up box headed

          Microsoft Internet Explorer
          plus

          stack overflow at line: 12

          line 12 for me is x()

          Presumably this is a resursive example but what next?!

          Cheers

          Geoff

          Comment

          • Geoff Cox

            #6
            Re: stack overflow with IE not with Mozilla?

            On 26 Mar 2007 15:46:48 -0700, "scripts.contac t"
            <scripts.contac t@gmail.comwrot e:
            >On Mar 26, 2:26 pm, "VK" <schools_r...@y ahoo.comwrote:
            >"Stack overflow" message is not among JScript engine run-time error
            >messages. Actually the whole internal message table doesn't have a
            >single occurrence of the word "stack". So unless I missed something -
            >which is always possible - you may be getting an end-user's own
            >diagnosis of some real problem.
            >
            >try this in IE (not under WinScrHst :
            >function x(){
            for(var i=0;;i++)
            x()
            >}
            >x()

            I should have added that it does give stack overflow error with IE but
            not with Mozilla - why is this?

            Cheers

            Geoff

            Comment

            • scripts.contact

              #7
              Re: stack overflow with IE not with Mozilla?

              On Mar 27, 1:37 am, Geoff Cox wrote:
              function x(){
              for(var i=0;;i++)
              x()
              }
              x()
              >
              Yes, true enough I get stack overflow pop up box headed
              Presumably this is a resursive example but what next?!
              nothing. i was just replying to VK that he is wrong.
              I should have added that it does give stack overflow error with IE but
              not with Mozilla - why is this?
              it's just different explanation of error.

              Comment

              • VK

                #8
                Re: stack overflow with IE not with Mozilla?

                On Mar 27, 3:31 pm, "scripts.contac t" <scripts.cont.. .@gmail.com>
                wrote:
                On Mar 27, 1:37 am, Geoff Cox wrote:
                >
                >function x(){
                for(var i=0;;i++)
                x()
                >}
                >x()
                >
                Yes, true enough I get stack overflow pop up box headed
                Presumably this is a resursive example but what next?!
                >
                nothing. i was just replying to VK that he is wrong.
                Yep, I was wrong - it is good I carefully reserved my rights for a
                mistake in the first post :-)

                It is a tricky matter with this run-time error. By different IE6 / IE7
                minors the posted sample is reported by errorObject.mes sage either
                "Out of memory" (most of cases) or "Out of stack space" (the OP's
                case). But jscript.dll doesn't have such message, as I said.

                Moreover errorObject.num ber reported as 7 without the regular service
                bytes prefix: all JScript own errors are prefixed by two service bytes
                so to get the actual number you do err.number&0xFF FF but not for this
                error AFAICT
                So I guess it is a propagation from some system module linked with
                jscript.dll

                All this may be interesting but doesn't help to OP. For his "what
                next?!" question the answer remains the same:
                1) Identify at least one resource where the problem can be reproduced.
                2) Link this resource in this thread or post a minimum code
                demonstating this problem.


                Comment

                • scripts.contact

                  #9
                  Re: stack overflow with IE not with Mozilla?

                  On Mar 26, 4:46 pm, "scripts.contac t" <scripts.cont.. .@gmail.com>
                  wrote:
                  On Mar 26, 2:26 pm, "VK" <schools_r...@y ahoo.comwrote:
                  >
                  "Stack overflow" message is not among JScript engine
                  try this in IE (not under WinScrHst :
                  function x(){
                  for(var i=0;;i++)
                  x()}
                  >
                  x()
                  btw, the for() line is not necessary.

                  Comment

                  • VK

                    #10
                    Re: stack overflow with IE not with Mozilla?

                    On Mar 27, 11:38 am, Geoff Cox wrote:
                    On 26 Mar 2007 15:46:48 -0700, "scripts.contac t"
                    I should have added that it does give stack overflow error with IE but
                    not with Mozilla - why is this?


                    You may choose at random any of these. Or - much better - show us one
                    page with the error. Guessing games are fun sometimes but mostly they
                    are boring - not mentioning that useless.
                    ;-)

                    :-|

                    Comment

                    • fred@fred.com

                      #11
                      Re: stack overflow with IE not with Mozilla?

                      On 28 Mar 2007 09:14:10 -0700, "VK" <schools_ring@y ahoo.comwrote:
                      >On Mar 27, 11:38 am, Geoff Cox wrote:
                      >On 26 Mar 2007 15:46:48 -0700, "scripts.contac t"
                      >I should have added that it does give stack overflow error with IE but
                      >not with Mozilla - why is this?
                      >
                      >http://www.google.com/search?hl=en&q...ernet+Explorer
                      >
                      >You may choose at random any of these. Or - much better - show us one
                      >page with the error. Guessing games are fun sometimes but mostly they
                      >are boring - not mentioning that useless.
                      >;-)
                      >
                      >:-|


                      VK - I wonder if you received my email?!

                      Cheers

                      Geoff

                      Comment

                      • Geoff Cox

                        #12
                        Re: stack overflow with IE not with Mozilla?

                        On 28 Mar 2007 09:14:10 -0700, "VK" <schools_ring@y ahoo.comwrote:
                        >On Mar 27, 11:38 am, Geoff Cox wrote:
                        >On 26 Mar 2007 15:46:48 -0700, "scripts.contac t"
                        >I should have added that it does give stack overflow error with IE but
                        >not with Mozilla - why is this?
                        >
                        >http://www.google.com/search?hl=en&q...ernet+Explorer
                        >
                        >You may choose at random any of these. Or - much better - show us one
                        >page with the error. Guessing games are fun sometimes but mostly they
                        >are boring - not mentioning that useless.
                        >;-)
                        >
                        >:-|

                        Sorry about the fred@fred.com - having a problem with my newsreader!

                        Geoff

                        Comment

                        • VK

                          #13
                          Re: stack overflow with IE not with Mozilla?

                          On Mar 29, 2:27 am, f...@fred.com wrote:
                          VK - I wonder if you received my email?!
                          This e-mail is in use for Usenet postings since 1997, so you may
                          imagine the amount of daily spam into it despite any filters. Now
                          after you told me I found your letter in the collector. See my reply.

                          Comment

                          Working...