Re: Xine causes kernel panic

From: Brendon and Wendy <wendy.humphrey_at_comcast.net>
Date: Sun, 18 Jan 2004 20:38:56 -0800
Ok Folk,

Thanks for the crashdump hints Craig. 

Backtrace output from gdb.
-----------------------------
  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc067f8d7 in boot (howto=256) at
/usr/src/sys/kern/kern_shutdown.c:372
#2  0xc067fcf0 in poweroff_wait (junk=0xc0880a44, howto=-1064528466)
    at /usr/src/sys/kern/kern_shutdown.c:550
#3  0xc084b0cc in trap_fatal (frame=0xc0880a44, eva=0) at
/usr/src/sys/i386/i386/trap.c:821
#4  0xc084ad72 in trap_pfault (frame=0xe2bea800, usermode=0, eva=4)
    at /usr/src/sys/i386/i386/trap.c:735
#5  0xc084a90d in trap (frame=
      {tf_fs = 24, tf_es = -1052573680, tf_ds = 16, tf_edi = -490821420,
tf_esi = 0, tf_ebp = -490821552, tf_isp = -490821588, tf_ebx = 3, tf_edx
= 0, tf_ecx = 1, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip =
-1067582398, tf_cs = 8, tf_eflags = 66118, tf_esp = -998591104, tf_ss =
1})
    at /usr/src/sys/i386/i386/trap.c:420
#6  0xc08375a8 in calltrap () at {standard input}:94
#7  0xc05dabb6 in dsp_clone (arg=0x0, name=0x0, namelen=4,
dev=0xe2bea8d4)
    at /usr/src/sys/dev/sound/pcm/dsp.c:1166
#8  0xc062df6f in devfs_lookupx (ap=0x0) at
/usr/src/sys/fs/devfs/devfs_vnops.c:386
#9  0xc062e2eb in devfs_lookup (ap=0xe2bea9cc) at
/usr/src/sys/fs/devfs/devfs_vnops.c:455
#10 0xc06d9cd2 in lookup (ndp=0xe2beabdc) at vnode_if.h:52
#11 0xc06d96db in namei (ndp=0xe2beabdc) at
/usr/src/sys/kern/vfs_lookup.c:183
#12 0xc06ed551 in vn_open_cred (ndp=0xe2beabdc, flagp=0xe2beacdc,
cmode=0, cred=0xc4fe8780, fdidx=0)
    at /usr/src/sys/kern/vfs_vnops.c:193
#13 0xc06ed2f3 in vn_open (ndp=0x0, flagp=0x0, cmode=0, fdidx=0) at
/usr/src/sys/kern/vfs_vnops.c:93
#14 0xc06e6468 in kern_open (td=0xc50d2690, path=0x0,
pathseg=UIO_USERSPACE, flags=6, mode=0)
    at /usr/src/sys/kern/vfs_syscalls.c:963
#15 0xc06e6390 in open (td=0x0, uap=0x0) at
/usr/src/sys/kern/vfs_syscalls.c:933
#16 0xc084b480 in syscall (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = -1078001617, tf_edi = 0, tf_esi =
5, tf_ebp = -1077944020, tf_isp = -490820236, tf_ebx = 673052500, tf_edx
= 5, tf_ecx = 0, tf_eax = 5, tf_trapno = 12, tf_err = 2, tf_eip =
676926015, tf_cs = 31, tf_eflags = 582, tf_esp = -1077944048, tf_ss =
47})
    at /usr/src/sys/i386/i386/trap.c:1010
#17 0xc08375fd in Xint0x80_syscall () at {standard input}:136
----------------------------------------

(kgdb) frame 8
#8  0xc062df6f in devfs_lookupx (ap=0x0) at
/usr/src/sys/fs/devfs/devfs_vnops.c:386
386             EVENTHANDLER_INVOKE(dev_clone, pname, strlen(pname),
&cdev);
(kgdb) print pname
$4 = 0xe2bea963 "dsp1"

***** I don't have a /dev/dsp1 *****
-----------------------------------------

#7  0xc05dabb6 in dsp_clone (arg=0x0, name=0x0, namelen=4,
dev=0xe2bea8d4)
    at /usr/src/sys/dev/sound/pcm/dsp.c:1166
1166                    pdev = pcm_getdevt(unit, devtype, i);
(kgdb) print pdev
$5 = 0x0
(kgdb) print unit
$6 = 1
(kgdb) print devtype
$7 = 3
(kgdb) print i
$8 = 3

---------------------------

I'll keep the core around for a while....

Cheers,
Brendon



On Sun, 2004-01-18 at 11:45, Craig Rodrigues wrote:
> On Sun, Jan 18, 2004 at 11:08:55AM -0800, Brendon and Wendy wrote:
> > Hope this helps.
> 
> Not entirely.
>  
> > As usual I'm happy to perform tests, poke and prod etc etc.
> 
> Read this message:
> http://lists.freebsd.org/pipermail/freebsd-current/2003-December/015813.html
> 
> and set your system up for obtaining gdb backtraces.  That will
> provide more useful information.
> 
Received on Sun Jan 18 2004 - 19:39:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:38 UTC