General Protection Fault in module WIN87EM.DLL at 0001:02C6

Discussions about using Windows guests in VirtualBox.

Re: General Protection Fault in module WIN87EM.DLL at 0001:0

Postby FinnChr » 1. Feb 2014, 01:19

michaln wrote:.....If you can upload it somewhere, please PM me with details.


Can't yet PM you michaln - I need some few days more on this forum.

Link for testapp etc. now ready for download. Please need email address to send info.
FinnChr
 
Posts: 5
Joined: 29. Jan 2014, 04:52
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Win 2000 & Unbutu 12.04

Re: General Protection Fault in module WIN87EM.DLL at 0001:0

Postby Tucker » 23. May 2014, 17:28

Was there ever a fix for this? I'm hitting this error in an XP 32bit emulator, and on the same application it crashes at the same point for a 98SE install, so guessing it's the same, though it just hangs and does not throw an error.
Host is 7-64bit.
I'm on 4.3.10 r93012

Getting this app running was the whole reason I'm working with VM, time to retire the 15 year old laptop, but I need this app for work.
Tucker
 
Posts: 3
Joined: 23. May 2014, 17:24

Re: General Protection Fault in module WIN87EM.DLL at 0001:0

Postby mpack » 23. May 2014, 18:28

This looks like a 16bit crash. I'd be surprised if you get that in XP, though maybe in the Win16 WOW layer, or whatever it was called.
mpack
Site Moderator
 
Posts: 30646
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: General Protection Fault in module WIN87EM.DLL at 0001:0

Postby michaln » 26. May 2014, 03:33

Tucker wrote:Was there ever a fix for this? I'm hitting this error in an XP 32bit emulator, and on the same application it crashes at the same point for a 98SE install, so guessing it's the same, though it just hangs and does not throw an error.

There is currently no fix because so far no one supplied a testcase which would allow to easily reproduce the problem. If you have something, please use https://www.virtualbox.org/ticket/12646 to provide it.
michaln
Oracle Corporation
 
Posts: 2966
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all

Re: General Protection Fault in module WIN87EM.DLL at 0001:0

Postby Tucker » 27. May 2014, 16:43

Should I attach the .vdi for the guest (quite large) or an .iso to install (20mb or so) of the application to the ticket? The application crashes with this error every time I try and run it, so repeatable is certainly the case for me.
Tucker
 
Posts: 3
Joined: 23. May 2014, 17:24

Re: General Protection Fault in module WIN87EM.DLL at 0001:0

Postby michaln » 28. May 2014, 12:37

Tucker wrote:Should I attach the .vdi for the guest (quite large) or an .iso to install (20mb or so) of the application to the ticket? The application crashes with this error every time I try and run it, so repeatable is certainly the case for me.

You won't be able to attach a file that big, unfortunately. I think an ISO would be preferable, with instructions on how to reproduce unless it's really obvious. Do you have the option to put it up on Dropbox or similar? You can PM me a link and I will grab it.
michaln
Oracle Corporation
 
Posts: 2966
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all

Re: General Protection Fault in module WIN87EM.DLL at 0001:0

Postby michaln » 16. Jun 2014, 13:12

Since I never got anything...

We're still looking for a testcase which reproducibly shows the GPF. Until then, we won't be spending any time on this issue.
michaln
Oracle Corporation
 
Posts: 2966
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all

Re: General Protection Fault in module WIN87EM.DLL at 0001:0

Postby Ramshankar » 20. Aug 2014, 19:10

This should be fixed in the next VirtualBox maintenance version.
Oracle Corp.
Ramshankar
Oracle Corporation
 
Posts: 787
Joined: 7. Jan 2008, 16:17

Re: General Protection Fault in module WIN87EM.DLL at 0001:0

Postby SteveDeveloper » 5. Sep 2014, 05:27

Thanks Ramshanker. I looked at the Changeset for the fix and it looks like you put in a lot of hard work - much appreciated (not saying I understood it all but I got the general idea). I recently got a chance to get back to looking at this with WinDbg. I'm not an expert at using it but I did see the GP happened in code dealing with save\restore of MPU state so your fix is in line with that. I have three test cases to try - a 16 bit Borland app, a 16 bit VB4 app, and VB.EXE (VB4 16 bit IDE - rare crash but I've seen it a few times). I actively maintain the 16 bit apps (too large\expensive to rewrite at this time), so the fix is welcome and I'll let you know how it went as soon as the release is available. (Sorry, but I wasn't allowed to send these apps.)
SteveDeveloper
 
Posts: 5
Joined: 25. Jan 2014, 19:52

Re: General Protection Fault in module WIN87EM.DLL at 0001:0

Postby newlife007 » 9. Sep 2014, 22:59

If you have not found a fix I have one for you to try. I just posted this on my blog, and this will work for you. The issue is the math coprocessor and 16 bit apps with the newer processors causes the GPF. This works with 32 bit VM's and it has been successfull on vmware fusion and Virtualbox. The link is here http://www.lifeofageekadmin.com/fix-general-protection-fault-mod/ but here are the steps.

Download winfloat fromhttp://www.conradshome.com/win31/archive/.
Click on winfloat.exe to download to a directory. Once downloaded double-click to extract the files.
Copy HIDE87.com to c:\windows\system32 directory
Add to lh c:\windows\system32\autoexec.nt file as the first line.
Reboot virtual machine

Try running your 16-bit application. Hope this helps!
newlife007
 
Posts: 2
Joined: 2. Oct 2012, 20:56
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Windows, Fedora, CentOS, FreeNAS

Re: General Protection Fault in module WIN87EM.DLL at 0001:0

Postby SteveDeveloper » 10. Sep 2014, 03:52

I can confirm the HIDE87.com trick solves the problem because it stops using the MPU so effectively it avoids the problem. It also really slows down everything (unbearably for what I work on - Engineering app with lots of calculations). A proper fix is always better, but agreed that this solution will get you going until a fix is in place.
SteveDeveloper
 
Posts: 5
Joined: 25. Jan 2014, 19:52

Re: General Protection Fault in module WIN87EM.DLL at 0001:0

Postby michaln » 10. Sep 2014, 11:16

The fix is in version 4.3.16 released yesterday. Really bad timing for such workarounds.
michaln
Oracle Corporation
 
Posts: 2966
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all

Re: General Protection Fault in module WIN87EM.DLL at 0001:0

Postby gleysson » 12. Sep 2014, 23:05

I installed version 4.3.16 and still the same problem I believe has not been resolved yet.
gleysson
 
Posts: 5
Joined: 12. Sep 2014, 23:02

Re: General Protection Fault in module WIN87EM.DLL at 0001:0

Postby michaln » 13. Sep 2014, 13:35

Actually, which problem is that exactly? What host OS, guest OS, and application?
michaln
Oracle Corporation
 
Posts: 2966
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all

Re: General Protection Fault in module WIN87EM.DLL at 0001:0

Postby gleysson » 15. Sep 2014, 15:10

I'm using an application called Siscomex, is a system of import in Brazil pulled one print of the error and tried to attach the file.
Attachments
error.png
error.png (91.57 KiB) Viewed 5253 times
gleysson
 
Posts: 5
Joined: 12. Sep 2014, 23:02

PreviousNext

Return to Windows Guests

Who is online

Users browsing this forum: No registered users and 24 guests