Segmentation Violation

Bill Campbell bill at celestial.com
Wed Jul 21 09:57:46 PDT 2010


On Wed, Jul 21, 2010, George Simon wrote:

>I've been asked the following question by one of our programmers that is
>experiencing difficulties with segmentation violations.

Segmentation violations by their very nature terminate the
program that does this.

If it's a cron job, the problem may well be an unset or invalid
TERM environment variable as I have see some software with poor
validity checking throw segmentation violations when there is no
matching terminal in the $TERMCAP data (e.g. Informix, and
perhaps FilePro does this as well).

When running cron jobs it's critical to insure that the
environment contains all the variables the programs need.  This
is particularly true of TERM when programs expect to be run in a
normal interactive session.

Bill
-- 
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186  Skype: jwccsllc (206) 855-5792

Instead of giving money to found colleges to promote learning, why don't
they pass a constitutional amendment prohibiting anybody from learning
anything?  If it works as good as the Prohibition one did, why, in five
years we would have the smartest race of people on earth.
    -- The Best of Will Rogers


More information about the Filepro-list mailing list