From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mario Valencia Newsgroups: gmane.emacs.bugs Subject: bug#18463: play-sound crashes emacs if file does not exist Date: Fri, 12 Sep 2014 23:15:12 -0500 Message-ID: References: <83fvfw7g70.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec53d58cbe8ac0a0502eaa560 X-Trace: ger.gmane.org 1410581782 18315 80.91.229.3 (13 Sep 2014 04:16:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Sep 2014 04:16:22 +0000 (UTC) Cc: 18463@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 13 06:16:15 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 1XSekx-0003q3-9w for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Sep 2014 06:16:15 +0200 Original-Received: from localhost ([::1]:48334 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSekw-0000CC-H6 for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Sep 2014 00:16:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSekp-0000Bl-7l for bug-gnu-emacs@gnu.org; Sat, 13 Sep 2014 00:16:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XSekk-0000uq-E7 for bug-gnu-emacs@gnu.org; Sat, 13 Sep 2014 00:16:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSekk-0000uk-BJ for bug-gnu-emacs@gnu.org; Sat, 13 Sep 2014 00:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XSekj-00055a-QR for bug-gnu-emacs@gnu.org; Sat, 13 Sep 2014 00:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mario Valencia Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Sep 2014 04:16:01 +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.141058171819501 (code B ref 18463); Sat, 13 Sep 2014 04:16:01 +0000 Original-Received: (at 18463) by debbugs.gnu.org; 13 Sep 2014 04:15:18 +0000 Original-Received: from localhost ([127.0.0.1]:39763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XSek0-00054R-Pp for submit@debbugs.gnu.org; Sat, 13 Sep 2014 00:15:17 -0400 Original-Received: from mail-wi0-f172.google.com ([209.85.212.172]:50671) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XSejx-00054I-GN for 18463@debbugs.gnu.org; Sat, 13 Sep 2014 00:15:14 -0400 Original-Received: by mail-wi0-f172.google.com with SMTP id e4so1615741wiv.11 for <18463@debbugs.gnu.org>; Fri, 12 Sep 2014 21:15:12 -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=/Btg/1kwIdEaGeEJYT5ckXhuL48ac2InbH620EALDLU=; b=IqzUr+6KTAjxWjNV63AtleE3EBo1Vwl/WLiBOVJYSt7jgj1dAs6/GuM/fx87qJzXIU 3sr/iA/mj7isfDrSlW4X9ncyTwFIE3fJY1S+zONTmjXiLiIWRwa8Ld6041+1e5xi4UIe ITB4kVmzKROCyfhQWQW8MgCtdep24V43OoGyNEFnquI8c+5wnGswToWbkODQCf4xL2tG R8PyoT+GSEffdpq0W/SQyyxD03cAX1+9bnP+5PW1BX1PJSVOsFcXz05Jx96RBA+vlAud Aol96kT7wTr9zTHkmnqQSPHk29m/1giuAaBe6Aw0k71NohjwswVzVxkHx/ERB8yClAPO NsEw== X-Received: by 10.180.19.103 with SMTP id d7mr7696463wie.9.1410581712643; Fri, 12 Sep 2014 21:15:12 -0700 (PDT) Original-Received: by 10.194.38.35 with HTTP; Fri, 12 Sep 2014 21:15:12 -0700 (PDT) In-Reply-To: <83fvfw7g70.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:93318 Archived-At: --bcaec53d58cbe8ac0a0502eaa560 Content-Type: text/plain; charset=UTF-8 well, the official windows binary is built without debug information so i don't know if i could get any useful info. 2014-09-12 15:10 GMT-05:00 Eli Zaretskii : > > Date: Fri, 12 Sep 2014 11:54:07 -0500 > > From: Mario Valencia > > > > running emacs -Q on windows 8 > > tried (play-sound '(sound :file "c:/users/mario/desktop/whatever.wav")) > > in *scratch* buffer. > > if the file exists, it works fine. if the file does not exist, emacs > crashes. > > I cannot reproduce this (but I don't have access to Windows 8). The > latest pretest version of 24.4 signals an error saying > > This Emacs binary lacks sound support > > Emacs 24.3 instead displays an error message about failed sound > command and asks to verify that the file exists. > > Can show the C-level backtrace from the crash, by running Emacs under > a debugger? > --bcaec53d58cbe8ac0a0502eaa560 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
well, the official windows binary is built without debug i= nformation so i don't know if i could get any useful info.

2014-09-12 15:10 GMT-05:= 00 Eli Zaretskii <eliz@gnu.org>:
mari= ovalspi@gmail.com>
>
> running emacs -Q on windows 8
> tried (play-sound '(sound :file "c:/users/mario/desktop/whate= ver.wav"))
> in *scratch* buffer.
> if the file exists, it works fine. if the file does not exist, emacs c= rashes.

I cannot reproduce this (but I don't have access to Windows 8).=C2=A0 T= he
latest pretest version of 24.4 signals an error saying

=C2=A0 =C2=A0This Emacs binary lacks sound support

Emacs 24.3 instead displays an error message about failed sound
command and asks to verify that the file exists.

Can show the C-level backtrace from the crash, by running Emacs under
a debugger?

--bcaec53d58cbe8ac0a0502eaa560--