[MPlayer-dev-eng] [Fwd: [MPlayer-users] BUG: mplayer cvs received SIGABRT

Svante Signell svante.signell at telia.com
Thu Jul 8 23:53:06 CEST 2004


No reply or comment in mplayer-users since a week. Therefore I'm posting
to mplayer-dev-eng. Same problem applies to todays CVS (08/07) as well. 

________________________________________________________________________
        
        
           From: 
        Svante
        Signell
        <svante.signell at telia.com>
        Reply-To: 
        MPlayer
        usage
        questions,
        features,
        bugreports
        <mplayer-users at mplayerhq.hu>
             To: 
        mplayer-users at mplayerhq.hu
        Subject: 
        [MPlayer-users] BUG: mplayer cvs received SIGABRT
           Date: 
        Thu, 01
        Jul 2004
        00:16:14
        +0200
        
        Recent mplayer from CVS (2004-06-09,2004-06-28) fails to play
        files with
        6-channel or mp3 audio with -ao alsa and alsa modules loaded.
        With -ao
        oss all is OK. mplayer cvs from 2004-05-12 with -ao alsa1x is OK
        too.
        
        (I'm currently compiling CVS from today with debug flags set.)
        Adiocard is a Creative SB AWE64 (snd-sbawe):
        Jun 28 10:56:01 em2 kernel: isapnp: Scanning for PnP cards...
        Jun 28 10:56:01 em2 kernel: isapnp: SB audio device quirk -
        increasing
        port range
        Jun 28 10:56:01 em2 kernel: isapnp: AWE32 quirk - adding two
        ports
        Jun 28 10:56:01 em2 kernel: isapnp: Card 'Creative SB AWE64 
        PnP'
        Jun 28 10:56:01 em2 kernel: isapnp: 1 Plug & Play card detected
        total
        Same mplayer version works on another box with an SB live! card
        (snd-emu10k1).
         
        Example below:
        Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
        dec_audio: Allocating 4608 + 65536 = 70144 bytes for output
        buffer.
        mp3lib: made decode tables with MMX optimization
        mp3lib: using MMX optimized decore!
        MP3lib: init layer2&3 finished, tables done
        MPEG 1.0, Layer III, 48000 Hz 160 kbit Single-Channel, BPF: 480
        Channels: 1, copyright: No, original: Yes, CRC: No, emphasis: 0
        AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 20000->192000
        (160.0 kbit)
        Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2,
        layer-3)
        ==========================================================================
        Checking audio filter chain for 48000Hz/2ch/16bit ->
        48000Hz/2ch/16bit...
        [libaf] Adding filter dummy
        [dummy] Was reinitialized, rate=48000Hz, nch = 2, format =
        0x00000001
        and bps = 2
        AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed
        int
        AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
        alsa-init: requested format: 48000 Hz, 2 channels, Signed 16-bit
        (Little-Endian)alsa-init: compiled for ALSA-1.0.4
        alsa-init: setup for 1/2 channel(s)
        alsa-init: got device=0, subdevice=0
        alsa-init: 1 soundcard found, using: default
        alsa-init: pcm opend in block-mode
        alsa-init: got buffersize=71328
        alsa: 48000 Hz/2 channels/4 bpf/71328 bytes buffer/Signed 16 bit
        Little
        Endian
        AO: [alsa] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
        AO: Description: ALSA-0.9.x-1.x audio output
        AO: Author: Alex Beregszaszi, Zsolt Barat
        <joy at streamminister.de>
        AO: Comment: under developement
        Building audio filter chain for 48000Hz/2ch/16bit ->
        48000Hz/2ch/16bit...
        [dummy] Was reinitialized, rate=48000Hz, nch = 2, format =
        0x00000001
        and bps = 2
        [dummy] Was reinitialized, rate=48000Hz, nch = 2, format =
        0x00000001
        and bps = 2
        Starting playback...
        alsa-space: free space = 71328, status=142243288, prepared --
        ...
        mplayer: pcm.c:5957: snd_pcm_mmap_commit: Assertion `frames <=
        snd_pcm_mmap_avail(pcm)' failed.
        
        MPlayer interrupted by signal 6 in module: play_audio
        - MPlayer crashed. This shouldn't happen.
          It can be a bug in the MPlayer code _or_ in your drivers _or_
        in your
          gcc version. If you think it's MPlayer's fault, please read
          DOCS/HTML/en/bugreports.html and follow the instructions
        there. We
        can't and
          won't help unless you provide this information when reporting
        a
        possible bug.
        
        gdb trace ouptut:
        mplayer: pcm.c:5957: snd_pcm_mmap_commit: Assertion `frames <=
        snd_pcm_mmap_avail(pcm)' failed.
        
        Program received signal SIGABRT, Aborted.
        [Switching to Thread 16384 (LWP 3284)]
        0x40a6b721 in kill () from /lib/libc.so.6
        (gdb) where
        #0  0x40a6b721 in kill () from /lib/libc.so.6
        #1  0x403de771 in pthread_kill () from /lib/libpthread.so.0
        #2  0x403dea7b in raise () from /lib/libpthread.so.0
        #3  0x40a6b4d4 in raise () from /lib/libc.so.6
        #4  0x40a6c9e8 in abort () from /lib/libc.so.6
        #5  0x40a64b3f in __assert_fail () from /lib/libc.so.6
        #6  0x40366b38 in snd_pcm_mmap_commit () from
        /usr/lib/libasound.so.2
        #7  0x4037c1df in _snd_pcm_adpcm_open () from
        /usr/lib/libasound.so.2
        #8  0x4037ca2f in _snd_pcm_adpcm_open () from
        /usr/lib/libasound.so.2
        #9  0x40366af5 in snd_pcm_mmap_commit () from
        /usr/lib/libasound.so.2
        #10 0x4038065b in snd_pcm_mmap_hw_forward () from
        /usr/lib/libasound.so.2
        #11 0x4036701e in snd_pcm_write_areas () from
        /usr/lib/libasound.so.2
        #12 0x4038085d in snd_pcm_mmap_writei () from
        /usr/lib/libasound.so.2
        #13 0x4035f3e7 in snd_pcm_writei () from /usr/lib/libasound.so.2
        #14 0x080d6720 in outputaudio ()
        #15 0x00003a67 in ?? ()
        #16 0x087a7ea0 in ?? ()
        #17 0x08540c60 in audio_out_esd ()
        #18 0x00000000 in ?? ()
        #19 0xbffff958 in ?? ()
        #20 0x080d6461 in outputaudio ()
        #21 0x00000681 in ?? ()
        #22 0x0807a3b9 in main ()
        
        
        _______________________________________________
        MPlayer-users mailing list
        MPlayer-users at mplayerhq.hu
        http://mplayerhq.hu/mailman/listinfo/mplayer-users




More information about the MPlayer-dev-eng mailing list