From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: emacs hangs in alsa_open Date: Sun, 02 Jul 2006 19:44:33 -0400 Message-ID: Reply-To: sds@podval.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1151883899 11581 80.91.229.2 (2 Jul 2006 23:44:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 2 Jul 2006 23:44:59 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 03 01:44:54 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FxBcO-00011d-Vl for ged-emacs-devel@m.gmane.org; Mon, 03 Jul 2006 01:44:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FxBcO-0003um-EY for ged-emacs-devel@m.gmane.org; Sun, 02 Jul 2006 19:44:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FxBcC-0003uY-Bj for emacs-devel@gnu.org; Sun, 02 Jul 2006 19:44:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FxBcB-0003uC-K7 for emacs-devel@gnu.org; Sun, 02 Jul 2006 19:44:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FxBcB-0003u8-FD for emacs-devel@gnu.org; Sun, 02 Jul 2006 19:44:35 -0400 Original-Received: from [167.206.4.200] (helo=mta5.srv.hcvlny.cv.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FxBpV-0002mR-O0 for emacs-devel@gnu.org; Sun, 02 Jul 2006 19:58:21 -0400 Original-Received: from loiso.podval.org (ool-182f780f.dyn.optonline.net [24.47.120.15]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J1S004JFVA9KS10@mta5.srv.hcvlny.cv.net> for emacs-devel@gnu.org; Sun, 02 Jul 2006 19:44:34 -0400 (EDT) Original-Received: by loiso.podval.org (Postfix, from userid 500) id CA4F721E088; Sun, 02 Jul 2006 19:44:33 -0400 (EDT) Original-To: emacs-devel@gnu.org Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:56397 Archived-At: GNU Emacs 22.0.50.3 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2006-07-02 on loiso emacs hangs forever (C-g does not help) in alsa_open: Program received signal SIGTSTP, Stopped (user). [Switching to Thread -1208878592 (LWP 5598)] 0x00a58402 in __kernel_vsyscall () (gdb) where #0 0x00a58402 in __kernel_vsyscall () #1 0x0011c583 in __open_nocancel () from /lib/libpthread.so.0 #2 0x0505058f in snd_pcm_hw_open () from /lib/libasound.so.2 #3 0x05050a40 in _snd_pcm_hw_open () from /lib/libasound.so.2 #4 0x05047e75 in snd_pcm_free () from /lib/libasound.so.2 #5 0x050485c3 in snd_pcm_open_slave () from /lib/libasound.so.2 #6 0x05082c29 in _snd_pcm_softvol_open () from /lib/libasound.so.2 #7 0x05047e75 in snd_pcm_free () from /lib/libasound.so.2 #8 0x050485c3 in snd_pcm_open_slave () from /lib/libasound.so.2 #9 0x05062bec in _snd_pcm_plug_open () from /lib/libasound.so.2 #10 0x05047e75 in snd_pcm_free () from /lib/libasound.so.2 #11 0x050485c3 in snd_pcm_open_slave () from /lib/libasound.so.2 #12 0x050805f4 in _snd_pcm_asym_open () from /lib/libasound.so.2 #13 0x05047e75 in snd_pcm_free () from /lib/libasound.so.2 #14 0x050484f6 in snd_pcm_free () from /lib/libasound.so.2 #15 0x08188f57 in alsa_open (sd=0x960d750) at sound.c:975 #16 0x0818997d in Fplay_sound_internal (sound=158865821) at sound.c:1458 #17 0x08150d93 in Ffuncall (nargs=2, args=0xbf809c30) at eval.c:2904 #18 0x0817bbbf in Fbyte_code (bytestr=136135267, vector=136135300, maxdepth=16) at bytecode.c:694 #19 0x081508e8 in funcall_lambda (fun=136135228, nargs=1, arg_vector=0xbf809d54) at eval.c:3091 #20 0x08150ce7 in Ffuncall (nargs=2, args=0xbf809d50) at eval.c:2959 #21 0x0817bbbf in Fbyte_code (bytestr=136584083, vector=136584140, maxdepth=32) at bytecode.c:694 #22 0x081508e8 in funcall_lambda (fun=136584020, nargs=1, arg_vector=0xbf809e74) at eval.c:3091 #23 0x08150ce7 in Ffuncall (nargs=2, args=0xbf809e70) at eval.c:2959 #24 0x0817bbbf in Fbyte_code (bytestr=145042587, vector=145046876, maxdepth=40) at bytecode.c:694 #25 0x081508e8 in funcall_lambda (fun=145047092, nargs=0, arg_vector=0xbf809fa4) at eval.c:3091 #26 0x08150ce7 in Ffuncall (nargs=1, args=0xbf809fa0) at eval.c:2959 #27 0x0817bbbf in Fbyte_code (bytestr=148967475, vector=138203252, maxdepth=8) at bytecode.c:694 #28 0x08150319 in Feval (form=148946797) at eval.c:2250 #29 0x0815283f in internal_lisp_condition_case (var=137545929, bodyform=148946797, handlers=148944997) at eval.c:1421 #30 0x0817aea5 in Fbyte_code (bytestr=148967459, vector=148968828, maxdepth=64) at bytecode.c:884 #31 0x081508e8 in funcall_lambda (fun=148969044, nargs=0, arg_vector=0xbf80a368) at eval.c:3091 #32 0x08150ce7 in Ffuncall (nargs=1, args=0xbf80a364) at eval.c:2959 #33 0x08152498 in Fapply (nargs=2, args=0xbf80a364) at eval.c:2340 #34 0x08150f30 in Ffuncall (nargs=3, args=0xbf80a360) at eval.c:2885 ---Type to continue, or q to quit--- #35 0x0817bbbf in Fbyte_code (bytestr=136924987, vector=136925028, maxdepth=32) at bytecode.c:694 #36 0x08150319 in Feval (form=136924973) at eval.c:2250 #37 0x0815283f in internal_lisp_condition_case (var=137545929, bodyform=136924973, handlers=136925061) at eval.c:1421 #38 0x0817aea5 in Fbyte_code (bytestr=136924707, vector=136924860, maxdepth=40) at bytecode.c:884 #39 0x081508e8 in funcall_lambda (fun=136924668, nargs=1, arg_vector=0xbf80a694) at eval.c:3091 #40 0x08150ce7 in Ffuncall (nargs=2, args=0xbf80a690) at eval.c:2959 #41 0x08152069 in call1 (fn=137581337, arg1=139917332) at eval.c:2693 #42 0x080f3476 in timer_check (do_it_now=1) at keyboard.c:4480 #43 0x080f3689 in readable_events (flags=1) at keyboard.c:3519 #44 0x080f36f7 in get_input_pending (addr=0x831a454, flags=1) at keyboard.c:6599 #45 0x080f37d0 in detect_input_pending_run_timers (do_display=1) at keyboard.c:9955 #46 0x08181be4 in wait_reading_process_output (time_limit=0, microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=137545929, wait_proc=0x0, just_wait_proc=0) at process.c:4653 #47 0x080f6c0c in read_char (commandflag=1, nmaps=2, maps=0xbf80acf0, prev_event=137545929, used_mouse_menu=0xbf80ad98) at keyboard.c:3940 #48 0x080f902d in read_key_sequence (keybuf=0xbf80ae44, bufsize=30, prompt=137545929, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:8864 #49 0x080fab63 in command_loop_1 () at keyboard.c:1536 #50 0x0814f8d2 in internal_condition_case (bfun=0x80fa9d0 , handlers=137590569, hfun=0x80f57d0 ) at eval.c:1476 #51 0x080f4a73 in command_loop_2 () at keyboard.c:1328 #52 0x0814f98a in internal_catch (tag=137586801, func=0x80f4a50 , arg=137545929) at eval.c:1214 #53 0x080f548c in command_loop () at keyboard.c:1307 #54 0x080f553a in recursive_edit_1 () at keyboard.c:1000 #55 0x080f5637 in Frecursive_edit () at keyboard.c:1061 #56 0x080ebc95 in main (argc=2, argv=0xbf80b544) at emacs.c:1794 Lisp Backtrace: "play-sound-internal" (0x978199d) "play-sound" (0x978199d) "play-sound-file" (0x8a52cfb) "sds-gnus-scan-mail" (0x64) "byte-code" (0x8e11033) "gnus-demon" (0x832c8c9) "apply" (0x8597af9) "byte-code" (0x8294f3b) ---Type to continue, or q to quit--- "timer-event-handler" (0x856f814) (gdb) c Continuing. Program received signal SIGTSTP, Stopped (user). 0x00a58402 in __kernel_vsyscall () (gdb) up #1 0x0011c583 in __open_nocancel () from /lib/libpthread.so.0 (gdb) #2 0x0505058f in snd_pcm_hw_open () from /lib/libasound.so.2 (gdb) #3 0x05050a40 in _snd_pcm_hw_open () from /lib/libasound.so.2 (gdb) #4 0x05047e75 in snd_pcm_free () from /lib/libasound.so.2 (gdb) #5 0x050485c3 in snd_pcm_open_slave () from /lib/libasound.so.2 (gdb) #6 0x05082c29 in _snd_pcm_softvol_open () from /lib/libasound.so.2 (gdb) #7 0x05047e75 in snd_pcm_free () from /lib/libasound.so.2 (gdb) #8 0x050485c3 in snd_pcm_open_slave () from /lib/libasound.so.2 (gdb) #9 0x05062bec in _snd_pcm_plug_open () from /lib/libasound.so.2 (gdb) #10 0x05047e75 in snd_pcm_free () from /lib/libasound.so.2 (gdb) #11 0x050485c3 in snd_pcm_open_slave () from /lib/libasound.so.2 (gdb) #12 0x050805f4 in _snd_pcm_asym_open () from /lib/libasound.so.2 (gdb) #13 0x05047e75 in snd_pcm_free () from /lib/libasound.so.2 (gdb) #14 0x050484f6 in snd_pcm_free () from /lib/libasound.so.2 (gdb) #15 0x08188f57 in alsa_open (sd=0x960d750) at sound.c:975 975 err = snd_pcm_open (&p->handle, file, SND_PCM_STREAM_PLAYBACK, 0); (gdb) p err Variable "err" is not available. (gdb) p p No symbol "p" in current context. (gdb) p file $1 = 0x81adcdd "default" (gdb) down #14 0x050484f6 in snd_pcm_free () from /lib/libasound.so.2 (gdb) return Make selected stack frame return now? (y or n) y #0 alsa_open (sd=0x960d750) at sound.c:976 976 if (err < 0) (gdb) p err Variable "err" is not available. (gdb) c Continuing. Program received signal SIGSEGV, Segmentation fault. 0x08188f55 in alsa_open (sd=0x960d750) at sound.c:975 975 err = snd_pcm_open (&p->handle, file, SND_PCM_STREAM_PLAYBACK, 0); (gdb) c Continuing. Fatal error (11) Program received signal SIGSEGV, Segmentation fault. 0x00a58402 in __kernel_vsyscall () (gdb) c Continuing. Program terminated with signal SIGSEGV, Segmentation fault. The program no longer exists. -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://truepeace.org http://dhimmi.com http://openvotingconsortium.org http://thereligionofpeace.com http://jihadwatch.org http://memri.org Life is a sexually transmitted disease with 100% mortality.