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
- is a child of
-
CARBONDATA-2951 CSDK: Provide C++ interface for SDK
- Open
- links to