Uploaded image for project: 'Apache Trafodion'
  1. Apache Trafodion
  2. TRAFODION-2888

Streamline setjmp/longjmp concepts in Trafodion

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3
    • Component/s: sql-general
    • Labels:
      None

      Description

      I happened to come across a core dump with longjmp in executor layer that brought down the node. Unfortunately, the core dump wasn’t useful to figure out what was the root cause for the longjmp. Hence,

      a) I wonder is there a way to figure out what caused longjmp from the core?
      b) If no, why do longjmp? It might be better to let it dump naturally by accessing the invalid address or null pointer right at the point of failure.

      Was longjmp put in place in legacy Trafodion code base to avoid node being brought down when the privilege code gets into segment violation?

      If a) is not possible, I would want to remove the remnants of setjmp and longjmp from the code to enable us to debug the issue better.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                selvag Selvaganesan Govindarajan
                Reporter:
                selvag Selvaganesan Govindarajan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: