SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 63987: You encounter a segmentation violation when connecting to Oracle using SAS/ACCESS® Interface to JDBC

DetailsHotfixAboutRate It

When querying Oracle tables that contain DATETIME column data with a SAS/ACCESS Interface to JDBC connection, you might encounter an error similar to the following:

ERROR:  An exception has been encountered.
Please contact technical support and provide them with the following traceback
information:
The SAS task name is [DATASTEP]
Segmentation Violation
Traceback of the Exception:
/opt/sas/spre/home/SASFoundation/sasexe/libsas.so(tktracex+0x2e)
[0x7f0fa0ce9cee]
/opt/sas/spre/home/SASFoundation/sasexe/libsas.so(ht_handle_program_fault+0x306)
[0x7f0fa0bb9946]
/opt/sas/spre/home/SASFoundation/sasexe/tkmk.so(bkt_signal_handler+0x160)
[0x7f0fad1c27b0]
/lib64/libpthread.so.0(+0xf680) [0x7f0fae8f0680]
/opt/sas/spre/home/SASFoundation/sasexe/sasiojdb(hdget_jdbc+0x117c)
[0x7f0f4c876bdc]
/opt/sas/spre/home/SASFoundation/sasexe/sasiojdb(+0x683ae) [0x7f0f4c8733ae]
/opt/sas/spre/home/SASFoundation/sasexe/sasxdbi(yoeget+0xdb2) [0x7f0f4c57f5f2]
/opt/sas/spre/home/SASFoundation/dbcs/sasexe/sasyoio(yoget+0x1777)
[0x7f0f64de7c77]
/opt/sas/spre/home/SASFoundation/dbcs/sasexe/sasdsx(dsissr+0x169)
[0x7f0f650d6779]
[0x7f0f40e6d00f]

To work around this issue, use the TO_CHAR function in Oracle to change the DATETIME column to a CHARACTER column. 

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/ACCESS Interface to JDBC64-bit Enabled AIX9.49.4 TS1M6
Windows 7 Ultimate x649.49.4 TS1M6
Windows 7 Ultimate 32 bit9.49.4 TS1M6
Windows 7 Professional x649.49.4 TS1M6
Windows 7 Professional 32 bit9.49.4 TS1M6
Windows 7 Home Premium x649.49.4 TS1M6
Windows 7 Home Premium 32 bit9.49.4 TS1M6
Windows 7 Enterprise x649.49.4 TS1M6
Windows 7 Enterprise 32 bit9.49.4 TS1M6
Microsoft Windows Server 20199.49.4 TS1M6
Microsoft Windows Server 20169.49.4 TS1M6
Microsoft Windows Server 2012 Std9.49.4 TS1M6
Microsoft Windows Server 2012 R2 Std9.49.4 TS1M6
Microsoft Windows Server 2012 R2 Datacenter9.49.4 TS1M6
Microsoft Windows Server 2012 Datacenter9.49.4 TS1M6
Microsoft Windows 109.49.4 TS1M6
Microsoft Windows 8.1 Pro x649.49.4 TS1M6
Microsoft Windows 8.1 Pro 32-bit9.49.4 TS1M6
Microsoft Windows 8.1 Enterprise x649.49.4 TS1M6
Microsoft Windows 8.1 Enterprise 32-bit9.49.4 TS1M6
Microsoft Windows 8 Pro x649.49.4 TS1M6
Microsoft Windows 8 Pro 32-bit9.49.4 TS1M6
Microsoft Windows 8 Enterprise x649.49.4 TS1M6
Microsoft Windows 8 Enterprise 32-bit9.49.4 TS1M6
Microsoft® Windows® for x649.49.4 TS1M6
64-bit Enabled Solaris9.49.4 TS1M6
HP-UX IPF9.49.4 TS1M6
Linux for x649.49.4 TS1M6
Solaris for x649.49.4 TS1M6
* 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.