NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/45664: audio detach failure



>Number:         45664
>Category:       kern
>Synopsis:       audio panic at detach
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 27 14:40:00 +0000 2011
>Originator:     Martin Husemann
>Release:        NetBSD 5.99.57
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD after-hours.aprisoft.de 5.99.57 NetBSD 5.99.57 (MODULAR) #75: 
Sun Nov 27 09:35:46 CET 2011  
martin%after-hours.aprisoft.de@localhost:/usr/src/sys/arch/sparc64/compile/MODULAR
 sparc64
Architecture: sparc64
Machine: sparc64
>Description:

When rebooting -current I get an assertion failure bt != NULL in 

0x142b0e8 is in vmem_xfree (../../../../kern/subr_vmem.c:1092).
1087            KASSERT(size > 0);
1088    
1089            VMEM_LOCK(vm);
1090    
1091            bt = bt_lookupbusy(vm, addr);
1092            KASSERT(bt != NULL);
1093            KASSERT(bt->bt_start == addr);
1094            KASSERT(bt->bt_size == vmem_roundup_size(vm, size) ||
1095                bt->bt_size - vmem_roundup_size(vm, size) <= 
vm->vm_quantum_mask);
1096            KASSERT(bt->bt_type == BT_TYPE_BUSY);

with this backtrace:

vmem_xfree(4205000, 3bd6170, 10000, 0, e37ba50, 17b7680) at netbsd:vmem_xfree+0x
1c8
audio_free_ring(3bf2590, 3bf2960, e2ccc00, 1, ff, 18ccba8) at netbsd:audio_free_
ring+0x24
audiodetach(3bf3190, 4, ff070000000001, 0, e37bb18, 17b15c0) at netbsd:audiodeta
ch+0x110
config_detach(3bf3190, 4, ff0f0000000001, 0, e37bbc8, 1809c00) at netbsd:config_
detach+0xc0
config_detach_all(808, 0, 0, 0, 17b0508, 17b04d8) at netbsd:config_detach_all+0x
80
cpu_reboot(808, 0, 0, 0, 0, 0) at netbsd:cpu_reboot+0x264
sys_reboot(0, e37bdd0, e37be10, 1, 0, 40414f28) at netbsd:sys_reboot+0x50
syscall_plain(e37bed0, e37bdd0, 40744ab8, ffffffffffffb361, 40744ab8, 2) at netb
sd:syscall_plain+0x134
?(808, 0, 101660, 5, 0, 4093f3c0) at 1008c48

I'm pretty sure /dev/audio has not been opeend at all since the last reboot.

>How-To-Repeat:
not sure yet

>Fix:
n/a



Home | Main Index | Thread Index | Old Index