Strange behavior, progressively becoming worse

You are in a typical edit-compile-debug cycle, ironing out a few remaining bugs in a program. Things were working really well a few iterations ago, but for some reason your program starts acting strangely, and becomes progressively stranger, even though you aren't changing much code anymore.

  1. Display a list of the shared libraries that are in memory.
      lssl | more
    If you get the error message "lssl: /dev/kmem: Permission denied," you need to have your sysadmin run chmod 4555 and chown root.sys on lssl.
  2. Make sure that LastLibrary is the first entry in the list of libraries.
    If other libraries are loaded above LastLibrary, run CommonPoint to stop and restart the layer. Programs loaded above LastLibrary are not properly slotted into the shared library architecture, and so might reference data incorrectly, leading to a wide variety of errors.
You can avoid this problem completely by enabling TaligentMakeitUserHook, which will stop the layer any time you compile; unfortunately, this procedure is something of a productivity impact, so most people disable it and learn to recognize when their program begins to act strangely for no apparent reason.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker