misc/94578: Panic by using rtorrent sometimes

hunreal hunreal at gmail.com
Thu Mar 16 23:21:14 UTC 2006


>Number:         94578
>Category:       misc
>Synopsis:       Panic by using rtorrent sometimes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 16 23:20:46 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     hunreal
>Release:        FreeBSD 6.1-PRERELEASE
>Organization:
hshh.org
>Environment:
FreeBSD test.hshh.org 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #1: Thu Feb  9 16:17:28 CST 2006     root at test.hshh.org:/usr/obj/usr/src/sys/test  i386
>Description:
System was panic by using Rtorrent BitTorrent client(/usr/ports/net-p2p/rtorrent) to download.
And I got crash dumps.
Here is ``bt full'' infomation.

--bt full--
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd".

Unread portion of the kernel message buffer:
panic: vm_page_unwire: invalid wire count: 0
cpuid = 0
Uptime: 34d7h40m45s
Dumping 2047 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 2047MB (524016 pages) 2031 2015 1999 1983 1967 1951 1935 1919 1903 1887 1871 1855 1839 1823 1807 1791 1775 1759 1743 1727 1711 1695 1679 1663 1647 1631 1615 1599 1583 1567 1551 1535 1519 1503 1487 1471 1455 1439 1423 1407 1391 1375 1359 1343 1327 1311 1295 1279 1263 1247 1231 1215 1199 1183 1167 1151 1135 1119 1103 1087 1071 1055 1039 1023 1007 991 975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15

#0  doadump () at pcpu.h:165
165     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) bt full
#0  doadump () at pcpu.h:165
No locals.
#1  0xc04c7a76 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399
        first_buf_printf = 1
#2  0xc04c7d9d in panic (fmt=0xc062d158 "vm_page_unwire: invalid wire count: %d") at /usr/src/sys/kern/kern_shutdown.c:555
        td = (struct thread *) 0xc60d9000
        bootopt = 260
        newpanic = 0
        ap = 0xc60d9000 "\030t\r评\206"
        buf = "vm_page_unwire: invalid wire count: 0", '\0' <repeats 218 times>
#3  0xc05c0d9c in vm_page_unwire (m=0xc23d4898, activate=0) at /usr/src/sys/vm/vm_page.c:1197
No locals.
#4  0xc0510f1a in vfs_vmio_release (bp=0xda0f3c70) at /usr/src/sys/kern/vfs_bio.c:1465
        i = 2
        m = 0xc23d4898
#5  0xc05116b8 in getnewbuf (slpflag=0, slptimeo=0, size=16384, maxsize=16384) at /usr/src/sys/kern/vfs_bio.c:1774
        qindex = 1
        bp = (struct buf *) 0xda0f3c70
        nbp = (struct buf *) 0xda1af000
        defrag = 0
        nqindex = 1
        flushingbufs = 0
#6  0xc0512c28 in getblk (vp=0xc8642cc0, blkno=17073, size=16384, slpflag=0, slptimeo=0, flags=0)
    at /usr/src/sys/kern/vfs_bio.c:2481
        bsize = 16384
        maxsize = 0
        vmio = 1
        offset = Unhandled dwarf expression opcode 0x93
--bt full--

--my kernel configure file--
machine         i386
cpu             I686_CPU
ident           test
makeoptions     DEBUG=-g
options         SCHED_ULE
options         INET
options         INET6
options         FFS
options         SOFTUPDATES
options         UFS_ACL
options         UFS_DIRHASH
options         PROCFS
options         PSEUDOFS
options         GEOM_GPT
options         COMPAT_43
options         COMPAT_FREEBSD4
options         COMPAT_FREEBSD5
options         SCSI_DELAY=5000
options         KTRACE
options         SYSVSHM
options         SYSVMSG
options         SYSVSEM
options         _KPOSIX_PRIORITY_SCHEDULING
options         KBD_INSTALL_CDEV
options         ADAPTIVE_GIANT
device          apic
options         SMP
device          pci
device          ata
device          atadisk
device          atapicd
options         ATA_STATIC_ID
device          mpt
device          scbus
device          ch
device          da
device          pass
device          ses
device          atkbdc
device          atkbd
device          vga
device          sc
device          agp
device          miibus
device          em
device          loop
device          random
device          ether
device          pty
device          bpf
options         MAXDSIZ=(1024UL*1024*1024)
options         AUTO_EOI_1
options         ZERO_COPY_SOCKETS
options         DEVICE_POLLING
options         HZ=1000
options         INCLUDE_CONFIG_FILE

>How-To-Repeat:
It appear sometimes.
I don't know how to repeat the problem.
>Fix:

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


More information about the freebsd-bugs mailing list