Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Feb 2004 11:14:11 +0100 (CET)
From:      dirk.meyer@dinoex.sub.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/62470: dev/sound/pcm/dsp.c crrashes
Message-ID:  <200402071014.i17AEBAR088828@home.dinoex.sub.de>
Resent-Message-ID: <200402071020.i17AKHfV032925@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         62470
>Category:       kern
>Synopsis:       dev/sound/pcm/dsp.c crrashes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 07 02:20:17 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Meyer
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
privat
>Environment:

FreeBSD dip.dinoex.sub.de 5.2-CURRENT FreeBSD 5.2-CURRENT #9: Fri Jan 30 09:11:51 CET 2004     root@current.dinoex.sub.de:/usr/obj/usr/src/sys/GENERIC  i386

/etc/systcl.conf:
hw.snd.pcm0.vchans=16
hw.snd.maxautovchans=16

>Description:

Feb  7 10:21:29 dip kernel: malloc() of "256" with the following non-sleepable locks held:
Feb  7 10:21:29 dip kernel: exclusive sleep mutex pcm0 (sound cdev) r = 0 (0xc2a24d80) locked @ /usr/src/sys/dev/sound/pcm/dsp.c:213
Feb  7 10:21:29 dip kernel: malloc() of "256" with the following non-sleepable locks held:
Feb  7 10:21:29 dip kernel: exclusive sleep mutex pcm0 (sound cdev) r = 0 (0xc2a24d80) locked @ /usr/src/sys/dev/sound/pcm/dsp.c:213
Feb  7 10:24:35 dip syslogd: restart
Feb  7 10:24:35 dip syslogd: kernel boot file is /boot/kernel/kernel

[...]

Feb  7 10:48:18 dip kernel: malloc() of "256" with the following non-sleepable locks held:
Feb  7 10:48:18 dip kernel: exclusive sleep mutex pcm0 (sound cdev) r = 0 (0xc29b2500) locked @ /usr/src/sys/dev/sound/pcm/dsp.c:213
Feb  7 10:49:30 dip kernel: malloc() of "256" with the following non-sleepable locks held:
Feb  7 10:49:30 dip kernel: exclusive sleep mutex pcm0 (sound cdev) r = 0 (0xc29b2500) locked @ /usr/src/sys/dev/sound/pcm/dsp.c:213
Feb  7 10:52:46 dip syslogd: restart
Feb  7 10:52:46 dip syslogd: kernel boot file is /boot/kernel/kernel
Feb  7 10:52:46 dip kernel: kernel trap 9 with interrupts disabled
Feb  7 10:52:46 dip kernel: 
Feb  7 10:52:46 dip kernel: 
Feb  7 10:52:46 dip kernel: Fatal trap 9: general protection fault while in kernel mode
Feb  7 10:52:46 dip kernel: cpuid = 0; apic id = 00
Feb  7 10:52:46 dip kernel: instruction pointer = 0x8:0xc08027f5
Feb  7 10:52:46 dip kernel: stack pointer               = 0x10:0xcc7b5bb0
Feb  7 10:52:46 dip kernel: frame pointer               = 0x10:0xcc7b5bcc
Feb  7 10:52:46 dip kernel: code segment                = base 0x0, limit 0xfffff, type 0x1b
Feb  7 10:52:46 dip kernel: = DPL 0, pres 1, def32 1, gran 1
Feb  7 10:52:46 dip kernel: processor eflags    = resume, IOPL = 0
Feb  7 10:52:46 dip kernel: current process             = 27 (swi8: tty:sio clock)
Feb  7 10:52:46 dip kernel: trap number         = 9
Feb  7 10:52:46 dip kernel: panic: general protection fault
Feb  7 10:52:46 dip kernel: at line 821 in file /usr/src/sys/i386/i386/trap.c
Feb  7 10:52:46 dip kernel: cpuid = 0; 
Feb  7 10:52:46 dip kernel: 
Feb  7 10:52:46 dip kernel: syncing disks, buffers remaining... 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 19
98 1998 1998 1998 1998 1998 1998 1998 1998 1998 
Feb  7 10:52:46 dip kernel: giving up on 13 buffers
Feb  7 10:52:46 dip kernel: Uptime: 26m18s
Feb  7 10:52:46 dip kernel: Dumping 223 MB
Feb  7 10:52:46 dip kernel: 16 32 48 64 80 96 112 128 144 160 176 192 208
Feb  7 10:52:46 dip kernel: Dump complete
Feb  7 10:52:46 dip kernel: pfs_vncache_unload(): 1 entries remaining
Feb  7 10:52:46 dip kernel: Automatic reboot in 15 seconds - press a key on the console to abort
Feb  7 10:52:46 dip kernel: Rebooting...

panic messages:
---
Fatal trap 9: general protection fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer     = 0x8:0xc08027f5
stack pointer           = 0x10:0xcc7b5bb8
frame pointer           = 0x10:0xcc7b5bd4
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = resume, IOPL = 0
current process         = 27 (swi8: tty:sio clock)
trap number             = 9
panic: general protection fault
at line 821 in file /usr/src/sys/i386/i386/trap.c
cpuid = 0; 

syncing disks, buffers remaining... 
giving up on 622 buffers
Uptime: 53m28s
Dumping 223 MB
---
(kgdb) bt
#0  0xc063e0ab in doadump ()
#1  0xc063e743 in boot ()
#2  0xc063eb79 in __panic ()
#3  0xc0800026 in trap_fatal ()
#4  0xc07ffa12 in trap ()
#5  0xc08027f5 in atpic_handle_intr ()


panic messages:
---
Fatal trap 9: general protection fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer     = 0x8:0xc08027f5
stack pointer           = 0x10:0xcc7b5bb0
frame pointer           = 0x10:0xcc7b5bcc
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = resume, IOPL = 0
current process         = 27 (swi8: tty:sio clock)
trap number             = 9
panic: general protection fault
at line 821 in file /usr/src/sys/i386/i386/trap.c
cpuid = 0; 

syncing disks, buffers remaining... 
giving up on 13 buffers
Uptime: 26m18s
Dumping 223 MB
---
(kgdb) bt
#0  0xc063e0ab in doadump ()
#1  0xc063e743 in boot ()
#2  0xc063eb79 in __panic ()
#3  0xc0800026 in trap_fatal ()
#4  0xc07ffa12 in trap ()
#5  0xc08027f5 in atpic_handle_intr ()
#6  0xc0802bf7 in Xatpic_intr11 ()

>How-To-Repeat:

	any use of sound directly or over sdl.
	user play a soundfile and system crashes.
	soundfile can be local or fetched over nfs mount.

>Fix:

	was working in:
	FreeBSD 5.2-CURRENT #7: Sun Dec 14 10:38:15 CET 2003

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



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