FIX: FoxPro UNIX Terminates Abnormally Returning a Signal 11ID: 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."
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: 1. Log on to the UNIX host in single-user mode, or log in as root and make 2. Make a copy of the current FoxPro binary file to protect against
3. If the error occurs while running FoxPro itself, type the following
4. Save the script file, and name it pfix. Enter the following command to
5. Carefully compare the contents of the script file with the script text
Once this script has run successfully, the FoxPro binary will have been
patched.
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 region KBCategory: kbprg kbbuglist kbfixlist KBSubcategory: FxprgGeneral
|
|
Last Reviewed: November 28, 1997 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |