Problem Note 62353: A segmentation violation error might occur when you use the OPENTIMES argument with the SCAPROC procedure through a REMOTE engine
When you use the optional OPENTIMES argument with the SCAPROC procedure through a REMOTE engine, you might receive the following segmentation violation error in your SAS® log:
The SAS task name is [Program ]
Segmentation Violation
Traceback of the Exception:
/sas94/sashome/SASFoundation/9.4/sasexe/sas(+0x1666ce) [0x7fc79b6706ce]
/sas94/sashome/SASFoundation/9.4/sasexe/sas(+0x4e7df) [0x7fc79b5587df]
/sas94/sashome/SASFoundation/9.4/sasexe/tkmk.so(bkt_signal_handler+0x144) [0x7fc79989ea44]
/lib64/libpthread.so.0(+0xf5e0) [0x7fc79aebc5e0]
/sas94/sashome/SASFoundation/9.4/sasexe/sas(+0xabe44) [0x7fc79b5b5e44]
/sas94/sashome/SASFoundation/9.4/sasexe/sasscapr(doattrnopen+0x7f8) [0x7fc76fde19a8]
/sas94/sashome/SASFoundation/9.4/sasexe/sasscapr(cbTaskend+0x13e) [0x7fc76fddf9ee]
/sas94/sashome/SASFoundation/9.4/sasexe/sasxshel(+0x728bc) [0x7fc7845748bc]
/sas94/sashome/SASFoundation/9.4/sasexe/sasxshel(yalexec+0x1221) [0x7fc7845727e1]
/sas94/sashome/SASFoundation/9.4/sasexe/sasxshel(yalinln+0x2f5) [0x7fc784575255]
/sas94/sashome/SASFoundation/9.4/sasexe/sasxshel(yalproc+0x18e) [0x7fc78456f44e]
/sas94/sashome/SASFoundation/9.4/sasexe/sasxbtch(sasxbtch+0x72) [0x7fc784bfea12]
/sas94/sashome/SASFoundation/9.4/sasexe/sas(vvtentr+0x18a) [0x7fc79b55833a]
/lib64/libpthread.so.0(+0x7e25) [0x7fc79aeb4e25]
/lib64/libc.so.6(clone+0x6d) [0x7fc79a4a534d]
Here is an example of PROC SCAPROC code with the OPENTIMES argument within a RECORD statement:
proc scaproc ;
record "/home/sasdemo/scaproc.txt" attr opentimes expandmacros ;
run ;
This error can occur when you attempt to access data via Remote Library Services (RLS). However, the code works well when you use the Base SAS® engine.
To circumvent this type of error, remove the OPENTIMES argument.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
| SAS System | Base SAS | Solaris for x64 | 9.4_M5 | | 9.4 TS1M5 | |
| Linux for x64 | 9.4_M5 | | 9.4 TS1M5 | |
| Microsoft Windows 8 Pro 32-bit | 9.4_M5 | | 9.4 TS1M5 | |
| Microsoft Windows 8 Enterprise x64 | 9.4_M5 | | 9.4 TS1M5 | |
| Microsoft Windows 8 Enterprise 32-bit | 9.4_M5 | | 9.4 TS1M5 | |
| Microsoft® Windows® for x64 | 9.4_M5 | | 9.4 TS1M5 | |
| z/OS 64-bit | 9.4_M5 | | 9.4 TS1M5 | |
| HP-UX IPF | 9.4_M5 | | 9.4 TS1M5 | |
| 64-bit Enabled Solaris | 9.4_M5 | | 9.4 TS1M5 | |
| 64-bit Enabled AIX | 9.4_M5 | | 9.4 TS1M5 | |
| Windows 7 Ultimate x64 | 9.4_M5 | | 9.4 TS1M5 | |
| Windows 7 Ultimate 32 bit | 9.4_M5 | | 9.4 TS1M5 | |
| Windows 7 Professional x64 | 9.4_M5 | | 9.4 TS1M5 | |
| Windows 7 Professional 32 bit | 9.4_M5 | | 9.4 TS1M5 | |
| Windows 7 Home Premium x64 | 9.4_M5 | | 9.4 TS1M5 | |
| Windows 7 Home Premium 32 bit | 9.4_M5 | | 9.4 TS1M5 | |
| Windows 7 Enterprise x64 | 9.4_M5 | | 9.4 TS1M5 | |
| Windows 7 Enterprise 32 bit | 9.4_M5 | | 9.4 TS1M5 | |
| Microsoft Windows Server 2016 | 9.4_M5 | | 9.4 TS1M5 | |
| Microsoft Windows Server 2012 Std | 9.4_M5 | | 9.4 TS1M5 | |
| Microsoft Windows Server 2012 R2 Std | 9.4_M5 | | 9.4 TS1M5 | |
| Microsoft Windows Server 2012 R2 Datacenter | 9.4_M5 | | 9.4 TS1M5 | |
| Microsoft Windows Server 2012 Datacenter | 9.4_M5 | | 9.4 TS1M5 | |
| Microsoft Windows Server 2008 for x64 | 9.4_M5 | | 9.4 TS1M5 | |
| Microsoft Windows Server 2008 R2 | 9.4_M5 | | 9.4 TS1M5 | |
| Microsoft Windows Server 2008 | 9.4_M5 | | 9.4 TS1M5 | |
| Microsoft Windows 10 | 9.4_M5 | | 9.4 TS1M5 | |
| Microsoft Windows 8.1 Pro x64 | 9.4_M5 | | 9.4 TS1M5 | |
| Microsoft Windows 8.1 Pro 32-bit | 9.4_M5 | | 9.4 TS1M5 | |
| Microsoft Windows 8.1 Enterprise x64 | 9.4_M5 | | 9.4 TS1M5 | |
| Microsoft Windows 8.1 Enterprise 32-bit | 9.4_M5 | | 9.4 TS1M5 | |
| Microsoft Windows 8 Pro x64 | 9.4_M5 | | 9.4 TS1M5 | |
| z/OS | 9.4_M5 | | 9.4 TS1M5 | |
*
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.
| Type: | Problem Note |
| Priority: | high |
| Date Modified: | 2018-05-24 13:47:37 |
| Date Created: | 2018-05-22 11:43:07 |