From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb0e,53dc635d11771158 X-Google-Attributes: gidfdb0e,public X-Google-Thread: fdd80,53dc635d11771158 X-Google-Attributes: gidfdd80,public X-Google-Thread: 1164f8,53dc635d11771158 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2002-01-12 13:29:32 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: sword7@speakeasy.org Newsgroups: comp.sys.dec,alt.sys.pdp10,alt.sys.pdp11 Subject: Segmentation Fault Problems (TS10/VAX Emulator) Date: Sat, 12 Jan 2002 21:29:28 -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:11471 alt.sys.pdp10:9584 alt.sys.pdp11:3312 In comp.sys.dec sword7@speakeasy.org wrote: > However a few problems still need fixed. During startup scripts, I got > several segmentation fault errors but boot went so well. 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) It attempted to return results back to caller but ended up page fault trap. It attempted to put results into loc 0000000A. That function converted from ASCII numbers to integer. I looked up at caller and found out that PUSHL S^#0A into SP -> 08(AP) before page fault trap at loc 2000 for page-in. During page fault trap, it just enable pages into valid and returned back to that 'sleep' program. Kevin Hardy, do you know about that? Thank you! -- 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)