SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 69744: PROC SORT might encounter a segmentation violation if you write to a compressed SAS/SHARE® library

DetailsHotfixAboutRate It

If you perform a SORT procedure where the output data set is assigned to a SAS/SHARE library and compression is enabled, a failure can occur.

The issue occurs if the compression routines detect that the output table would be larger if compressed than if uncompressed. As a result, a message similar to the following is written to the log that is corrupted: 

NOTE: Compression was disabled for data set NOTE: Co.

The corruption of this message can also lead to a traceback similar to the following being printed to the log depending on the operating environment where SAS executes:

ERROR:  An exception has been encountered.
Please contact technical support and provide them with the following traceback information:
 
The SAS task name is [SORT    ]
Segmentation Violation
 
Traceback of the Exception:
 
/sas/sas94/sas/SASFoundation/9.4/sasexe/sas:tktracex+0xfc
/sas/sas94/sas/SASFoundation/9.4/sasexe/sas:ht_handle_program_fault+0x290
/sas/sas94/sas/SASFoundation/9.4/sasexe/tkmk.so:bkt_signal_handler+0x24c
/lib/sparcv9/libc.so.1:0xd8c28
/lib/sparcv9/libc.so.1:0xcc79c
/lib/sparcv9/libc.so.1:0xcc9a8
/sas/sas94/sas/SASFoundation/9.4/sasexe/sasxkern:0xc4314 [ Signal 11 (SEGV)]
/sas/sas94/sas/SASFoundation/9.4/sasexe/sasxkern:ypslf+0xce0
/sas/sas94/sas/SASFoundation/9.4/sasexe/sasxkern:0xc1f78
/sas/sas94/sas/SASFoundation/9.4/sasexe/sasxkern:ypmr+0x1c
/sas/sas94/sas/SASFoundation/9.4/sasexe/sasxkern:0xc1b3c
/sas/sas94/sas/SASFoundation/9.4/sasexe/sasxkern:yprrlog+0x194
/sas/sas94/sas/SASFoundation/9.4/sasexe/saszsort:zsorxoi+0x4654
/sas/sas94/sas/SASFoundation/9.4/sasexe/saszsort:zsortap+0xcb0
/sas/sas94/sas/SASFoundation/9.4/sasexe/sassort:sassort+0x90
/sas/sas94/sas/SASFoundation/9.4/sasexe/sas:vvtentr+0x228
/lib/sparcv9/libc.so.1:0xd8afc 

Workaround

To circumvent this issue, disable compression for the affected steps where compression would increase the data set size.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemBase SASz/OS9.4_M79.4_M89.4 TS1M79.4 TS1M8
z/OS 64-bit9.4_M79.4_M89.4 TS1M79.4 TS1M8
Microsoft® Windows® for x649.4_M79.4_M89.4 TS1M79.4 TS1M8
Microsoft Windows 8 Enterprise 32-bit9.4_M79.4_M89.4 TS1M79.4 TS1M8
Microsoft Windows 8 Enterprise x649.4_M79.4_M89.4 TS1M79.4 TS1M8
Microsoft Windows 8 Pro 32-bit9.4_M79.4_M89.4 TS1M79.4 TS1M8
Microsoft Windows 8 Pro x649.4_M79.4_M89.4 TS1M79.4 TS1M8
Microsoft Windows 8.1 Enterprise 32-bit9.4_M79.4_M89.4 TS1M79.4 TS1M8
Microsoft Windows 8.1 Enterprise x649.4_M79.4_M89.4 TS1M79.4 TS1M8
Microsoft Windows 8.1 Pro 32-bit9.4_M79.4_M89.4 TS1M79.4 TS1M8
Microsoft Windows 8.1 Pro x649.4_M79.4_M89.4 TS1M79.4 TS1M8
Microsoft Windows 109.4_M79.4_M89.4 TS1M79.4 TS1M8
Microsoft Windows 119.4_M79.4_M89.4 TS1M79.4 TS1M8
Microsoft Windows Server 20089.4_M79.4_M89.4 TS1M79.4 TS1M8
Microsoft Windows Server 2008 R29.4_M79.4_M89.4 TS1M79.4 TS1M8
Microsoft Windows Server 2008 for x649.4_M79.4_M89.4 TS1M79.4 TS1M8
Microsoft Windows Server 2012 Datacenter9.4_M79.4_M89.4 TS1M79.4 TS1M8
Microsoft Windows Server 2012 R2 Datacenter9.4_M79.4_M89.4 TS1M79.4 TS1M8
Microsoft Windows Server 2012 R2 Std9.4_M79.4_M89.4 TS1M79.4 TS1M8
Microsoft Windows Server 2012 Std9.4_M79.4_M89.4 TS1M79.4 TS1M8
Microsoft Windows Server 20169.4_M79.4_M89.4 TS1M79.4 TS1M8
Microsoft Windows Server 20199.4_M79.4_M89.4 TS1M79.4 TS1M8
Microsoft Windows Server 20229.4_M79.4_M89.4 TS1M79.4 TS1M8
Windows 7 Enterprise 32 bit9.4_M79.4_M89.4 TS1M79.4 TS1M8
Windows 7 Enterprise x649.4_M79.4_M89.4 TS1M79.4 TS1M8
Windows 7 Home Premium 32 bit9.4_M79.4_M89.4 TS1M79.4 TS1M8
Windows 7 Home Premium x649.4_M79.4_M89.4 TS1M79.4 TS1M8
Windows 7 Professional 32 bit9.4_M79.4_M89.4 TS1M79.4 TS1M8
Windows 7 Professional x649.4_M79.4_M89.4 TS1M79.4 TS1M8
Windows 7 Ultimate 32 bit9.4_M79.4_M89.4 TS1M79.4 TS1M8
Windows 7 Ultimate x649.4_M79.4_M89.4 TS1M79.4 TS1M8
64-bit Enabled AIX9.4_M79.4_M89.4 TS1M79.4 TS1M8
64-bit Enabled Solaris9.4_M79.4_M89.4 TS1M79.4 TS1M8
HP-UX IPF9.4_M79.4_M89.4 TS1M79.4 TS1M8
Linux for x649.4_M79.4_M89.4 TS1M79.4 TS1M8
Solaris for x649.4_M79.4_M89.4 TS1M79.4 TS1M8
* 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.