Date: Tue, 7 Jul 2009 13:53:41 GMT From: Nikos Vassiliadis <nvass9573@gmx.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/136426: spawning several dhclients in parallel panics the kernel Message-ID: <200907071353.n67Drf0m059632@www.freebsd.org> Resent-Message-ID: <200907071400.n67E09Ec038957@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 136426 >Category: kern >Synopsis: spawning several dhclients in parallel panics the kernel >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 07 14:00:09 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Nikos Vassiliadis >Release: 8.0-CURRENT >Organization: >Environment: FreeBSD speed.homeunix.net 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jul 6 23:30:56 EEST 2009 root@speed.homeunix.net:/usr/obj/mnt/tst/src/sys/GENERIC i386 >Description: Spawning many, like 20, dhclients in parallel results to kernel panic. (kgdb) bt #0 doadump () at pcpu.h:246 #1 0xc0874a7e in boot (howto=260) at /mnt/tst/src/sys/kern/kern_shutdown.c:419 #2 0xc0874d52 in panic (fmt=Variable "fmt" is not available. ) at /mnt/tst/src/sys/kern/kern_shutdown.c:575 #3 0xc04c4477 in db_panic (addr=Could not find the frame base for "db_panic". ) at /mnt/tst/src/sys/ddb/db_command.c:478 #4 0xc04c4aa1 in db_command (last_cmdp=0xc0d790bc, cmd_table=0x0, dopager=1) at /mnt/tst/src/sys/ddb/db_command.c:445 #5 0xc04c4bfa in db_command_loop () at /mnt/tst/src/sys/ddb/db_command.c:498 #6 0xc04c6a5d in db_trap (type=3, code=0) at /mnt/tst/src/sys/ddb/db_main.c:229 #7 0xc08a2ab6 in kdb_trap (type=3, code=0, tf=0xcd492a48) at /mnt/tst/src/sys/kern/subr_kdb.c:534 #8 0xc0b99efb in trap (frame=0xcd492a48) at /mnt/tst/src/sys/i386/i386/trap.c:685 #9 0xc0b7c41b in calltrap () at /mnt/tst/src/sys/i386/i386/exception.s:165 #10 0xc08a2c3a in kdb_enter (why=0xc0c58f38 "panic", msg=0xc0c58f38 "panic") at cpufunc.h:71 #11 0xc0874d36 in panic (fmt=0xc0bf52d3 "Bad link elm %p prev->next != elm") at /mnt/tst/src/sys/kern/kern_shutdown.c:558 #12 0xc096bcaf in in_control (so=0xc300bce0, cmd=2149607705, data=0xc2f92300 "rl0", ifp=0xc2a7e400, td=0xc3058900) at /mnt/tst/src/sys/netinet/in.c:594 #13 0xc0920f50 in ifioctl (so=0xc300bce0, cmd=2149607705, data=0xc2f92300 "rl0", td=0xc3058900) at /mnt/tst/src/sys/net/if.c:2302 #14 0xc08bed25 in soo_ioctl (fp=0xc2f84dc8, cmd=2149607705, data=0xc2f92300, active_cred=0xc296d100, td=0xc3058900) at /mnt/tst/src/sys/kern/sys_socket.c:212 #15 0xc08b93cd in kern_ioctl (td=0xc3058900, fd=3, com=2149607705, data=0xc2f92300 "rl0") at file.h:262 #16 0xc08b9554 in ioctl (td=0xc3058900, uap=0xcd492cf8) at /mnt/tst/src/sys/kern/sys_generic.c:678 #17 0xc0b99633 in syscall (frame=0xcd492d38) at /mnt/tst/src/sys/i386/i386/trap.c:1073 #18 0xc0b7c480 in Xint0x80_syscall () at /mnt/tst/src/sys/i386/i386/exception.s:261 #19 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) >How-To-Repeat: Spawn many dhclients in parallel: dhclient rl0 & dhclient rl0 & dhclient rl0 & dhclient rl0 & dhclient rl0 & dhclient rl0 & dhclient rl0 & dhclient rl0 & dhclient rl0 & dhclient rl0 & dhclient rl0 & dhclient rl0 & dhclient rl0 & dhclient rl0 & dhclient rl0 & dhclient rl0 & dhclient rl0 & dhclient rl0 & dhclient rl0 & dhclient rl0 & >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907071353.n67Drf0m059632>