Re: ddb(4) spoils kernel stack in CURRENT?




Hello!

On Tue, 19 Dec 2006, Dmitry Pryanishnikov wrote:
I've tried to repeat this under the RELENG_6 as of 30-Oct (just removing
kernel options COMPAT_43TTY, COMPAT_FREEBSD6, INVARIANTS, INVARIANT_SUPPORT,
and using 'debug.kdb.enter' instead of 'debug.kdb.panic') - and kgdb unwinds
the stack even if the dump got via typing 'panic' from ddb:

Today I've tried this with the fresh (20-Dec) RELENG_6 and with INVARIANTS*
(so the only difference between kernel configs are CURRENT-only options
COMPAT_43TTY and COMPAT_FREEBSD6). No differences - kgdb successfully
unwinds the stack under RELENG_6. It seems that the following stands:

So it looks like a regression in CURRENT vs RELENG_6 (either ddb 'spoils' the stack somehow, or kgdb fails to unwind it).

Sincerely, Dmitry
--
Atlantis ISP, System Administrator
e-mail: dmitry@xxxxxxxxxxxxxx
nic-hdl: LYNX-RIPE
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: (audit?) Panic in 6.2-PRERELEASE
    ... It could be that the stack is hosed losing the frame, ... GDB is free software, covered by the GNU General Public License, and you are ... Unread portion of the kernel message buffer: ...
    (freebsd-stable)
  • Re: (audit?) Panic in 6.2-PRERELEASE
    ... It could be that the stack is hosed losing the frame, ... number to pull the struct file reference out of the process. ... Could you repeat that, but with the array index -- i.e., ...
    (freebsd-stable)
  • Re: ddb(4) spoils kernel stack in CURRENT?
    ... I worried that gdb probably had workaround for the large stack argument. ... or kgdb fails to unwind it). ... Subject: cvs commit: src/sys/i386/i386 apic_vector.s exception.slocal_apic.c ...
    (freebsd-current)
  • Re: linux-2.6 x86_64 kgdb issue
    ... CONFIG_16KSTACKS to double the stack size so the kernel can be ... You only got stack overflows when working with kgdb right? ... I was using a debugging tool for taking snapshots of the ...
    (Linux-Kernel)
  • [Fwd: Panic: if_freemulti: protospec not NULL]
    ... the IPv4 stack joins 224.0.0.1 once for every IPv4 unicast address configured in the stack. ... ifconfig lo1 inet 62.48.0.39/32 ...
    (freebsd-current)