Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Book Explaining GPFs and Windows 3.1x Errors

Posted on 1998-04-04
9
218 Views
Last Modified: 2013-12-29
Hello.
My neighbor is running Windows 3.11. A few weeks ago I was able to get his Netscape
Communicator to run, but only after the Microsoft cryptic message, "An error has occured
in your application.......CLOSE or IGNORE". If he clicks IGNORE once or twice or sometimes
3 times (launching Netscape) the dialog box disappears and Netscape runs.

NOW, his mouse won't work during any Windows session. I worked on this
computer from hell before and I believe it is a memory problem, possibly doing
a "waltz" with a COMM port conflict.

I guess this is 2 questions.

Does anybody have any thoughts on what's going on with either the frozen mouse or the
Netscape error message as described above?

Is there any book LEFT out there in the world which will describe, in gory detail,
what causes G.P.F.s and these other cryptic messages and helps correct these
problems(other than Microsoft's standard answer, "Upgrade to Windows95.") ??

Jim
0
Comment
Question by:jnowlin
  • 5
  • 4
9 Comments
 

Accepted Solution

by:
doddd earned 70 total points
ID: 1804357
jnowlin,

In gory detail, here is what happens when a GPF occurs:-
(Net nanny may censor this!).

  The kernal of any operating system that operates in protected mode exists in an area that has full priviledge to the hardware.  It can read and write to any memory location and write to any hardware ports.

  When the operating system starts a program, or driver, it assigns that process with the appropriate priviledge level.  For a driver, it is allowed to access hardware, but may not be able to access memory areas outside its range (depending on what the operating system says).  An application may not be able to access any memory outside its own range and may not be able to directly access hardware.

  Under NT for example, apart from drivers and the kernal, nothing is allowed to access the hardware and applications cannot access memory outside their range.  This is why some programs (especially comms and MIDI) that normally work under DOS, or even Windows, do not work under NT.  What happens, is that as the CPU is executing the instruction, it checks the priviledge level of the process that is generating it, and decides if the instruction is legal.  If it is not, the CPU will not execute the instruction, generates an interrupt (can't remember which), and the operating system then decides what to do from there.

  Under NT, it gives an error message like "This program is misbehaving or operating incorrectly."  Under Win 3.1x it generates a GPF.  Windows 3.1x will not give GPFs for attempting to access hardware.  It generates the errors for memory related problems.

  You can get GPFs under Win 3.1x for the following reasons-
- Dud memory causing access to an illegal address.
- Code with a bug in it accessing memory that is 'illegal.'
- Corruption in a driver or program which causes it to access 'illegal' memory.

  If you run HIMEM.SYS with the /TESTMEM:OFF option, disable this.  It is a good test of memory.  Run some diags (if you have any).  If you want to know some good ones, just ask.

  Alternately, try reinstalling the offending piece of software.  If this does not help, it may be worthwhile to completely reload the drive.  If you keep getting GPFs in one program, it is likely to be that program or especially DLLs that it may be using.

  Note: you can get books on this sort of stuff.  Any book on assembly language programming that is 386 and above will tell you about protected mode.  If you want he addresses of some sites, just ask (if you don't want to pay!!).  The best places to buy these books is second hand places.
0
 

Author Comment

by:jnowlin
ID: 1804358
Yes. Relatively high-quality) Diagnostic programs and addresses of sites would
be helpful. Of course, a direct hit by a lightning strike would be preferred!  :)
Some PC just have oh so many ghosts in them, and this one has all of them.

Jim
0
 

Expert Comment

by:doddd
ID: 1804359
Jnowlin,
  have you accepted the answer of Jason, or do you want me to provide you with sites?  I can't tell if you're being sarcastic, or not (don't get the lightning strike bit!).

Dave.
0
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 

Author Comment

by:jnowlin
ID: 1804360
Hi Dave,

" a direct hit by a lightning strike would be
     preferred!  :)   "

...should have read......
" a direct hit by a lightning strike/hit on this PC would be
     preferred!  :)


The lightning strike bit is my hope that this PC will get hit by
one! It's the *only* way that this neighbor will then go out and
actually buy a NEW and up-to-date computer!

I did accept the answer. I'll pose a new question and that way
you can get some points awarded for your info on sites as I still
want that information also.

I will entitle it:
"WIndows 3.1x Errors and Sites for Further Information"

Jim
0
 

Expert Comment

by:doddd
ID: 1804361
No need to do that I'm not interested in points.  I'll look for the sites for you and post them soon.

Dave.
0
 

Author Comment

by:jnowlin
ID: 1804362
OK. Are you sure?

There have been some rather nasty emotions of late regarding points.

Jim
0
 

Expert Comment

by:doddd
ID: 1804363
Jim,

Yes I am sure.  But you've already created the site and you can't really remove a question (you might rouse some nasty emotions).  I will put the answer in your new question.
0
 

Author Comment

by:jnowlin
ID: 1804364
Sounds good.

"WIndows 3.1x Errors and Sites for doddd"

JN
0
 

Author Comment

by:jnowlin
ID: 7039752
I had no idea this question was still open.

I am truly sorry.

Jim
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
An article on effective troubleshooting
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question