From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#18463: play-sound crashes emacs if file does not exist Date: Mon, 15 Sep 2014 17:23:12 +0200 Message-ID: References: <83fvfw7g70.fsf@gnu.org> <83d2b06mzs.fsf@gnu.org> <838uln7wg7.fsf@gnu.org> <8361gr7w3y.fsf@gnu.org> <8338bv7vlx.fsf@gnu.org> <83y4tn6e8a.fsf@gnu.org> <83wq97678z.fsf@gnu.org> <83k3565gzg.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1410794670 23987 80.91.229.3 (15 Sep 2014 15:24:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Sep 2014 15:24:30 +0000 (UTC) Cc: Mario Valencia , 18463@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 15 17:24:23 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XTY8a-0007Ga-9o for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Sep 2014 17:24:20 +0200 Original-Received: from localhost ([::1]:60632 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTY8Z-0007TA-Rd for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Sep 2014 11:24:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTY8P-0007LV-9A for bug-gnu-emacs@gnu.org; Mon, 15 Sep 2014 11:24:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTY8I-0005mm-UW for bug-gnu-emacs@gnu.org; Mon, 15 Sep 2014 11:24:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTY8I-0005mZ-Ry for bug-gnu-emacs@gnu.org; Mon, 15 Sep 2014 11:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XTY8I-0007FL-Fh for bug-gnu-emacs@gnu.org; Mon, 15 Sep 2014 11:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Sep 2014 15:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18463 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18463-submit@debbugs.gnu.org id=B18463.141079459927786 (code B ref 18463); Mon, 15 Sep 2014 15:24:02 +0000 Original-Received: (at 18463) by debbugs.gnu.org; 15 Sep 2014 15:23:19 +0000 Original-Received: from localhost ([127.0.0.1]:41545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XTY7a-0007E5-Hq for submit@debbugs.gnu.org; Mon, 15 Sep 2014 11:23:19 -0400 Original-Received: from mail-lb0-f179.google.com ([209.85.217.179]:63054) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XTY7Y-0007Ds-0F for 18463@debbugs.gnu.org; Mon, 15 Sep 2014 11:23:17 -0400 Original-Received: by mail-lb0-f179.google.com with SMTP id p9so4621544lbv.38 for <18463@debbugs.gnu.org>; Mon, 15 Sep 2014 08:23:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Pp4oJsv1Adtll/GA7cGKBMyGm71XP4xqrRPbSNbHHiA=; b=noo97YCW4zf4jog6yu0TkKeJnnEh1j2b05kN87Ge6dXXt1RarNDIUXRRACvoZDZES7 egEbAsfnsbY0Afsc1icMG0to1u0CiER/fx0Oo7kGEFi3iuRC2xLrGTOAisTjXNyXUhv1 EvhCOBBArfqFXiXONXGlC3HBYwArCgU5/uwMrCHK3Fdupe5HDCAk+5wKVbHcR0c5o87M 7EnzM2sXYl03hpcrbEOMrWaTRoBNyxUstyO8XT0Xn3x4IBMjfmcX84ryiRkz3N/xAsUg 7MPZbbns8JheUti7YszTAO7HI1KrsCb6MRqB3tO3Z3M71iEOB1+KExAoviYCBam3A1As OQag== X-Received: by 10.112.158.170 with SMTP id wv10mr27593705lbb.66.1410794592499; Mon, 15 Sep 2014 08:23:12 -0700 (PDT) Original-Received: by 10.114.27.230 with HTTP; Mon, 15 Sep 2014 08:23:12 -0700 (PDT) In-Reply-To: <83k3565gzg.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:93379 Archived-At: > Can someone who is equipped to run Emacs under a debugger please try > reproducing this on Windows 8, and report the results? TIA. On Windows 8, with the current trunk, emacs -Q Eval: (play-sound '(sound :file "c:/path/foo.wav")) gives this if the file does not exist: * Return value = nil. * Side effect: Message [1] in the *Messages* buffer. and this if the file does exist: * Return value = nil. * Side effect: The sound stored in the file is played as expected. I've been unable to make the test with the latest version from the emacs-24 brach, because it failed to build (reported to emacs-devel). HTH. ----- Footnotes ---- [1] The open mciSendString command failed to open the specified sound file. Error: Cannot find the specified file. Make sure the path and filename are correct. -- Dani Moncayo