Subject: Re: SIGSEGV on 1.6.1 dump
To: Andrey Petrov <petrov@netbsd.org>
From: leam <leam@reuel.net>
List: port-sparc64
Date: 06/26/2003 18:04:43
Andrey Petrov wrote:
> On Thu, Jun 26, 2003 at 03:36:33PM -0400, leam wrote:
> 
>>Is there a way to cut down the kdump output? Last night I had *lots* of 
>>"\0\0\0" lines. I'll read up on kdump and report back when I have something.
>>
> 
> 
> You can exclude data transferred back and forth in syscalls by specifying
> -t flags. Something like '-t cnis' should give you smaller trace. I'd also
> create small filesystem for test.
> 
> 	Andrey

Actually, it is now crashing earlier.  :)

####

(this is actually the entire kdump, doing a ktrace -i -p {DUMP_PID}

# kdump ktrace.out
    389 dump     EMUL  "netbsd"
    389 dump     PSIG  SIGSEGV caught handler=0x1023a8 mask=() code=0x0
    389 dump     RET   wait4 RESTART
    389 dump     CALL  write(0x2,0xffffffffffffc350,0x2)
    389 dump     GIO   fd 2 wrote 2 bytes
        "  "
    389 dump     RET   write 2
    389 dump     CALL  write(0x2,0xffffffffffffc350,0x6)
    389 dump     GIO   fd 2 wrote 6 bytes
        "DUMP: "
    389 dump     RET   write 6
    389 dump     CALL  write(0x2,0x298388,0x13)
    389 dump     GIO   fd 2 wrote 19 bytes
        "SIGSEGV: ABORTING!
        "
    389 dump     RET   write 19/0x13
    389 dump     CALL 
__sigaction14(0xb,0xffffffffffffce50,0xffffffffffffce30)
    389 dump     RET   __sigaction14 0
    389 dump     CALL  kill(0, SIGSEGV)
    389 dump     RET   kill 0
    389 dump     CALL  __sigreturn14(0xffffffffffffd1b8)
    389 dump     PSIG  SIGSEGV SIG_DFL
#

####
extract file ./var/named/named.tar
   DUMP: readBlocks: lseek fails: Invalid argument
   DUMP: rawread: lseek fails
   DUMP: rawread: lseek2 fails: Invalid argument!
   DUMP: rawread: lseek2 fails: Invalid argument!
   DUMP: rawread: lseek2 fails: Invalid argument!
   DUMP: rawread: lseek2 fails: Invalid argument!
   DUMP: rawread: lseek2 fails: Invalid argument!
   DUMP: rawread: lseek2 fails: Invalid argument!
   DUMP: rawread: lseek2 fails: Invalid argument!
   DUMP: rawread: lseek2 fails: Invalid argument!
   DUMP: SIGSEGV: ABORTING!
       DUMP: SIGSEGV: ABORTING!
DUMP: SIGSEGV: ABORTING!
Segmentation fault - core dumped

####

$ ls -l /var/named/named.tar
-rw-r--r--  1 root  wheel  7759872 Jun 26 15:16 /var/named/named.tar