Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6834041

java-corba: Recursive calls in CorbaClientDelegateImpl.is_a

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Won't Fix
    • Affects Version/s: 5.0u10
    • Fix Version/s: 6-pool
    • Component/s: other-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux_2.4

      Description

      HW = HP Proliant
      OS = Linux (what version) Red Hat Linux 2.4.21-58.ELhugemem
      Product = JDK 5.0 upd 10
       Stack trace with many recursive calls within is_a method (under
      complete stack trace)

      The StackOverflowError exception is thrown because there is too many
      recursive calls from CorbaClientDelegateImpl.is_a which fills up the
      stack.

      In checking the code, it was calling recursively because
      an exception : RemarshalException was caught, and this
      routine "is_a" tries again. See line 221.

      As you can see, the recursive call finally terminated, and
      progresses on... but eventually reach the stack limit,
      hence the exception.

         at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marsh
      alingComplete1(CorbaClientRequestDispatcherImpl.java:349)
            at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marsh
      alingComplete(CorbaClientRequestDispatcherImpl.java:323)
            at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaCl <-==
      at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClie <====
      ntDelegateImpl.java:221)

      Details are in the comments section.

        Attachments

          Activity

            People

            • Assignee:
              vchoudhaorcl Vaibhav Choudhary (Inactive)
              Reporter:
              kbteo Kim Teo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: