Page 1 of 1

Abort playing any APE audio on Ubuntu 14.04 LTS, Segme Fault

Posted: 20 Apr 2014 19:19
by chazeon
I have just updated to Ubuntu 14.04 LTS, from Ubuntu 13.10.

Code: Select all

Linux alan-ThinkPad-T420 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
But it appears I cannot play any APE right now, it crashes. While using verbose output, the log says nothing but Segment Fault. Before the upgrade, everything is fine, but right now, it is not OK. I can play every media else OK. The VLC GUI crashes instantly after I played this audio. The Totem player, too, crashes, without report. Rhythmbox simply cannot play the file. But the smplayer/mplayer is playing it OK, seem to use the ffape - FFmepg Monkey's Audio [ape] codec. I guess it is a codec problem. Since I cannot figure out what the codec the two crashing player is using, I don't know where to begin.

The gstreamer1.0-* is installed and the ffmpeg-* is installed.

Thanks.

MEDIAINFO

Code: Select all

$ mediainfo "file:///media/alan/Hotel/Celine%20Dion/1996%20-%20Falling%20Into%20You/Celine%20Dion%20-%20Falling%20Into%20You.ape" General Complete name : file:///media/alan/Hotel/Celine%20Dion/1996%20-%20Falling%20Into%20You/Celine%20Dion%20-%20Falling%20Into%20You.ape Format : Monkey's Audio File size : 476 MiB Duration : 1h 16mn Overall bit rate : 876 Kbps Audio Format : Monkey's Audio Duration : 1h 16mn Bit rate : 876 Kbps Channel(s) : 2 channels Sampling rate : 44.1 KHz Bit depth : 16 bits Compression mode : Lossless Compression ratio : 1.611 Stream size : 476 MiB (100%) Encoding settings : High
LOG

Code: Select all

$ cvlc -vvv "file:///media/alan/Hotel/Celine%20Dion/1996%20-%20Falling%20Into%20You/Celine%20Dion%20-%20Falling%20Into%20You.ape" VLC media player 2.1.2 Rincewind (revision 2.1.2-0-ga4c4876) [0x1740128] main libvlc debug: VLC media player - 2.1.2 Rincewind [0x1740128] main libvlc debug: Copyright © 1996-2013 the VideoLAN team [0x1740128] main libvlc debug: revision 2.1.2-0-ga4c4876 [0x1740128] main libvlc debug: configured with ./configure '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-dependency-tracking' '--build=x86_64-linux-gnu' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' '--config-cache' '--disable-maintainer-mode' '--disable-silent-rules' '--disable-update-check' '--enable-fast-install' '--prefix=/usr' '--docdir=/usr/share/doc/vlc-nox' '--libdir=/usr/lib' '--sysconfdir=/etc' '--with-binary-version=2build2' '--enable-a52' '--enable-aa' '--enable-bluray' '--enable-bonjour' '--enable-caca' '--enable-chromaprint' '--enable-dbus' '--enable-dca' '--enable-dirac' '--enable-directfb' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-gnutls' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libfreerdp' '--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mpc' '--enable-mtp' '--enable-mux_ogg' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' '--enable-oss' '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' '--enable-schroedinger' '--enable-sdl' '--enable-sftp' '--enable-shout' '--enable-skins2' '--enable-smbclient' '--enable-speex' '--enable-svg' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vcd' '--enable-vcdx' '--enable-vorbis' '--enable-x264' '--enable-zvbi' '--with-kde-solid=/usr/share/kde4/apps/solid/actions/' '--disable-decklink' '--disable-dxva2' '--disable-fdkaac' '--disable-gnomevfs' '--disable-goom' '--disable-libvnc' '--disable-opencv' '--disable-projectm' '--disable-quicksync' '--disable-sndio' '--disable-telx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-atmo' '--enable-dc1394' '--enable-dv1394' '--enable-linsys' '--enable-omxil' '--enable-udev' '--enable-libva' '--enable-v4l2' '--enable-crystalhd' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'build_alias=x86_64-linux-gnu' [0x1740128] main libvlc debug: searching plug-in modules [0x1740128] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat [0x1740128] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins' [0x1740128] main libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins.dat [0x1740128] main libvlc debug: plug-ins loaded: 426 modules [0x1740128] main libvlc debug: opening config file (/home/alan/.config/vlc/vlcrc) [0x1740128] main libvlc debug: translation test: code is "zh_CN" [0x1740128] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX FPU [0x176bcc8] main input debug: Creating an input for '媒体库' [0x176bcc8] main input debug: Input is a meta file: disabling unneeded options [0x176bcc8] main input debug: using timeshift granularity of 50 MiB, in path '/tmp' [0x176bcc8] main input debug: `file/xspf-open:///home/alan/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/alan/.local/share/vlc/ml.xspf' [0x176bcc8] main input debug: creating demux: access='file' demux='xspf-open' location='/home/alan/.local/share/vlc/ml.xspf' file='/home/alan/.local/share/vlc/ml.xspf' [0x1825ff8] main demux debug: looking for access_demux module matching "file": 20 candidates [0x1825ff8] main demux debug: no access_demux modules matched [0x176bcc8] main input debug: creating access 'file' location='/home/alan/.local/share/vlc/ml.xspf', path='/home/alan/.local/share/vlc/ml.xspf' [0x1757f18] main access debug: looking for access module matching "file": 25 candidates [0x1757f18] filesystem access debug: opening file `/home/alan/.local/share/vlc/ml.xspf' [0x1757f18] main access debug: using access module "filesystem" [0x1758b78] main stream debug: Using stream method for AStream* [0x1758b78] main stream debug: starting pre-buffering [0x1758b78] main stream debug: received first data after 0 ms [0x1758b78] main stream debug: pre-buffering done 292 bytes in 0s - 6336 KiB/s [0x1758dd8] main stream debug: looking for stream_filter module matching "any": 9 candidates [0x1758dd8] main stream debug: no stream_filter modules matched [0x1758dd8] main stream debug: looking for stream_filter module matching "record": 9 candidates [0x1758dd8] main stream debug: using stream_filter module "record" [0x176bcc8] main input debug: creating demux: access='file' demux='xspf-open' location='/home/alan/.local/share/vlc/ml.xspf' file='/home/alan/.local/share/vlc/ml.xspf' [0x175bcb8] main demux debug: looking for demux module matching "xspf-open": 63 candidates [0x175bcb8] playlist demux debug: using XSPF playlist reader [0x175bcb8] main demux debug: using demux module "playlist" [0x175bf28] main demux meta debug: looking for meta reader module matching "any": 2 candidates [0x175bf28] lua demux meta debug: Trying Lua scripts in /home/alan/.local/share/vlc/lua/meta/reader [0x175bf28] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader [0x175bf28] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac [0x175bf28] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [0x175bf28] main demux meta debug: no meta reader modules matched [0x176bcc8] main input debug: `file/xspf-open:///home/alan/.local/share/vlc/ml.xspf' successfully opened [0x180c8c8] main xml reader debug: looking for xml reader module matching "any": 1 candidates [0x180c8c8] main xml reader debug: using xml reader module "xml" [0x175bcb8] playlist demux debug: parsed 0 tracks successfully [0x176bcc8] main input debug: EOF reached [0x175bcb8] main demux debug: removing module "playlist" [0x1758dd8] main stream debug: removing module "record" [0x1757f18] main access debug: removing module "filesystem" [0x1803888] main playlist debug: creating audio output [0x180f928] main audio output debug: looking for audio output module matching "any": 6 candidates [0x180f928] pulse audio output debug: using library version 4.0.0 [0x180f928] pulse audio output debug: (compiled with version 4.0.0, protocol 28) [0x180f928] pulse audio output debug: connected locally to unix:/run/user/1000/pulse/native as client #63 [0x180f928] pulse audio output debug: using protocol 28, server protocol 28 [0x180f928] main audio output debug: using audio output module "pulse" [0x1803888] main playlist debug: keeping audio output [0x1803888] main playlist debug: adding item `Celine Dion - Falling Into You.ape' ( file:///media/alan/Hotel/Celine%20Dion/1996%20-%20Falling%20Into%20You/Celine%20Dion%20-%20Falling%20Into%20You.ape ) [0x7fde24000958] main input debug: Creating an input for 'Celine Dion - Falling Into You.ape' [0x18103c8] main interface debug: looking for interface module matching "hotkeys,none": 19 candidates [0x18103c8] main interface debug: using interface module "hotkeys" [0x180eae8] main interface debug: looking for interface module matching "globalhotkeys,none": 19 candidates [0x180f928] pulse audio output debug: adding sink 0: alsa_output.pci-0000_00_1b.0.analog-stereo (内部音频 模拟立体声) [0x180eae8] main interface debug: using interface module "globalhotkeys" [0x176cde8] main interface debug: looking for interface module matching "dbus,none": 19 candidates [0x176cde8] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc.instance25893 [0x176cde8] main interface debug: using interface module "dbus" [0x1775f68] main interface debug: looking for interface module matching "dummy": 19 candidates [0x1775f68] dummy interface: using the dummy interface module... [0x1775f68] main interface debug: using interface module "dummy" [0x1803888] main playlist debug: processing request item: null, node: 播放列表, skip: 0 [0x1803888] main playlist debug: rebuilding array of current - root 播放列表 [0x1803888] main playlist debug: rebuild done - 1 items, index -1 [0x1803888] main playlist debug: starting playback of the new playlist item [0x1803888] main playlist debug: resyncing on Celine Dion - Falling Into You.ape [0x1803888] main playlist debug: Celine Dion - Falling Into You.ape is at 0 [0x1803888] main playlist debug: creating new input thread [0x7fde1c0009b8] main input debug: Creating an input for 'Celine Dion - Falling Into You.ape' [0x7fde1c0009b8] main input debug: using timeshift granularity of 50 MiB, in path '/tmp' [0x7fde1c0009b8] main input debug: `file:///media/alan/Hotel/Celine%20Dion/1996%20-%20Falling%20Into%20You/Celine%20Dion%20-%20Falling%20Into%20You.ape' gives access `file' demux `' path `/media/alan/Hotel/Celine%20Dion/1996%20-%20Falling%20Into%20You/Celine%20Dion%20-%20Falling%20Into%20You.ape' [0x7fde1c0009b8] main input debug: creating demux: access='file' demux='' location='/media/alan/Hotel/Celine%20Dion/1996%20-%20Falling%20Into%20You/Celine%20Dion%20-%20Falling%20Into%20You.ape' file='/media/alan/Hotel/Celine Dion/1996 - Falling Into You/Celine Dion - Falling Into You.ape' [0x7fde20000ec8] main demux debug: looking for access_demux module matching "file": 20 candidates [0x7fde20000ec8] main demux debug: no access_demux modules matched [0x7fde1c0009b8] main input debug: creating access 'file' location='/media/alan/Hotel/Celine%20Dion/1996%20-%20Falling%20Into%20You/Celine%20Dion%20-%20Falling%20Into%20You.ape', path='/media/alan/Hotel/Celine Dion/1996 - Falling Into You/Celine Dion - Falling Into You.ape' [0x7fde200012a8] main access debug: looking for access module matching "file": 25 candidates [0x7fde200012a8] filesystem access debug: opening file `/media/alan/Hotel/Celine Dion/1996 - Falling Into You/Celine Dion - Falling Into You.ape' [0x7fde200012a8] main access debug: using access module "filesystem" [0x7fde200013f8] main stream debug: Using stream method for AStream* [0x7fde200013f8] main stream debug: starting pre-buffering [0x7fde200013f8] main stream debug: received first data after 0 ms [0x7fde200013f8] main stream debug: pre-buffering done 1024 bytes in 0s - 22727 KiB/s [0x7fde20c01668] main stream debug: looking for stream_filter module matching "any": 9 candidates [0x7fde20c01668] main stream debug: no stream_filter modules matched [0x7fde20c01668] main stream debug: looking for stream_filter module matching "record": 9 candidates [0x7fde20c01668] main stream debug: using stream_filter module "record" [0x7fde1c0009b8] main input debug: creating demux: access='file' demux='' location='/media/alan/Hotel/Celine%20Dion/1996%20-%20Falling%20Into%20You/Celine%20Dion%20-%20Falling%20Into%20You.ape' file='/media/alan/Hotel/Celine Dion/1996 - Falling Into You/Celine Dion - Falling Into You.ape' [0x7fde20c01928] main demux debug: looking for demux module matching "any": 63 candidates [0x7fde20c01928] mod demux debug: MOD validation failed (ext=ape) [0x7fde20c01928] ts demux debug: TS module discarded (lost sync) [0x7fde20c01928] avformat demux debug: trying url: /media/alan/Hotel/Celine Dion/1996 - Falling Into You/Celine Dion - Falling Into You.ape [0x7fde20c01928] avformat demux debug: detected format: ape [0x7fde1c0009b8] main input debug: selecting program id=0 [0x7fde20c01928] avformat demux debug: adding es: audio codec = APE (86049) [0x7fde20c01928] avformat demux debug: AVFormat supported stream [0x7fde20c01928] avformat demux debug: - format = ape (Monkey's Audio) [0x7fde20c01928] avformat demux debug: - start time = 0 [0x7fde20c01928] avformat demux debug: - duration = 4562493333 [0x7fde20c01928] main demux debug: using demux module "avformat" [0x7fde1c0009b8] main input debug: looking for a subtitle file in /media/alan/Hotel/Celine Dion/1996 - Falling Into You/ [0x7fde20c36df8] main decoder debug: looking for decoder module matching "any": 39 candidates [0x7fde20c36df8] avcodec decoder debug: avcodec codec (Monkey's Audio) started [0x7fde20c36df8] main decoder debug: using decoder module "avcodec" [0x7fde20c59b08] main demux meta debug: looking for meta reader module matching "any": 2 candidates [0x1803888] main playlist debug: meta ok for (null), need to fetch art [0x7fde08000958] main demux meta debug: looking for meta fetcher module matching "any": 1 candidates [0x7fde20c59b08] lua demux meta debug: Trying Lua scripts in /home/alan/.local/share/vlc/lua/meta/reader [0x7fde20c59b08] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader [0x7fde20c59b08] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac [0x7fde08000958] lua demux meta debug: Trying Lua scripts in /home/alan/.local/share/vlc/lua/meta/fetcher [0x7fde08000958] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/fetcher [0x7fde08000958] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/fetcher/tvrage.luac [0x7fde20c59b08] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [0x7fde20c59b08] main demux meta debug: no meta reader modules matched [0x7fde1c0009b8] main input debug: `file:///media/alan/Hotel/Celine%20Dion/1996%20-%20Falling%20Into%20You/Celine%20Dion%20-%20Falling%20Into%20You.ape' successfully opened [0x7fde1c0009b8] main input debug: Buffering 0% [0x7fde1c0009b8] main input debug: Stream buffering done (1671 ms in 0 ms) [0x1803888] main playlist debug: reusing audio output [0x180f928] pulse audio output debug: using stereo channel map [0x7fde08000958] main demux meta debug: using meta fetcher module "lua" [0x7fde08000958] main demux meta debug: removing module "lua" [0x1803888] main playlist debug: searching art for Celine Dion - Falling Into You.ape [0x7fde08000958] main art finder debug: looking for art finder module matching "any": 2 candidates [0x180f928] pulse audio output debug: changed buffer metrics: maxlength=4194304, tlength=21168, prebuf=0, minreq=7056 [0x180f928] pulse audio output debug: connected to sink alsa_output.pci-0000_00_1b.0.analog-stereo [0x180f928] main audio output debug: output 's16l' 44100 Hz Stereo frame=1 samples/4 bytes [0x7fde24c1e758] main volume debug: looking for audio volume module matching "any": 2 candidates [0x180f928] pulse audio output debug: base volume: 65536 [0x7fde24c1e758] main volume debug: using audio volume module "integer_mixer" [0x180f928] main audio output debug: input 's16l' 44100 Hz Stereo frame=1 samples/4 bytes [0x7fde24000958] main audio filter debug: looking for audio filter module matching "scaletempo": 14 candidates [0x7fde24000958] scaletempo audio filter debug: format: 44100 rate, 2 nch, 4 bps, fl32 [0x7fde24000958] scaletempo audio filter debug: params: 30 stride, 0.200 overlap, 14 search [0x7fde24000958] scaletempo audio filter debug: 1.000 scale, 1323.000 stride_in, 1323 stride_out, 1059 standing, 264 overlap, 617 search, 2204 queue, fl32 mode [0x7fde24000958] main audio filter debug: using audio filter module "scaletempo" [0x180f928] main audio output debug: conversion: 's16l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo [0x7fde24c3e318] main audio converter debug: looking for audio converter module matching "any": 12 candidates [0x7fde24c3e318] audio_format audio converter debug: s16l->f32l, bits per sample: 16->32 [0x7fde24c3e318] main audio converter debug: using audio converter module "audio_format" [0x180f928] main audio output debug: conversion pipeline complete [0x180f928] main audio output debug: conversion: 'f32l'->'s16l' 44100 Hz->44100 Hz Stereo->Stereo [0x7fde24c4f8f8] main audio converter debug: looking for audio converter module matching "any": 12 candidates [0x7fde24c4f8f8] audio_format audio converter debug: f32l->s16l, bits per sample: 16->16 [0x7fde24c4f8f8] main audio converter debug: using audio converter module "audio_format" [0x180f928] main audio output debug: conversion pipeline complete [0x7fde24c4fce8] main audio resampler debug: looking for audio resampler module matching "any": 3 candidates [0x7fde24c4fce8] main audio resampler debug: using audio resampler module "ugly_resampler" 段错误(Segment fault, in Chinses)

Re: Abort playing any APE audio on Ubuntu 14.04 LTS, Segme F

Posted: 22 Apr 2014 16:46
by Jean-Baptiste Kempf
Your VLC is tool old.

Re: Abort playing any APE audio on Ubuntu 14.04 LTS, Segme F

Posted: 22 Apr 2014 17:10
by chazeon
What do you meam by "my VLC is too old"? It is the latest stable version of VLC in the repository, and when I updated to VLC media player 2.2.0-git Weatherwax (revision 2.2.0~~git20140409+r56317+122~ubuntu14.04.1) the problem stays still. Note that the version on the official site homepage is 2.1.3.

Re: Abort playing any APE audio on Ubuntu 14.04 LTS, Segme F

Posted: 22 Apr 2014 17:36
by Jean-Baptiste Kempf
Then share a backtrace.

Re: Abort playing any APE audio on Ubuntu 14.04 LTS, Segme F

Posted: 28 Apr 2014 13:19
by artbio
I am also using vlc 2.1.2 from ubuntu 14.04 I haven't tried playing any APE files yet. But both version of vlc from ubuntu 14.04 and from the stable branch PPA can't play MusePack files. Version 2.0.8 plays OK on Ubuntu 13.10

Re: Abort playing any APE audio on Ubuntu 14.04 LTS, Segme F

Posted: 02 May 2014 15:44
by mc4man
I am also using vlc 2.1.2 from ubuntu 14.04 I haven't tried playing any APE files yet. But both version of vlc from ubuntu 14.04 and from the stable branch PPA can't play MusePack files. Version 2.0.8 plays OK on Ubuntu 13.10
In 14.04 some player fail on mpc with currently used libmpcdec6
bug here - https://bugs.launchpad.net/ubuntu/+sour ... ug/1310554
patched libmpcdec6 for 14.04 here - https://launchpad.net/~mc3man/+archive/trusty-media

Re: Abort playing any APE audio on Ubuntu 14.04 LTS, Segme F

Posted: 02 May 2014 16:49
by artbio
Thanks a lot friend.

I wasn't very sure about adding that ppa to my ubuntu. So I downloaded mpcdec source from it. And built the debs with pbuilder. My VLC is playing musepack files as I write this message!