From owner-freebsd-i386@FreeBSD.ORG Thu Apr 26 19:30:19 2012 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17A3F106566C for ; Thu, 26 Apr 2012 19:30:19 +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 CB5C58FC0A for ; Thu, 26 Apr 2012 19:30:18 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q3QJUICO032439 for ; Thu, 26 Apr 2012 19:30:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q3QJUIjf032436; Thu, 26 Apr 2012 19:30:18 GMT (envelope-from gnats) Resent-Date: Thu, 26 Apr 2012 19:30:18 GMT Resent-Message-Id: <201204261930.q3QJUIjf032436@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Michael L. Semon" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A14C5106566B for ; Thu, 26 Apr 2012 19:28:01 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 8C6CD8FC14 for ; Thu, 26 Apr 2012 19:28:01 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q3QJS1qb012988 for ; Thu, 26 Apr 2012 19:28:01 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q3QJS1JC012987; Thu, 26 Apr 2012 19:28:01 GMT (envelope-from nobody) Message-Id: <201204261928.q3QJS1JC012987@red.freebsd.org> Date: Thu, 26 Apr 2012 19:28:01 GMT From: "Michael L. Semon" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: i386/167340: cdcontrol: play nonexistent audio track causes kernel trap 12 X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2012 19:30:19 -0000 >Number: 167340 >Category: i386 >Synopsis: cdcontrol: play nonexistent audio track causes kernel trap 12 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 26 19:30:18 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Michael L. Semon >Release: 9.0 >Organization: >Environment: (sorry, forgot this one, it's a default FreeBSD 9.0 install on a Pentium III/500 PC) >Description: Suppose I have an audio CD with 15 tracks on it. To issue commands like "cdcontrol 16" or "cdcontrol 32" or "cdcontrol 'play 19'" causes FreeBSD to stop immediately. Not copying the entire screen by hand, I boil it down to this: kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode fault virtual address = 0x2c fault code = supervisor write, page not present This PC is a boat anchor (Pentium III/500, ATAPI CD-ROM, all older ATA drives of the non-serial variety), so all I ask is that you try to duplicate the problem on your modern hardware. If you can't reproduce the problem, I'll strive to be really careful when using cdcontrol. Going back to FreeBSD 6.2 or 6.3, I've never had a crash of any kind from cdcontrol until now...and I've made many, many data entry mistakes with cdcontrol. >How-To-Repeat: 1) Insert an audio disc into an older ATAPI CD-ROM drive. 2) Get cdcontrol to play a track that doesn't exist, like 'cdcontrol 180'. You should get a healthy error message, not a halted PC. >Fix: >Release-Note: >Audit-Trail: >Unformatted: