BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,

While processing a 113GB external EBCDIC flat file in SAS 9.1.3 version, below error message is found in log file.

Segmentation Violation In Task [ DATASTEP ]
Fault Occurred at [/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1:_memcpy+0x660]

Task Traceback

/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1:_memcpy+0x660

/opt/software/sas9/SAS_913/sasexe/sasdsx:dserxul+0x12c
/opt/software/sas9/SAS_913/sasexe/sas:vgexec+0x64
/opt/software/sas9/SAS_913/sasexe/sasdsx:dsxxexc+0xa4
/opt/software/sas9/SAS_913/sasexe/sasds:dsexec+0x64
/opt/software/sas9/SAS_913/sasexe/sasds:sasds+0x3b4
/opt/software/sas9/SAS_913/sasexe/sas:vvtentr+0x120

SAS is able to read only 18 records from the file. SAS couldnt read any record from 19th. The input file is a variable length file.

Is it a memory problem?

Any help is well appreciated
1 REPLY 1
Cynthia_sas
Diamond | Level 26
Hi:
If you enter this string (part of the error message):
Segmentation Violation In Task [ DATASTEP ]

into the search box at the upper right-hand side of the forum page (where there is a white box, the "Search support.sas.com" menu and an orange Search button), you will find many hits on this particular error message. Without looking at the data and seeing your code, it would be a game of 20 questions to even make a guess at what the issue is. And, in addition, it is hard to offer constructive help without understanding the full particulars of the operating system on which you're running (You say you're running SAS 9.1.3 -- but WHERE -- on Windows, on Unix (what flavor of Unix), on Linux, or on the mainframe??)

Your best resource for help with this kind of error would be to open a track with Tech Support. They can look at your data, at your entire program and at your log to determine whether any of the Tech Support notes is relevant to your issue.

To open a track with Tech Support, fill out the form at this link:
http://support.sas.com/ctx/supportform/createForm

cynthia

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1490 views
  • 0 likes
  • 2 in conversation