Solved

Book Explaining GPFs and Windows 3.1x Errors

Posted on 1998-04-04
9
215 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
 

Author Comment

by:jnowlin
Comment Utility
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

Expert Comment

by:doddd
Comment Utility
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
Comment Utility
OK. Are you sure?

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

Jim
0
 

Expert Comment

by:doddd
Comment Utility
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
Comment Utility
Sounds good.

"WIndows 3.1x Errors and Sites for doddd"

JN
0
 

Author Comment

by:jnowlin
Comment Utility
I had no idea this question was still open.

I am truly sorry.

Jim
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

If you Lost your Administrator password for Windows XP, Vista, or 7 this CD will help you reset the password to blank so you can log in. Once in you should change that blank password to something!! Download the ISO on this page http://www.spl…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now