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 11:54:07 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d04388df32394ef0502e12299 X-Trace: ger.gmane.org 1410540918 15762 80.91.229.3 (12 Sep 2014 16:55:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2014 16:55:18 +0000 (UTC) To: 18463@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 12 18:55:11 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 1XSU7q-00067z-8F for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Sep 2014 18:55:10 +0200 Original-Received: from localhost ([::1]:46381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSU7p-0001ma-S3 for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Sep 2014 12:55:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSU7k-0001iL-Nu for bug-gnu-emacs@gnu.org; Fri, 12 Sep 2014 12:55:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XSU7j-0005fk-7U for bug-gnu-emacs@gnu.org; Fri, 12 Sep 2014 12:55:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSU7j-0005f9-4d for bug-gnu-emacs@gnu.org; Fri, 12 Sep 2014 12:55:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XSU7i-0005ee-1z for bug-gnu-emacs@gnu.org; Fri, 12 Sep 2014 12:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mario Valencia Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Sep 2014 16:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18463 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141054085721679 (code B ref -1); Fri, 12 Sep 2014 16:55:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Sep 2014 16:54:17 +0000 Original-Received: from localhost ([127.0.0.1]:39615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XSU6y-0005da-JY for submit@debbugs.gnu.org; Fri, 12 Sep 2014 12:54:17 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53639) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XSU6w-0005dS-EJ for submit@debbugs.gnu.org; Fri, 12 Sep 2014 12:54:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XSU6u-00053T-RO for submit@debbugs.gnu.org; Fri, 12 Sep 2014 12:54:14 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:40169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSU6u-00053P-O9 for submit@debbugs.gnu.org; Fri, 12 Sep 2014 12:54:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSU6t-0001By-DP for bug-gnu-emacs@gnu.org; Fri, 12 Sep 2014 12:54:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XSU6r-00051i-TT for bug-gnu-emacs@gnu.org; Fri, 12 Sep 2014 12:54:11 -0400 Original-Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]:57665) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSU6r-00051G-JK for bug-gnu-emacs@gnu.org; Fri, 12 Sep 2014 12:54:09 -0400 Original-Received: by mail-wg0-f42.google.com with SMTP id x12so988024wgg.25 for ; Fri, 12 Sep 2014 09:54:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=W6VpGnbuBq1JvWdfuUMIw6QJR8KqBUoRbSRK/s6jw48=; b=sQD1dd/fgMFroWE6A+zL+FsDKuh70UXCxzUm6ycUvpAuYD+3JKTitNJVmjzc64SsZ5 9oxhqtHJa8cXUDXCsEXHzgludfxypufcGq002QTdh1k2YoJ1kgIjwHCN0nbOp8wRWZTy ffcYuDqsmNLnyLUSEsZY82gdbhnemndZXMWsGTa2fd5yl6fVRvz533ZjmEwjairynqZ0 bzpoQnJUwrjhMxW/lJrHK3BduT4KvVRAYdLu8wyTKXHusRi2tSBS0eiR35CylBuuKSj/ RULmiMc+Qj9SdXniOHcalIEtD2eWqPJZGiN3zDHBufdb5I97nKluiGv68XXq35wFbC6R 5d6w== X-Received: by 10.180.75.144 with SMTP id c16mr3963571wiw.9.1410540847205; Fri, 12 Sep 2014 09:54:07 -0700 (PDT) Original-Received: by 10.194.38.35 with HTTP; Fri, 12 Sep 2014 09:54:07 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:93305 Archived-At: --f46d04388df32394ef0502e12299 Content-Type: text/plain; charset=UTF-8 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. In GNU Emacs 24.3.1 (i386-mingw-nt6.2.9200) of 2013-03-17 on MARVIN Windowing system distributor `Microsoft Corp.', version 6.2.9200 Configured using: `configure --with-gcc (4.7) --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2' Important settings: value of $LANG: ESM locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: ( p l a y - s o u n d SPC ' ( s o u n d SPC : f i l e SPC " c : / u s e r s / m a r i o / d e s k t o p / c o p m m p l e t e d . w a n o w h a s d f . w a v " ) ) Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32 multi-tty emacs) --f46d04388df32394ef0502e12299 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
running emacs -Q on windows 8
tried (pl= ay-sound '(sound :file "c:/users/mario/desktop/whatever.wav")= )
in *scratch* buffer.
if the file exists, it works fin= e. if the file does not exist, emacs crashes.

In G= NU Emacs 24.3.1 (i386-mingw-nt6.2.9200)
=C2=A0of 2013-03-17 o= n MARVIN
Windowing system distributor `Microsoft Corp.', vers= ion 6.2.9200
Configured using:
=C2=A0`configure --with-= gcc (4.7) --cflags
=C2=A0-ID:/devel/emacs/libs/libXpm-3.5.8/inclu= de
=C2=A0-ID:/devel/emacs/libs/libXpm-3.5.8/src
=C2=A0-= ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
=C2=A0-ID:/devel/= emacs/libs/zlib-dev_1.2.5-2/include
=C2=A0-ID:/devel/emacs/libs/g= iflib-4.1.4-1/include
=C2=A0-ID:/devel/emacs/libs/jpeg-6b-4/inclu= de
=C2=A0-ID:/devel/emacs/libs/tiff-3.8.2-1/include
=C2= =A0-ID:/devel/emacs/libs/gnutls-3.0.9/include
=C2=A0-ID:/devel/em= acs/libs/libiconv-1.13.1-1-dev/include
=C2=A0-ID:/devel/emacs/lib= s/libxml2-2.7.8/include/libxml2'

Important set= tings:
=C2=A0 value of $LANG: ESM
=C2=A0 locale-coding-= system: cp1252
=C2=A0 default enable-multibyte-characters: t

Major mode: Lisp Interaction

= Minor modes in effect:
=C2=A0 tooltip-mode: t
=C2=A0 mo= use-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-b= ar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 globa= l-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 bli= nk-cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2= =A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t
=
=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mode: t

Recent input:
<help-echo> ( p l a y -= s o u n d SPC ' ( s o u n d=C2=A0
SPC : f i l e SPC " c= : / u s e r s / m a r i o / d=C2=A0
e s k t o p / c o p m <ba= ckspace> <backspace> m p l=C2=A0
e t e d . w a <C-bac= kspace> <C-backspace> n o <backspace>=C2=A0
<ba= ckspace> w h <backspace> <backspace> a s d f . w=C2=A0
=
a v " ) ) <help-echo> <help-echo> <help-echo> &= lt;help-echo>=C2=A0
<help-echo> <help-echo> <he= lp-echo> <help-echo> <help-echo>=C2=A0
<help-ec= ho> <help-echo> <help-echo> <help-echo> <help-echo&= gt;=C2=A0
<help-echo> <menu-bar> <help-menu> &l= t;send-emacs-bug
-report>

Recent mess= ages:
For information about GNU Emacs and the GNU system, type C-= h C-a.

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr= emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-deco= de mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils ma= ilheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr m= ail-utils time-date tooltip ediff-hook vc-hooks
lisp-float-type m= wheel dos-w32 ls-lisp w32-common-fns disp-table w32-win
w32-vars = tool-bar dnd fontset image regexp-opt fringe tabulated-list
newco= mment lisp-mode register page menu-bar rfn-eshadow timer select
s= croll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiop= ic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help= simple
abbrev minibuffer loaddefs button faces cus-face macroexp= files
text-properties overlay sha1 md5 base64 format env code-pa= ges mule
custom widget hashtable-print-readable backquote make-ne= twork-process
w32 multi-tty emacs)


<= /div>
--f46d04388df32394ef0502e12299--