When playing music using alsa-lib sometimes, very rarely, the player
crashes and dumps core.  GDB gives me this stack trace:

#0  0xffffe410 in ?? ()
#1  0x4be05684 in ?? ()
#2  0x00000006 in ?? ()
#3  0x00007126 in ?? ()
#4  0x4007e859 in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:66
#5  0x40080032 in *__GI_abort () at ../sysdeps/generic/abort.c:88
#6  0x4007805f in *__GI___assert_fail (assertion=0x0, file=0x0, line=0, 
    function=0x48c9c136 "snd_pcm_mmap_commit") at assert.c:83
#7  0x48c3ef71 in snd_pcm_mmap_commit (pcm=0x81232f8, offset=3840, frames=480)
    at pcm_local.h:289
#8  0x48c5307e in snd_pcm_rate_commit_next_period (pcm=0x80b0e68, 
    appl_offset=6248) at pcm_rate.c:1005
#9  0x48c53397 in snd_pcm_rate_mmap_commit (pcm=0x80b0e68, offset=6028, 
    size=220) at pcm_rate.c:1194
#10 0x48c3ef18 in snd_pcm_mmap_commit (pcm=0x80b0e68, offset=6028, frames=440)
    at pcm.c:5920
#11 0x48c5716a in snd_pcm_mmap_write_areas (pcm=0x80b0e68, areas=0x4be059b0, 
    offset=0, size=440) at pcm_mmap.c:120
#12 0x48c3f373 in snd_pcm_write_areas (pcm=0x80b0e68, areas=0x4be059b0, 
    offset=0, size=6380, func=0x48c57090 <snd_pcm_mmap_write_areas>)
    at pcm.c:6094
#13 0x48c57361 in snd_pcm_mmap_writei (pcm=0x80b0e68, buffer=0x0, size=0)
    at pcm_mmap.c:180
#14 0x48c381d2 in snd_pcm_writei (pcm=0x7126, buffer=0x80fb420, size=6500)
    at pcm_local.h:370
#15 0x48bfbb81 in alsa_write (ad=0x0, data=0x0, samples=0)
    at ../../tcvp/src/output/drivers/alsa/alsa.c:132
#16 0x4ae01689 in audio_play (p=0x80f56f0)
    at ../../tcvp/src/output/audio/audio.c:218
#17 0x4002b853 in start_thread (arg=0x0) at pthread_create.c:264
#18 0x4012e3aa in clone () from /lib/libc.so.6

I am using Linux 2.6.4 with ALSA driver 1.0.3 and alsa-lib 1.0.3a
(which I see now is a little out-dated).  The sound card is a SiS7012
in an Asus laptop.

Could this be caused by a bug in the player?

-- 
Måns Rullgård
[EMAIL PROTECTED]


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id66&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to