From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,53dc635d11771158 X-Google-Attributes: gid1164f8,public X-Google-Thread: fdd80,53dc635d11771158 X-Google-Attributes: gidfdd80,public X-Google-ArrivalTime: 2002-01-13 18:26:52 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: sword7@speakeasy.org Newsgroups: comp.sys.dec,alt.sys.pdp11 Subject: Re: Segmentation Fault Problems (TS10/VAX Emulator) Date: Mon, 14 Jan 2002 02:26:50 -0000 Message-ID: Sender: Timothy Stark References: User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (Linux/2.2.20 (i686)) X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.sys.dec:11495 alt.sys.pdp11:3320 In comp.sys.dec sword7@speakeasy.org wrote: > Well, I looked into the root directory (/) in NetBSD/vax vdisk image and > found two core dumps - route.core and sleep.core. I tried to execute > 'sleep 10' and saw what happens... I was able reproduce that error. > # sleep 10 > Segmentation Fault > I entered GDB debugger and run it. It crashed at loc 4CE9. > 4CE9 MOVL R0,B^08(AP) Today I found a bug that failed to clear all recovery queues that set by autoincrement and autodecrement registers during fault. I fixed it by put 'rqPtr = 0;' under 'faultPC = PC;' in cpu_main.c and 'sleep' now worked fine. Now I am working on 'route' program. When I attempted to execute 'route' and it crashed into segmentation fault. It crashed at loc 9F17 in fprintf statement when it attempted to attach _progname to '%s'. I am figuring out where is the cause.... I will let you know what happends later.... -- Tim Stark -- Timothy Stark <>< Inet: sword7@speakeasy.org -------------------------------------------------------------------------- "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. Amen." -- John 3:16 (King James Version Bible)