[jira] [Commented] (TRAFODION-2652) run cmd “./odb64luo -l src=nofile:tgt=ldata:map=map:max=300000:rows=K1:parallel=16” core dumped

2017-06-23 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on TRAFODION-2652:
---

Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafodion/pull/1128


> run cmd “./odb64luo -l 
> src=nofile:tgt=ldata:map=map:max=30:rows=K1:parallel=16” core dumped
> ---
>
> Key: TRAFODION-2652
> URL: https://issues.apache.org/jira/browse/TRAFODION-2652
> Project: Apache Trafodion
>  Issue Type: Bug
>  Components: db-utility-odb
>Affects Versions: 2.2-incubating
> Environment: 1. server info:
> 
> [trafodion@gy05 ~]$ sqvers
> MY_SQROOT=/home/trafodion/esgynDB_adv_server-2.2.3-RH6-x86_64
> who@host=trafod...@gy05.esg
> JAVA_HOME=/usr/java/jdk1.8.0_101
> linux=2.6.32-642.3.1.el6.x86_64
> redhat=6.8
> libarkcmp_dll.so tdm_arkcmp Version 1.0.1 EsgynDB_Enterprise Release 2.2.3 
> (Build release [sbroeder], branch 9a4b388-xdc_nari, date 13Jun17)
> 2.client info
> 
> [sujinpei@sujinpeipc bin]$ cat /etc/centos-release 
> CentOS release 6.7 (Final)
>Reporter: 苏锦佩
>
> *1. run cmd "./odb64luo -l 
> src=nofile:tgt=ldata:map=map:max=30:rows=K1:parallel=16"*
> ==
> [sujinpei@sujinpeipc bin]$ ./odb64luo -l 
> src=nofile:tgt=ldata:map=map:max=30:rows=K1:parallel=16
> odb [2017-06-19 13:19:44]: starting ODBC connection(s)... (1) 1 2 3 4 5 6 7 8 
> 9 10 11 12 13 14 15 16
> Connected to Trafodion
> Segmentation fault (core dumped) 
> *2.gdb core file
> *==
> [sujinpei@sujinpeipc bin]$ gdb odb64luo core.2649
> GNU gdb (GDB) Red Hat Enterprise Linux (7.2-92.el6)
> Copyright (C) 2010 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later 
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-redhat-linux-gnu".
> For bug reporting instructions, please see:
> ...
> Reading symbols from 
> /home/sujinpei/esgyn/incubator-trafodion/core/conn/odb/bin/odb64luo...done.
> [New Thread 2666]
> [New Thread 2650]
> ...
> Loaded symbols for /lib64/libselinux.so.1
> Core was generated by `./odb64luo -l src nofile tgt LDATA map map max 30 
> rows K1 parallel 16'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x00428652 in Oload (tid=0x10798a4) at src/odb.c:7587
> 7587*(Odp + i) = (SQLCHAR)alnum[rnd] ;
> Missing separate debuginfos, use: debuginfo-install 
> glibc-2.12-1.209.el6_9.1.x86_64 keyutils-libs-1.4-5.el6.x86_64 
> krb5-libs-1.10.3-65.el6.x86_64 libcom_err-1.41.12-23.el6.x86_64 
> libgcc-4.4.7-18.el6.x86_64 libselinux-2.0.94-7.el6.x86_64 
> libstdc++-4.4.7-18.el6.x86_64 nspr-4.13.1-1.el6.x86_64 
> nss-3.28.4-1.el6_9.x86_64 nss-util-3.28.4-1.el6_9.x86_64 
> openldap-2.4.40-16.el6.x86_64 openssl-1.0.1e-57.el6.x86_64 
> zlib-1.2.3-29.el6.x86_64
> *{color:#59afe1}ps:{color}*
> =
> map file like this:
> ID:SEQ:100
> NAME:CRAND:2000



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


[jira] [Commented] (TRAFODION-2652) run cmd “./odb64luo -l src=nofile:tgt=ldata:map=map:max=300000:rows=K1:parallel=16” core dumped

2017-06-19 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on TRAFODION-2652:
---

GitHub user SuJinpei opened a pull request:

https://github.com/apache/incubator-trafodion/pull/1128

[TRAFODION-2652] run cmd “./odb64luo -l 
src=nofile:tgt=ldata:map=map:max=30:rows=K1:parallel=16” core dumped

root cause: "etab[eid].r = etab[eid].rbs / etab[eid].s" may be zero, this 
value will use for memory allocation and loop condition. so etab[eid].r = 0 is 
unreasonable, at least one.
fixed by: if etab[eid].r < 0 let it be 1.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/SuJinpei/incubator-trafodion 
jira-trafodion-2652

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafodion/pull/1128.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1128


commit be5dc591e6d54b304a11a470f67ec64e62aabe57
Author: SuJinpei <873118...@qq.com>
Date:   2017-06-20T03:30:00Z

[TRAFODION-2652] run cmd “./odb64luo -l 
src=nofile:tgt=ldata:map=map:max=30:rows=K1:parallel=16” core dumped

commit abef3034a2e65ced92abcada33dce43d018345a3
Author: SuJinpei <873118...@qq.com>
Date:   2017-06-20T03:42:17Z

fix all similar issue

commit 604879bc437e55eeecc233f1985b8d3a9d113d02
Author: SuJinpei <873118...@qq.com>
Date:   2017-06-20T03:46:55Z

fix all similar issue




> run cmd “./odb64luo -l 
> src=nofile:tgt=ldata:map=map:max=30:rows=K1:parallel=16” core dumped
> ---
>
> Key: TRAFODION-2652
> URL: https://issues.apache.org/jira/browse/TRAFODION-2652
> Project: Apache Trafodion
>  Issue Type: Bug
>  Components: db-utility-odb
>Affects Versions: 2.2-incubating
> Environment: 1. server info:
> 
> [trafodion@gy05 ~]$ sqvers
> MY_SQROOT=/home/trafodion/esgynDB_adv_server-2.2.3-RH6-x86_64
> who@host=trafod...@gy05.esg
> JAVA_HOME=/usr/java/jdk1.8.0_101
> linux=2.6.32-642.3.1.el6.x86_64
> redhat=6.8
> libarkcmp_dll.so tdm_arkcmp Version 1.0.1 EsgynDB_Enterprise Release 2.2.3 
> (Build release [sbroeder], branch 9a4b388-xdc_nari, date 13Jun17)
> 2.client info
> 
> [sujinpei@sujinpeipc bin]$ cat /etc/centos-release 
> CentOS release 6.7 (Final)
>Reporter: 苏锦佩
>
> *1. run cmd "./odb64luo -l 
> src=nofile:tgt=ldata:map=map:max=30:rows=K1:parallel=16"*
> ==
> [sujinpei@sujinpeipc bin]$ ./odb64luo -l 
> src=nofile:tgt=ldata:map=map:max=30:rows=K1:parallel=16
> odb [2017-06-19 13:19:44]: starting ODBC connection(s)... (1) 1 2 3 4 5 6 7 8 
> 9 10 11 12 13 14 15 16
> Connected to Trafodion
> Segmentation fault (core dumped) 
> *2.gdb core file
> *==
> [sujinpei@sujinpeipc bin]$ gdb odb64luo core.2649
> GNU gdb (GDB) Red Hat Enterprise Linux (7.2-92.el6)
> Copyright (C) 2010 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later 
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-redhat-linux-gnu".
> For bug reporting instructions, please see:
> ...
> Reading symbols from 
> /home/sujinpei/esgyn/incubator-trafodion/core/conn/odb/bin/odb64luo...done.
> [New Thread 2666]
> [New Thread 2650]
> ...
> Loaded symbols for /lib64/libselinux.so.1
> Core was generated by `./odb64luo -l src nofile tgt LDATA map map max 30 
> rows K1 parallel 16'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x00428652 in Oload (tid=0x10798a4) at src/odb.c:7587
> 7587*(Odp + i) = (SQLCHAR)alnum[rnd] ;
> Missing separate debuginfos, use: debuginfo-install 
> glibc-2.12-1.209.el6_9.1.x86_64 keyutils-libs-1.4-5.el6.x86_64 
> krb5-libs-1.10.3-65.el6.x86_64 libcom_err-1.41.12-23.el6.x86_64 
> libgcc-4.4.7-18.el6.x86_64 libselinux-2.0.94-7.el6.x86_64 
> libstdc++-4.4.7-18.el6.x86_64 nspr-4.13.1-1.el6.x86_64 
> nss-3.28.4-1.el6_9.x86_64 nss-util-3.28.4-1.el6_9.x86_64 
> openldap-2.4.40-16.el6.x86_64 openssl-1.0.1e-57.el6.x86_64 
> zlib-1.2.3-29.el6.x86_64
> *{color:#59afe1}ps:{color}*
> =
> map file like this:
> ID:SEQ:100
> NAME:CRAND:2000



--
This message was