Problem Note 66251: A segmentation violation might occur when you join two Teradata tables on BIGINT data type columns
You might encounter a segmentation violation when you join two Teradata tables on BIGINT data type columns, which are typecast with the data set option DBSASTYPE:
libname t teradata user=username pw=password server=tdserver;
proc sql;
select t1.thebigint, count(t1.thebigint) as count_of_bigint
from t.thetable(dbsastype=(thebigint='char(20)')) t1
inner join t.the2ndtable(dbsastype=(thebigint='char(20)')) t2
on (t1.thebigint = t2.thebigint)
;
quit;
ERROR: An exception has been encountered.
Please contact technical support and provide them with the following traceback
information:
The SAS task name is [SQL ]
Segmentation Violation
Traceback of the Exception:
/tdi/mva-v940m6/usrlibsas/laxno.18w47.20181107.weekly/SASFoundation/9.4/sasexe/sas(+0x16a07e) [0x7ffc18c0e07e]
/tdi/mva-v940m6/usrlibsas/laxno.18w47.20181107.weekly/SASFoundation/9.4/sasexe/sas(+0x4ecff) [0x7ffc18af2cff]
/tdi/mva-v940m6/usrlibsas/laxno.18w47.20181107.weekly/SASFoundation/9.4/sasexe/tkmk.so(bkt_signal_handler+0x144) [0x7ffc16ee8aa4]
/lib64/libpthread.so.0(+0x381620f520) [0x7ffc18456520]
/tdi/mva-v940m6/usrlibsas/laxno.18w47.20181107.weekly/SASFoundation/9.4/sasexe/sasxdbi(yoeget+0x702) [0x7ffbf86de182]
/tdi/mva-v940m6/usrlibsas/laxno.18w47.20181107.weekly/SASFoundation/9.4/sasexe/sasyoio(yoget+0x18ad) [0x7ffbdafbd02d]
/tdi/mva-v940m6/usrlibsas/laxno.18w47.20181107.weekly/SASFoundation/9.4/sasexe/sassqx(+0xb3d1) [0x7ffbe004d3d1]
/tdi/mva-v940m6/usrlibsas/laxno.18w47.20181107.weekly/SASFoundation/9.4/sasexe/sassqx(+0x184bd) [0x7ffbe005a4bd]
/tdi/mva-v940m6/usrlibsas/laxno.18w47.20181107.weekly/SASFoundation/9.4/sasexe/sassqx(+0x3ae08) [0x7ffbe007ce08]
/tdi/mva-v940m6/usrlibsas/laxno.18w47.20181107.weekly/SASFoundation/9.4/sasexe/sassqx(+0x34893) [0x7ffbe0076893]
/tdi/mva-v940m6/usrlibsas/laxno.18w47.20181107.weekly/SASFoundation/9.4/sasexe/sassqx(+0x330c9) [0x7ffbe00750c9]
/tdi/mva-v940m6/usrlibsas/laxno.18w47.20181107.weekly/SASFoundation/9.4/sasexe/sassqx(sqxexec+0x56d) [0x7ffbe008541d]
/tdi/mva-v940m6/usrlibsas/laxno.18w47.20181107.weekly/SASFoundation/9.4/sasexe/sassqx(+0x3c06f) [0x7ffbe007e06f]
/tdi/mva-v940m6/usrlibsas/laxno.18w47.20181107.weekly/SASFoundation/9.4/sasexe/sassqx(sqlloop+0x417) [0x7ffbe007d537]
/tdi/mva-v940m6/usrlibsas/laxno.18w47.20181107.weekly/SASFoundation/9.4/sasexe/sassql(sassql+0x362) [0x7ffbe02ce402]
/tdi/mva-v940m6/usrlibsas/laxno.18w47.20181107.weekly/SASFoundation/9.4/sasexe/sas(vvtentr+0x18a) [0x7ffc18af285a]
/lib64/libpthread.so.0(+0x38162077e1) [0x7ffc1844e7e1]
/lib64/libc.so.6(clone+0x6d) [0x7ffc17add8ed]
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to Teradata | Microsoft Windows 8.1 Enterprise x64 | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows 8 Pro x64 | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows 8 Pro 32-bit | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows 8 Enterprise x64 | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows 8 Enterprise 32-bit | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft® Windows® for x64 | 9.4 TS1M6 | 9.4 TS1M7 |
z/OS | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows 8.1 Pro 32-bit | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows 8.1 Pro x64 | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows 10 | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows Server 2012 Datacenter | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows Server 2012 R2 Datacenter | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows Server 2012 R2 Std | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows Server 2012 Std | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows Server 2016 | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows Server 2019 | 9.4 TS1M6 | 9.4 TS1M7 |
Windows 7 Enterprise 32 bit | 9.4 TS1M6 | 9.4 TS1M7 |
Windows 7 Enterprise x64 | 9.4 TS1M6 | 9.4 TS1M7 |
Windows 7 Home Premium 32 bit | 9.4 TS1M6 | 9.4 TS1M7 |
Windows 7 Home Premium x64 | 9.4 TS1M6 | 9.4 TS1M7 |
Windows 7 Professional 32 bit | 9.4 TS1M6 | 9.4 TS1M7 |
Windows 7 Professional x64 | 9.4 TS1M6 | 9.4 TS1M7 |
Windows 7 Ultimate 32 bit | 9.4 TS1M6 | 9.4 TS1M7 |
Windows 7 Ultimate x64 | 9.4 TS1M6 | 9.4 TS1M7 |
64-bit Enabled AIX | 9.4 TS1M6 | 9.4 TS1M7 |
64-bit Enabled Solaris | 9.4 TS1M6 | 9.4 TS1M7 |
HP-UX IPF | 9.4 TS1M6 | 9.4 TS1M7 |
Linux for x64 | 9.4 TS1M6 | 9.4 TS1M7 |
Solaris for x64 | 9.4 TS1M6 | 9.4 TS1M7 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
The following error might occur when you join two Teradata tables on BIGINT data type columns: "ERROR: An exception has been encountered.
Please contact technical support and provide them with the following traceback
information:
The SAS task name is [SQL ]
Segmentation Violation"
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2020-12-07 11:35:35 |
Date Created: | 2020-07-07 08:16:08 |