You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Selvaganesan Govindarajan (JIRA)" <ji...@apache.org> on 2017/10/28 00:07:00 UTC

[jira] [Comment Edited] (TRAFODION-2785) mxosrvr dumps core generated when loading data from Oracle to Trafodion at times

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

Selvaganesan Govindarajan edited comment on TRAFODION-2785 at 10/28/17 12:06 AM:
---------------------------------------------------------------------------------

Reconstruct the stack from the variables, the stack had the following variables

p &target = (char **) 0x7feafab02868
p &outputDataLen = (UInt32 *) 0x7feafab02870
p &translatedCharCnt = (UInt32 *) 0x7feafab02874
p &firstUntranslatedChar = (char **) 0x7feafab02878
Gap in the stack	
p &hexstr ((char (*)[256]) 0x7feafab028b0
p  &stackBuffer = (char (*)[512]) 0x7feafab029b0
                        Upto 0x7feafab02bb0
p  &targetLen = (Lng32 *) 0x7feafab02bf0
(gdb) x /100x 0x7feafab02868
0x7feafab02868: 0x00007feacb882bcc      0x00000000ffffffff   
0x7feafab02878: 0x0000000000000000    {color:red}  0x00007feb0ce16290{color}   
0x7feafab02888: {color:red}0x00007feb0ab8c5b0{color}      {color:red}0x00007feb0ce162b0{color}
0x7feafab02898: {color:red}0x00007feb0ab8c5b0{color}      {color:red}0x00007feb0ce162d0{color}
0x7feafab028a8: 0x00007feafab028b0      0x6666666666666666
0x7feafab028b8: 0x6666666666666666      0x6666666666666666
0x7feafab028c8: 0x6666666666666666      0x6666666666666666
0x7feafab028d8: 0x6666666666666666      0x6666666666666666

These are the parameters to ComDiagsArea and DgString0 and DgString1 and DgString2 inline functions respectively


was (Author: selvag):
Reconstruct the stack from the variables, the stack had the following variables

p &target = (char **) 0x7feafab02868
p &outputDataLen = (UInt32 *) 0x7feafab02870
p &translatedCharCnt = (UInt32 *) 0x7feafab02874
p &firstUntranslatedChar = (char **) 0x7feafab02878
Gap in the stack	
p &hexstr ((char (*)[256]) 0x7feafab028b0
p  &stackBuffer = (char (*)[512]) 0x7feafab029b0
                        Upto 0x7feafab02bb0
p  &targetLen = (Lng32 *) 0x7feafab02bf0
(gdb) x /100x 0x7feafab02868
0x7feafab02868: 0x00007feacb882bcc      0x00000000ffffffff   
0x7feafab02878: 0x0000000000000000    {color:red}  0x00007feb0ce16290{color}   
0x7feafab02888: {color:red}0x00007feb0ab8c5b0{color}      {color:red}0x00007feb0ce162b0{color}
0x7feafab02898: {color:red}0x00007feb0ab8c5b0{color}      0{color:red}x00007feb0ce162d0{color}
0x7feafab028a8: 0x00007feafab028b0      0x6666666666666666
0x7feafab028b8: 0x6666666666666666      0x6666666666666666
0x7feafab028c8: 0x6666666666666666      0x6666666666666666
0x7feafab028d8: 0x6666666666666666      0x6666666666666666


> mxosrvr dumps core generated when loading data from Oracle to Trafodion at times
> --------------------------------------------------------------------------------
>
>                 Key: TRAFODION-2785
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2785
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: sql-exe
>            Reporter: Selvaganesan Govindarajan
>            Assignee: Selvaganesan Govindarajan
>             Fix For: 2.3-incubating
>
>
> The stack trace of the dump is 
> #0  0x00007feb0d59f5f7 in raise () from /mnt/gselva/guangxi/zlibs-datanode07.hadoop.gxdwdc/lib64/libc.so.6
> #1  0x00007feb0d5a0e28 in abort () from /mnt/gselva/guangxi/zlibs-datanode07.hadoop.gxdwdc/lib64/libc.so.6
> #2  0x00007feb0eea7f85 in os::abort(bool) () from /mnt/gselva/guangxi/zlibs-datanode07.hadoop.gxdwdc/opt/java/jdk1.8/jre/lib/amd64/server/libjvm.so
> #3  0x00007feb0f04a383 in VMError::report_and_die() () from /mnt/gselva/guangxi/zlibs-datanode07.hadoop.gxdwdc/opt/java/jdk1.8/jre/lib/amd64/server/libjvm.so
> #4  0x00007feb0eead48f in JVM_handle_linux_signal () from /mnt/gselva/guangxi/zlibs-datanode07.hadoop.gxdwdc/opt/java/jdk1.8/jre/lib/amd64/server/libjvm.so
> #5  0x00007feb0eea39d3 in signalHandler(int, siginfo*, void*) () from /mnt/gselva/guangxi/zlibs-datanode07.hadoop.gxdwdc/opt/java/jdk1.8/jre/lib/amd64/server/libjvm.so
> #6  <signal handler called>
> #7  0x00007feb0a00e833 in convCharToChar (source=<optimized out>, sourceLen=<optimized out>, sourceType=<optimized out>, sourcePrecision=256, sourceScale=<optimized out>, 
>     target=0x7feacb882bcc '\377' <repeats 92 times>, targetLen=1717986918, targetType=26214, targetPrecision=1717986918, targetScale=1717986918, heap=0x6666666666666666, 
>     diagsArea=0x6666666666666666, dataConversionErrorFlag=0x6666666666666666, actualTargetLen=0x6666666666666666, blankPadResult=0, ignoreTrailingBlanksInSource=1, allowInvalidCodePoint=0)
>     at ../exp/exp_conv.cpp:4895
> #8  0x6666666666666666 in ?? ()
> #9  0x6666666666666666 in ?? ()
> #10 0x6666666666666666 in ?? ()
> #11 0x6666666666666666 in ?? ()
> #12 0x6666666666666666 in ?? ()
> #13 0x6666666666666666 in ?? ()
> #14 0x6666666666666666 in ?? ()
> #15 0x6666666666666666 in ?? ()
> #16 0x6666666666666666 in ?? ()
> #17 0x0000000000000000 in ?? ()



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)