kern/145058: Reproducable panic in 7.3 while building clamav

dirk.meyer at dinoex.sub.org dirk.meyer at dinoex.sub.org
Fri Mar 26 12:50:07 UTC 2010


>Number:         145058
>Category:       kern
>Synopsis:       Reproducable panic in 7.3 while building clamav
>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:   Fri Mar 26 12:50:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Meyer
>Release:        FreeBSD 7.3-STABLE
>Organization:
privat
>Environment:

FreeBSD t4.dinoex.sub.de 7.3-STABLE FreeBSD 7.3-STABLE #13: Thu Mar 25 13:01:36 CET 2010
	root at t4.dinoex.sub.de:/usr/obj/usr/src/sys/HOME  i386

# cat /usr/src/sys/i386/conf/HOME
include GENERIC
ident HOME
nocpu   I486_CPU
nocpu   I586_CPU
options         IPFIREWALL              #firewall
options         IPFIREWALL_VERBOSE      #enable logging to syslogd(8)
options         IPFIREWALL_VERBOSE_LIMIT=100    #limit verbosity
options         IPFIREWALL_FORWARD      #packet destination changes
options         IPFIREWALL_DEFAULT_TO_ACCEPT
options         DUMMYNET
options         INVARIANTS
options         INVARIANT_SUPPORT
options         DIAGNOSTIC
options         WITNESS
# eof
----------------

>Description:

	System runs well.
	When building a specific port inside a jail, system panics.
	on reboot there is an unexpectet file inconsitency
	on the volume with the jail.

Unread portion of the kernel message buffer:
panic: System call shutdown returning with -1 locks held
cpuid = 1
Uptime: 3h9m46s
Physical memory: 3059 MB
Dumping 199 MB: 184 168 152 136 120 104 88 72 56 40 24 8

Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/acpi.ko
Reading symbols from /boot/kernel/nullfs.ko...Reading symbols from /boot/kernel/nullfs.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/nullfs.ko
Reading symbols from /boot/kernel/pf.ko...Reading symbols from /boot/kernel/pf.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/pf.ko
Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linux.ko
Reading symbols from /usr/local/modules/fuse.ko...done.
Loaded symbols for /usr/local/modules/fuse.ko
#0  doadump () at pcpu.h:196
kgdb) bt
#0  doadump () at pcpu.h:196
#1  0xc07fed3c in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc07fefde in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:574
#3  0xc0b0949c in syscall (frame=0xe9121d38) at /usr/src/sys/i386/i386/trap.c:1169
#4  0xc0aed530 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:262
#5  0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)


>How-To-Repeat:

	run inside the jail:

pkg_add /usr/ports/packages7/All/libcheck-0.9.8.tbz
pkg_add /usr/ports/packages7/All/arc-5.21o_1.tbz
pkg_add /usr/ports/packages7/All/arj-3.10.22_3.tbz
pkg_add /usr/ports/packages7/All/lha-1.14i_6.tbz
pkg_add /usr/ports/packages7/All/unzoo-4.4_2.tbz
pkg_add /usr/ports/packages7/All/gmake-3.81_3.tbz
pkg_add /usr/ports/packages7/All/autoconf-2.62.tbz
pkg_add /usr/ports/packages7/All/help2man-1.37.1_2.tbz
cd /usr/ports/security/clamav && make package
===>  Vulnerability check disabled, database not found
===>  Extracting for clamav-0.95.3
=> MD5 Checksum OK for clamav-0.95.3.tar.gz.
===>  Vulnerability check disabled, database not found
===>  Extracting for clamav-0.95.3
=> MD5 Checksum OK for clamav-0.95.3.tar.gz.
=> SHA256 Checksum OK for clamav-0.95.3.tar.gz.
[...]
100%: Checks: 265, Failures: 0, Errors: 0
PASS: check_clamav
PASS: check_freshclam.sh
PASS: check_sigtool.sh
PASS: check1_clamscan.sh
PASS: check2_clamd.sh
Running suite(s): clamd
[System panics here]

>Fix:
	
	Workaround: Disabeling debug options

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


More information about the freebsd-bugs mailing list