Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2007 18:23:14 GMT
From:      Joshua Isom <jrisom@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   amd64/116159: Panic while debugging on CURRENT
Message-ID:  <200709061823.l86INEsk043752@www.freebsd.org>
Resent-Message-ID: <200709061830.l86IU1LI082230@freefall.freebsd.org>

index | next in thread | raw e-mail


>Number:         116159
>Category:       amd64
>Synopsis:       Panic while debugging on CURRENT
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 06 18:30:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Joshua Isom
>Release:        CURRENT kernel, STABLE userland
>Organization:
>Environment:
FreeBSD freebsd 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Sep  5 06:32:03 CDT 2007     root@freebsd:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
When I use a 6-STABLE userland with a 7-CURRENT kernel(for support for my dvd drive), I can predictably cause a panic in the kernel while debugging a program, and all as a non root user.  Looking at the coredump seems to provide no information but once it paniced I was able to get this information.

kdb_enter() at kdb_enter+0x31
panic() at panic+0x173
postsig() at postsig+0x155
thread_export_context() at thread_export_context+0x1c7
thread_userret() at thread_userret+0x481
userret() at userret+0xfb
trap() at trap+0x22d
calltrap() at calltrap+0x8

trap 0xc, rip=0xdc0038, rsp=0x7fffffffe730, rbp=0x7fffffffee760

The way I cause this is to debug a program that segfaults, and type in "next" or a similar command into gdb.  When I tried upgrading to a full CURRENT system, debugging anything seemed to be broken(one command would become zombied and I couldn't figure out which).  I don't have any problems with debugging with a 6-STABLE system.
>How-To-Repeat:
$ gdb foo
> run
program went boom
> next
kernel goes boom
>Fix:
Unknown, but everything works in 6-STABLE.

>Release-Note:
>Audit-Trail:
>Unformatted:


home | help

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