GNU bug report logs - #18463
play-sound crashes emacs if file does not exist

Previous Next

Package: emacs;

Reported by: Mario Valencia <mariovalspi <at> gmail.com>

Date: Fri, 12 Sep 2014 16:55:01 UTC

Severity: normal

Tags: unreproducible

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 18463 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Mario Valencia <mariovalspi <at> gmail.com>
Cc: 18463 <at> debbugs.gnu.org
Subject: Re: bug#18463: play-sound crashes emacs if file does not exist
Date: Fri, 12 Sep 2014 23:10:43 +0300
> Date: Fri, 12 Sep 2014 11:54:07 -0500
> From: Mario Valencia <mariovalspi <at> gmail.com>
> 
> 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?




This bug report was last modified 8 years and 357 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.