SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 69351: Saving SASHDAT files to the S3 caslib can fail with "ERROR: Failed to save the table 'TABLE1' from the 'S3CASLIB' caslib to the 'S3CASLIB' caslib"

DetailsHotfixAboutRate It

When you save SASHDAT files to the S3 caslib, the operation can fail with an error similar to the following:

ERROR: Failed to save the table "TABLE1" from the "S3CASLIB" caslib to the "S3CASLIB" caslib

The following example code can generate the error:

proc casutil;
    save casdata="TABLE1" incaslib="S3CASLIB"
    outcaslib="S3CASLIB" CASOUT="TABLE1" replace;
quit;

In this scenario, the CAS log contains a segmentation violation similar to the following:

2022-01-27T01:33:31,739 INFO  [00000007] 10260 casconnect 2 [tkcasaimp.c:4504] - ++ action table.save / table={name='TABLE1', caslib='S3CASLIB', singlePass=false}, name='TABLE1', replace=true, compress=false, caslib='S3CASLIB';
2022-01-27T01:33:31,739 TRACE [00000007] 10260 casconnect 2 [tkcastab.c:253] - FileHandle +68 (   DFS): 625750016 
2022-01-27T01:33:32,556 FATAL [00000007] 10260 casconnect 2 [cas.c:161] - Exception in action.
2022-01-27T01:33:32,556 FATAL [00000007] 10260 casconnect 2 [cas.c:163] - Access violation
2022-01-27T01:33:32,557 FATAL [00000007] 10260 casconnect 2 [cas.c:188] - /opt/sas/viya/home/SASFoundation/sasexe/tkcasdrv.so(tktracex+0x42) 
[0x7f7a499d4612]/opt/sas/viya/home/SASFoundation/sasexe/tkcasdrv.so(exceptionHandler+0x266) 
[0x7f7a49967f46]/opt/sas/viya/home/SASFoundation/sasexe/tkmk.so(bktExcept+0x51) 
[0x7f7a55c5a671]/opt/sas/viya/home/SASFoundation/sasexe/tkmk.so(bkt_signal_handler+0x154) 
[0x7f7a55c5ad14]/lib64/libpthread.so.0(+0xf630) 
[0x7f7a5746c630]/opt/sas/viya/home/SASFoundation/sasexe/tkcastab.so(__intel_avx_rep_memcpy+0x140) 
[0x7f7a46bd1600]/opt/sas/viya/home/SASFoundation/sasexe/tkcastab.so(+0x184344) 
[0x7f7a46b0d344]/opt/sas/viya/home/SASFoundation/sasexe/tkcastab.so(WriteDNFSBlocks+0x1be8) 
[0x7f7a46b06e78]/opt/sas/viya/home/SASFoundation/sasexe/tkcastab.so(SaveTable+0x195c) 
[0x7f7a46a641ac]/opt/sas/viya/home/SASFoundation/sasexe/tkcastab.so(Save+0xef0) 
[0x7f7a469f5800]/opt/sas/viya/home/SASFoundation/sasexe/tkcasa.so(casaInvoke+0x2edf) 
[0x7f7a3fdcf45f]/opt/sas/viya/home/SASFoundation/sasexe/tkcasdrv.so(HandleActionControllerThread+0xa75) 
[0x7f7a49975f65]/opt/sas/viya/home/SASFoundation/sasexe/tkmk.so(sktMain+0xf7) 
[0x7f7a55c58527]/opt/sas/viya/home/SASFoundation/sasexe/tkmk.so(bktMain+0x78) 
[0x7f7a55c5a498]/lib64/libpthread.so.0(+0x7ea5) 
[0x7f7a57464ea5]/lib64/libc.so.6(clone+0x6d) 
[0x7f7a56a50b0d]

Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS ViyaMicrosoft® Windows® for x643.52022.1.3ViyaViya
Microsoft Windows 8 Enterprise 32-bit3.5Viya
Microsoft Windows 8 Enterprise x643.52022.1.3ViyaViya
Microsoft Windows 8 Pro 32-bit3.5Viya
Microsoft Windows 8 Pro x643.52022.1.3ViyaViya
Microsoft Windows 8.1 Enterprise 32-bit3.5Viya
Microsoft Windows 8.1 Enterprise x643.52022.1.3ViyaViya
Microsoft Windows 8.1 Pro 32-bit3.5Viya
Microsoft Windows 8.1 Pro x643.52022.1.3ViyaViya
Microsoft Windows 103.52022.1.3ViyaViya
Microsoft Windows 113.5Viya
Microsoft Windows 95/983.5Viya
Microsoft Windows 2000 Advanced Server3.5Viya
Microsoft Windows 2000 Datacenter Server3.5Viya
Microsoft Windows 2000 Server3.5Viya
Microsoft Windows 2000 Professional3.5Viya
Microsoft Windows NT Workstation3.5Viya
Microsoft Windows Server 2003 Datacenter Edition3.5Viya
Microsoft Windows Server 2003 Enterprise Edition3.5Viya
Microsoft Windows Server 2003 Standard Edition3.5Viya
Microsoft Windows Server 2003 for x643.52022.1.3ViyaViya
Microsoft Windows Server 20083.5Viya
Microsoft Windows Server 2008 R23.52022.1.3ViyaViya
Microsoft Windows Server 2008 for x643.52022.1.3ViyaViya
Microsoft Windows Server 2012 Datacenter3.52022.1.3ViyaViya
Microsoft Windows Server 2012 R2 Datacenter3.52022.1.3ViyaViya
Microsoft Windows Server 2012 R2 Std3.52022.1.3ViyaViya
Microsoft Windows Server 2012 Std3.52022.1.3ViyaViya
Microsoft Windows Server 20163.52022.1.3ViyaViya
Microsoft Windows Server 20193.52022.1.3ViyaViya
Microsoft Windows Server 20223.5Viya
Microsoft Windows XP Professional3.5Viya
Windows 7 Enterprise 32 bit3.5Viya
Windows 7 Enterprise x643.52022.1.3ViyaViya
Windows 7 Home Premium 32 bit3.5Viya
Windows 7 Home Premium x643.52022.1.3ViyaViya
Windows 7 Professional 32 bit3.5Viya
Windows 7 Professional x643.52022.1.3ViyaViya
Windows 7 Ultimate 32 bit3.5Viya
Windows 7 Ultimate x643.52022.1.3ViyaViya
Windows Millennium Edition (Me)3.5Viya
Windows Vista3.5Viya
Windows Vista for x643.52022.1.3ViyaViya
Linux for x643.52022.1.3ViyaViya
* 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.