FIX: Mismatched Pushjmp/Popjmp With DataToClip( ) On Big Table (221721)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 5.0a
  • Microsoft Visual FoxPro for Windows 6.0

This article was previously published under Q221721

SYMPTOMS

The following error message:
Mismatched Pushjmp/Popjmp Call
appears in Visual FoxPro 6.0 when attempting to copy the contents of a large table to the clipboard after executing the following command from a form:
_VFP.DATATOCLIP(,,1)
				
Visual FoxPro, 5.0a running on Windows NT 4.0, produces the following Dr. Watson error:
An application error has occurred
and an application error log is being generated.
VFP.exe
Exception access violation (0xc0000005), Address: <memory address>
Visual FoxPro 5.0a, running on Windows 95, produces the following error:
This program has performed an illegal operation and will be shut down.
Clicking the Details button reveals the following:
VFP caused an invalid page fault in module VFP.EXE at <memory address>

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

This bug was corrected in Visual Studio 6.0 Service Pack 3. For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:

194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a large table (approximately 5Mb in size).
  2. Create a new form named Lg_Table.
  3. Add the large table to the DataEnvironment of the form.
  4. Add a command button to the form.
  5. Add the following code in the Click event of the command button:
    _VFP.DATATOCLIP(,,1)
  6. Run the form and click the command button. The following error message can appear:
    OLE exception error: Exception code c0000005. OLE object may be corrupt.
    Click the Ignore button and the following message appears:
    Mismatched pushjmp/popjmp call
    A memory protection fault may also occur.

Modification Type:MajorLast Reviewed:10/15/2002
Keywords:kbBug kbContainer kbCtrl kberrmsg kbVS600sp3fix KB221721 kbAudDeveloper