Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-3108

Jvm will crash when CarbonRow use wrong index number in CSDK

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.1
    • None
    • None
    • None

    Description

      Jvm will crash when CarbonRow use wrong index number in CSDK

      like use :

       jobject row = reader.readNextRow();
                  carbonRow.setCarbonRow(row);
                  printf("%s\t", carbonRow.getString(1));
      

      crash:

      [Dynamic-linking native method java.lang.Float.intBitsToFloat ... JNI]
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      #  SIGSEGV (0xb) at pc=0x000000010a24a94c, pid=25600, tid=0x0000000000000307
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0_171-b11) (build 1.8.0_171-b11)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.171-b11 mixed mode bsd-amd64 compressed oops)
      # Problematic frame:
      # V  [libjvm.dylib+0x32094c]
      #
      # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      #
      # An error report file with more information is saved as:
      # /Users/xubo/Desktop/xubo/git/carbondata1/store/CSDK/cmake-build-debug/hs_err_pid25600.log
      #
      # If you would like to submit a bug report, please visit:
      #   http://bugreport.java.com/bugreport/crash.jsp
      #
      
      

      List:
      getString,getVarchar,getArray,getDecimal

      Attachments

        Issue Links

          Activity

            People

              xubo245 Bo Xu
              xubo245 Bo Xu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h 20m
                  4h 20m