Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2012 19:28:01 GMT
From:      "Michael L. Semon" <mlsemon35@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/167340: cdcontrol: play nonexistent audio track causes kernel trap 12
Message-ID:  <201204261928.q3QJS1JC012987@red.freebsd.org>
Resent-Message-ID: <201204261930.q3QJUIjf032436@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204261928.q3QJS1JC012987>