[issue1884] System completely freezes while listening music (devbuf: malloc limit exceeded)

vasily postnicov (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Mon Jan 24 09:01:32 PST 2011


vasily postnicov <shamaz.mazum at gmail.com> added the comment:

New dump: http://shamazmazum.users.sourceforge.net/newdump.tar.gz (DragonFlyBSD
from master (built on Jan 23), x86_64.

I've got it when tried to unload snd_uaudio module. Maybe it will help. Also,
can I know, what "softc" stands for? Is it just some device-related options?

> I looked at devbuf's vmstat after every mkinitrd and it 
kept increasing, one leak at a time

Yes, I see it too. Maybe I will able to find how it is connected to my problem)

#1  md_dumpsys (di=0xffffffff809d2760)
    at /usr/src/sys/platform/pc64/x86_64/dump_machdep.c:262
#2  0xffffffff8037f79b in dumpsys () at /usr/src/sys/kern/kern_shutdown.c:881
#3  0xffffffff8037fe8b in boot (howto=-2004318071)
    at /usr/src/sys/kern/kern_shutdown.c:388
#4  0xffffffff80380220 in panic (fmt=0xffffffff8065dca8 "%s")
    at /usr/src/sys/kern/kern_shutdown.c:787
#5  0xffffffff806289ee in trap_fatal (frame=0xffffffe04d8c8698, 
    eva=<value optimized out>) at /usr/src/sys/platform/pc64/x86_64/trap.c:972
#6  0xffffffff80629b84 in trap (frame=0xffffffe04d8c8698)
    at /usr/src/sys/platform/pc64/x86_64/trap.c:723
#7  0xffffffff80621d2e in calltrap ()
    at /usr/src/sys/platform/pc64/x86_64/exception.S:180
#8  0xffffffff8062359e in db_read_bytes (addr=7020949565765610611, size=8, 
    data=0xffffffe04d8c8778 "d")
    at /usr/src/sys/platform/pc64/x86_64/db_interface.c:244
#9  0xffffffff8019577a in db_get_value (addr=7020949565765610611, size=8, 
    is_signed=0) at /usr/src/sys/ddb/db_access.c:58
#10 0xffffffff80624206 in db_nextframe (addr=<value optimized out>, 
    have_addr=1, count=1009, modif=<value optimized out>)
    at /usr/src/sys/platform/pc64/x86_64/db_trace.c:233
#11 db_stack_trace_cmd (addr=<value optimized out>, have_addr=1, count=1009, 
    modif=<value optimized out>)
    at /usr/src/sys/platform/pc64/x86_64/db_trace.c:439
#12 0xffffffff806243e2 in print_backtrace (count=1301055352)
    at /usr/src/sys/platform/pc64/x86_64/db_trace.c:451
#13 0xffffffff80380204 in panic (
    fmt=0xffffffff806b1fc0 "%s called with uninitialized or corrupt sbuf")
    at /usr/src/sys/kern/kern_shutdown.c:783
#14 0xffffffff803ac9de in _assert_sbuf_integrity (
    fun=0x8 <Address 0x8 out of bounds>, s=<value optimized out>)
    at /usr/src/sys/kern/subr_sbuf.c:92
#15 0xffffffff803aca20 in sbuf_delete (s=0x8)
    at /usr/src/sys/kern/subr_sbuf.c:552
#16 0xffffffff80f664cb in uaudio_detach (self=<value optimized out>)
    at /usr/src/sys/dev/sound/driver/uaudio/../../../../dev/sound/usb/uaudio.c:467
#17 0xffffffff803a047d in DEVICE_DETACH (dev=0xffffffe008bae538)
    at ./device_if.h:49
#18 device_detach (dev=0xffffffe008bae538) at /usr/src/sys/kern/subr_bus.c:1728
#19 0xffffffff803a07f8 in devclass_delete_driver (busclass=0xffffffe008b45050, 
    driver=0xffffffff80f6dec0) at /usr/src/sys/kern/subr_bus.c:727
#20 0xffffffff803a0960 in driver_module_handler (mod=0xffffffe008b64d90, 
    what=1, arg=<value optimized out>) at /usr/src/sys/kern/subr_bus.c:3113
#21 0xffffffff803588b4 in module_unload (mod=0x616f6c6e75646c73)
    at /usr/src/sys/kern/kern_module.c:220
#22 0xffffffff80359fc7 in linker_file_unload (file=0xffffffe008ba8868)
    at /usr/src/sys/kern/kern_linker.c:487
#23 0xffffffff8035aaa2 in sys_kldunload (uap=<value optimized out>)
    at /usr/src/sys/kern/kern_linker.c:825
#24 0xffffffff80629365 in syscall2 (frame=0xffffffe04d8c8c08)
    at /usr/src/sys/platform/pc64/x86_64/trap.c:1182
#25 0xffffffff80621f6f in Xfast_syscall ()
    at /usr/src/sys/platform/pc64/x86_64/exception.S:313
#26 0x000000000000002b in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1884>
_____________________________________________________






More information about the Bugs mailing list