Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Mar 2001 16:51:15 +0000
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        current@freebsd.org, jhb@freebsd.org, jake@freebsd.org
Subject:   Re: Interesting backtrace...
Message-ID:  <20010318165115.A87193@walton.maths.tcd.ie>
In-Reply-To: <xzpwv9nf5kg.fsf@flood.ping.uio.no>; from des@ofug.org on Sun, Mar 18, 2001 at 04:41:03PM %2B0100
References:  <xzpwv9nf5kg.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 18, 2001 at 04:41:03PM +0100, Dag-Erling Smorgrav wrote:
> I finally caught a backtrace from one of those recurring stack smash
> panics. I've been getting a few of these every day for a couple of
> weeks now but never caught a dump; I caught this one by typing 'panic'
> immediately instead of trying to get a trace at the ddb prompt first.

I have a back trace that is exactly like this. I got it by doing
a "call dumpsys" at the ddb prompt. It is also at the pmap_zero_page
line in vm_fault, then has the corrupted frame and then goes into another
vault. Curiously, my machine is a K6-2 too.

I've followed the same gdb steps which you went through, and the panic
looks identical. The is the same panic as the one which I posted the
ktr trace for a couple of days ago, if that helps.

	David.

CPU: AMD-K6(tm) 3D processor (400.91-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
  Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
  AMD Features=0x80000800<SYSCALL,3DNow!>

(kgdb) where
#0  dumpsys () at ../../kern/kern_shutdown.c:478
#1  0xc0133501 in db_fncall (dummy1=0, dummy2=0, dummy3=0, 
    dummy4=0xc86dfc88 "\200Õ5ÀÀò3À\001") at ../../ddb/db_command.c:532
#2  0xc013332d in db_command (last_cmdp=0xc02f7554, cmd_table=0xc02f73b4, 
    aux_cmd_tablep=0xc033c95c) at ../../ddb/db_command.c:333
#3  0xc01333f2 in db_command_loop () at ../../ddb/db_command.c:455
#4  0xc01355bb in db_trap (type=12, code=0) at ../../ddb/db_trap.c:71
#5  0xc028932a in kdb_trap (type=12, code=0, regs=0xc86dfdd8)
    at ../../i386/i386/db_interface.c:164
#6  0xc0297fb8 in trap_fatal (frame=0xc86dfdd8, eva=4294906495)
    at ../../i386/i386/trap.c:983
#7  0xc0297d25 in trap_pfault (frame=0xc86dfdd8, usermode=0, eva=4294906495)
    at ../../i386/i386/trap.c:901
#8  0xc0296f7f in trap (frame={tf_fs = 24, tf_es = 16, tf_ds = 16, 
      tf_edi = -932172416, tf_esi = -932879296, tf_ebp = -932315508, 
      tf_isp = -932315644, tf_ebx = 0, tf_edx = -1065345032, tf_ecx = 0, 
      tf_eax = -1071054797, tf_trapno = 12, tf_err = 0, tf_eip = -60801, 
      tf_cs = 8, tf_eflags = 66118, tf_esp = -65536, tf_ss = -1})
    at ../../i386/i386/trap.c:448
#9  0xffff127f in ?? ()
#10 0xc0266b53 in vm_fault (map=0xc8702d80, vaddr=135098368, 
    fault_type=2 '\002', fault_flags=8) at ../../vm/vm_page.h:493
#11 0xc0297b65 in trap_pfault (frame=0xc86dffa8, usermode=1, eva=135098368)
    at ../../i386/i386/trap.c:876
#12 0xc0296bab in trap (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
      tf_edi = 135098368, tf_esi = 13, tf_ebp = -1077937844, 
      tf_isp = -932315180, tf_ebx = 4096, tf_edx = 0, tf_ecx = 1024, 
      tf_eax = -791621424, tf_trapno = 12, tf_err = 6, tf_eip = 134885503, 
      tf_cs = 31, tf_eflags = 66070, tf_esp = -1077937900, tf_ss = 47})
    at ../../i386/i386/trap.c:335
(kgdb) up 8
#8  0xc0296f7f in trap (frame={tf_fs = 24, tf_es = 16, tf_ds = 16, 
      tf_edi = -932172416, tf_esi = -932879296, tf_ebp = -932315508, 
      tf_isp = -932315644, tf_ebx = 0, tf_edx = -1065345032, tf_ecx = 0, 
      tf_eax = -1071054797, tf_trapno = 12, tf_err = 0, tf_eip = -60801, 
      tf_cs = 8, tf_eflags = 66118, tf_esp = -65536, tf_ss = -1})
    at ../../i386/i386/trap.c:448
448                             (void) trap_pfault(&frame, FALSE, eva);
(kgdb) p/x frame
$1 = {tf_fs = 0x18, tf_es = 0x10, tf_ds = 0x10, tf_edi = 0xc8702d80, 
  tf_esi = 0xc8656440, tf_ebp = 0xc86dfe8c, tf_isp = 0xc86dfe04, tf_ebx = 0x0, 
  tf_edx = 0xc0801ff8, tf_ecx = 0x0, tf_eax = 0xc0290033, tf_trapno = 0xc, 
  tf_err = 0x0, tf_eip = 0xffff127f, tf_cs = 0x8, tf_eflags = 0x10246, 
  tf_esp = 0xffff0000, tf_ss = 0xffffffff}
(kgdb) up 4
#12 0xc0296bab in trap (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
      tf_edi = 135098368, tf_esi = 13, tf_ebp = -1077937844, 
      tf_isp = -932315180, tf_ebx = 4096, tf_edx = 0, tf_ecx = 1024, 
      tf_eax = -791621424, tf_trapno = 12, tf_err = 6, tf_eip = 134885503, 
      tf_cs = 31, tf_eflags = 66070, tf_esp = -1077937900, tf_ss = 47})
    at ../../i386/i386/trap.c:335
335                             i = trap_pfault(&frame, TRUE, eva);
(kgdb) p/x frame
$2 = {tf_fs = 0x2f, tf_es = 0x2f, tf_ds = 0x2f, tf_edi = 0x80d7000, 
  tf_esi = 0xd, tf_ebp = 0xbfbff94c, tf_isp = 0xc86dffd4, tf_ebx = 0x1000, 
  tf_edx = 0x0, tf_ecx = 0x400, tf_eax = 0xd0d0d0d0, tf_trapno = 0xc, 
  tf_err = 0x6, tf_eip = 0x80a307f, tf_cs = 0x1f, tf_eflags = 0x10216, 
  tf_esp = 0xbfbff914, tf_ss = 0x2f}
(kgdb) p/x CADDR2
$3 = 0xc0801000
(kgdb) p/x CMAP2
$4 = 0xbff02004

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010318165115.A87193>