[ https://issues.apache.org/jira/browse/TRAFODION-2931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16349758#comment-16349758 ]
ASF GitHub Bot commented on TRAFODION-2931: ------------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/trafodion/pull/1431 > call char_length on Chinese character will cause core dump. > ----------------------------------------------------------- > > Key: TRAFODION-2931 > URL: https://issues.apache.org/jira/browse/TRAFODION-2931 > Project: Apache Trafodion > Issue Type: Bug > Components: sql-general > Affects Versions: 2.4 > Reporter: Yang, Yongfeng > Assignee: chenyunren > Priority: Major > > {color:#000000}>>set terminal_charset utf8;{color} > {color:#000000}>>select char_lentgh('{color}{color:#000000}中国人') from > (values(1));{color} > {color:#000000}#{color} > {color:#000000}# A fatal error has been detected by the Java Runtime > Environment:{color} > {color:#000000}#{color} > {color:#000000}# SIGSEGV (0xb) at pc=0x00000000004024ea, pid=13636, > tid=140591300516352{color} > {color:#000000}#{color} > {color:#000000}# JRE version: OpenJDK Runtime Environment (7.0_161) (build > 1.7.0_161-mockbuild_2017_12_06_14_28-b00){color} > {color:#000000}# Java VM: OpenJDK 64-Bit Server VM (24.161-b00 mixed mode > linux-amd64 compressed oops){color} > {color:#000000}# Derivative: IcedTea 2.6.12{color} > {color:#000000}# Distribution: CentOS release 6.9 (Final), package > rhel-2.6.12.0.el6_9-x86_64 u161-b00{color} > {color:#000000}# Problematic frame:{color} > {color:#000000}# C [sqlci+0x24ea] folly::fbstring_core<char>::category() > const+0xc{color} > {color:#000000}#{color} > {color:#000000}# Core dump written. Default location: > /home/centos/incubator-trafodion/core or core.13636{color} > {color:#000000}#{color} > {color:#000000}# An error report file with more information is saved > as:{color} > {color:#000000}# /tmp/jvm-13636/hs_error.log{color} > {color:#000000}#{color} > {color:#000000}# If you would like to submit a bug report, please > include{color} > {color:#000000}# instructions on how to reproduce the bug and visit:{color} > {color:#000000}# {color} [http://icedtea.classpath.org/bugzilla] > {color:#000000}# The crash happened outside the Java Virtual Machine in > native code.{color} > {color:#000000}# See problematic frame for where to report the bug.{color} > {color:#000000}#{color} > {color:#000000}Aborted (core dumped){color} -- This message was sent by Atlassian JIRA (v7.6.3#76005)