FIX: FoxPro UNIX Terminates Abnormally Returning a Signal 11Last reviewed: November 26, 1997Article ID: Q139309 |
2.60
UNIX
kbprg kbbuglist kbfixlist
The information in this article applies to:
SYMPTOMSWhile in an edit region on a running screen, if the user of the screen presses the ENTER key after each line of text that is entered, eventually FoxPro will terminate abnormally to the UNIX system prompt. At the UNIX system prompt, immediately after FoxPro terminates, if the user types the following command, the number 11 is returned, which is the UNIX signal code for a "Segmentation Violation."
echo _$? CAUSEA Segmentation Violation error tells the user that the process that was running tried to write to a memory segment that the process did not own. This can occur when the user is in an edit region because of a problem with FoxPro version 2.6 for UNIX. The portion of FoxPro that handles edit regions on a screen does not account correctly for carriage returns and line feeds. FoxPro attempts to write to memory past the end of the buffer containing the text that the user is entering. This error tends to be intermittent, and may be hard to duplicate. Nevertheless, given the right circumstances, this error will occur when leaving an edit region.
WORKAROUNDTo correct this problem, the user may type in the following script and run it to patch the FoxPro binary file. Follow these steps to apply the patch script:
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem is correctable by applying the patch script described in the "Workaround" section of this article.
|
Additional reference words: 2.60 FoxUnix buglist2.60 patch error 11 edit
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |