Welcome, Guest. Please login or register.

Author Topic: Can library files not in use cause crashing?  (Read 3170 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline PiR

  • Full Member
  • ***
  • Join Date: Apr 2003
  • Posts: 148
    • Show only replies by PiR
Re: Can library files not in use cause crashing?
« Reply #14 from previous page: April 02, 2004, 03:25:47 PM »
Hi

Have you ever considered simple lack of power?
It can show like you describe - everything freezes, including mouse pointer.

Another tip (my own :-D): CapsLock test:

Keyboard has its own simple CPU with small buffer.
When your system freezes try hitting CapsLock several times and observe its diode.
If after several hits (lets say no more then twenty) you notice that led is not changing (after the last hit it stayed on or off ignoring you're still hitting it), this means that keyboard buffer is full - waiting the main CPU to fetch the data. This means that CPU stopped and this may happen because the voltage dropped so much that CPU refuses to work any more.

3fingers works anyway, as it is forced via the back-door, omitting this keyboard buffer.

Invended this on my A1200.

Quote
Out of curiosity, do lib files get loaded into RAM in startup or do the lay unused in LIBS until a program calls for it?


Everything stays on disk and getts loaded only when needed and that means - at the first try to open it.
It is worth to mention that it is unloaded ... no, not, when the last one who used the lib is finished. It is unloaded only when the system is trying to organize any more memory and this lib not used at the moment, and this means, when system runs short of memory and somewhere someone tries to allocate some.


Good luck
 

Offline Ilwrath

Re: Can library files not in use cause crashing?
« Reply #15 on: April 02, 2004, 05:46:45 PM »
Quote
Out of curiosity, do lib files get loaded into RAM in startup or do the lay unused in LIBS until a program calls for it?


As I understand it, they typically would lay unused until a program calls for them.  But, of course, some are going to get called for VERY early in the computer's startup.  Setpatch, for instance, calls at least the 68040.library/68060.library libs, and probably others...  and it should be the first line of your startup.  ;-)  And the ROM update file can be sneaky.  It MAY still load even if you boot with both mouse buttons held and boot no startup.  (I forget if it does, or if it just tacks itself onto a vector and stays around until power-off.  I just remember it being a pest, if it malfunctions!!)
 

Offline NightShade737

  • Sr. Member
  • ****
  • Join Date: May 2003
  • Posts: 328
    • Show only replies by NightShade737
    • http://atomnet.co.uk
Re: Can library files not in use cause crashing?
« Reply #16 on: April 02, 2004, 05:54:36 PM »
The ROM is only loaded if you do a normal boot, but then, it is resident untill the computer is fully turned off so even if you restart and boot from a disk, it will still be active.