From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 2 22:10:02 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C215106568A for ; Tue, 2 Sep 2008 22:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E0E298FC1C for ; Tue, 2 Sep 2008 22:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m82MA1Q6094933 for ; Tue, 2 Sep 2008 22:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m82MA145094932; Tue, 2 Sep 2008 22:10:01 GMT (envelope-from gnats) Resent-Date: Tue, 2 Sep 2008 22:10:01 GMT Resent-Message-Id: <200809022210.m82MA145094932@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ben Wilber Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A29D91065674 for ; Tue, 2 Sep 2008 22:00:35 +0000 (UTC) (envelope-from bw@exodus.desync.com) Received: from exodus.desync.com (desync.com [IPv6:2607:f178::165]) by mx1.freebsd.org (Postfix) with ESMTP id 423808FC1C for ; Tue, 2 Sep 2008 22:00:34 +0000 (UTC) (envelope-from bw@exodus.desync.com) Received: from exodus.desync.com (localhost [127.0.0.1]) by exodus.desync.com (8.14.3/8.14.2) with ESMTP id m82M0SIE003566 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 2 Sep 2008 18:00:28 -0400 (EDT) (envelope-from bw@exodus.desync.com) Received: (from bw@localhost) by exodus.desync.com (8.14.3/8.14.2/Submit) id m82M0SW4003565; Tue, 2 Sep 2008 18:00:28 -0400 (EDT) (envelope-from bw) Message-Id: <200809022200.m82M0SW4003565@exodus.desync.com> Date: Tue, 2 Sep 2008 18:00:28 -0400 (EDT) From: Ben Wilber To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/127054: perl causes panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ben Wilber List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2008 22:10:02 -0000 >Number: 127054 >Category: kern >Synopsis: perl causes panic >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 02 22:10:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Ben Wilber >Release: FreeBSD 8.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD exodus 8.0-CURRENT FreeBSD 8.0-CURRENT #39: Sun Aug 31 09:17:23 EDT 2008 bw@exodus:/usr/obj/usr/src/sys/COMRADE amd64 Kernel config: include GENERIC ident COMRADE nooptions INVARIANTS nooptions INVARIANT_SUPPORT nooptions WITNESS nooptions WITNESS_SKIPSPIN options HZ=1000 options DEVICE_POLLING options ALTQ options ALTQ_CBQ # Class Based Queueing options ALTQ_RED # Random Early Detection options ALTQ_RIO # RED In/Out options ALTQ_HFSC # Hierarchical Packet Scheduler options ALTQ_CDNR # Traffic conditioner options ALTQ_PRIQ # Priority Queueing device crypto options IPSEC >Description: Perl's CPAN and CPANPLUS shells cause kernel panic. Fatal trap 12: page faSep 2 17:22:35 ulexodus sshd[2664t w]: error: chown hil/dev/pts/0 0 0 fe iailed: No such fn kile or directoryern 6 failed: No suc5 exodus sshd[26 m64]: error: chmoodd /dev/pts/0 066e h file or directcpory uid = 2; apic id = 06 fault virtual address = 0x268 fault code = supervisor read data, page not present instruction pointer = 0x8:0xffffffff804ca686 stack pointer = 0x10:0xfffffffea981ba10 frame pointer = 0x10:0xfffffffea981ba30 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 2670 (sshd) [thread pid 2670 tid 100223 ] Stopped at _mtx_lock_sleep+0x47: movl 0x268(%rcx),%eax db> bt Tracing pid 2670 tid 100223 td 0xffffff00055b8360 _mtx_lock_sleep() at _mtx_lock_sleep+0x47 ptsdev_read() at ptsdev_read+0x97 dofileread() at dofileread+0x96 kern_readv() at kern_readv+0x46 read() at read+0x4d syscall() at syscall+0x330 Xfast_syscall() at Xfast_syscall+0xab --- syscall (3, FreeBSD ELF64, read), rip = 0x80139cb4c, rsp = 0x7fffffffa268, rbp = 0x60e600 --- >How-To-Repeat: % perl -MCPAN -e shell Operator or semicolon missing before &__inline at (eval 90) line 1. Ambiguous use of & resolved as operator & at (eval 90) line 1. Use of uninitialized value in bitwise and (&) at (eval 283) line 1. Use of uninitialized value in bitwise and (&) at (eval 285) line 1. cpan shell -- CPAN exploration and modules installation (v1.7602) ReadLine support enabled Connection to exodus closed. >Fix: >Release-Note: >Audit-Trail: >Unformatted: