You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "xubo245 (JIRA)" <ji...@apache.org> on 2018/11/19 14:17:00 UTC

[jira] [Commented] (CARBONDATA-3108) Jvm will crash when CarbonRow use wrong index number in CSDK

    [ https://issues.apache.org/jira/browse/CARBONDATA-3108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16691749#comment-16691749 ] 

xubo245 commented on CARBONDATA-3108:
-------------------------------------

robot0	17957	1549911814000000	varchar	Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot be cast to [Ljava.lang.Object;
	at org.apache.carbondata.sdk.file.RowUtil.getArray(RowUtil.java:73)
[Dynamic-linking native method java.io.UnixFileSystem.delete0 ... JNI]

> Jvm will crash when CarbonRow use wrong index number in CSDK
> ------------------------------------------------------------
>
>                 Key: CARBONDATA-3108
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-3108
>             Project: CarbonData
>          Issue Type: Bug
>    Affects Versions: 1.5.1
>            Reporter: xubo245
>            Assignee: xubo245
>            Priority: Major
>
> Jvm will crash when CarbonRow use wrong index number in CSDK
> like use :
> {code:java}
>  jobject row = reader.readNextRow();
>             carbonRow.setCarbonRow(row);
>             printf("%s\t", carbonRow.getString(1));
> {code}
> crash:
> {code:java}
> [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
> #
> {code}
> List:
> getString,getVarchar,getArray,getDecimal



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)