Page 1 of 1

Crash and immediate closure of VLC on reading .ape files

Posted: 27 Jun 2012 23:03
by sobino
Win 7 Pro x64
VLC 2.0.1 64bit experimental and 32bit EXE installer

VLC crashes on .ape input files and immediately closes its window. You do not get any notification about that. It even crashes when just dragging and dropping files onto the window without starting to play them, no matter if you just opened a blank VLC or if you are playing back files at the moment. One example is here: http://www.sendspace.com/file/dz4j6a
A program must never crash on input data no matter how unknown it is to the program. It must always give a reasonable exception handling.

Re: Crash and immediate closure of VLC on reading .ape files

Posted: 28 Jun 2012 01:15
by bat999

Re: Crash and immediate closure of VLC on reading .ape files

Posted: 28 Jun 2012 07:51
by sobino
I guess it is not because in those other cases VLC at least starts to do something (playing with no sound, skipping after 6 seconds ...) while in my case it immediately closes itself without any message as soon as I drop the file onto its window. On restart it does not even recognize that it has crashed. In earlier versions with other files it could not load it at least told me "VLC has crashed. Do you want to generate a bug report?" (something like this). This does not happen with this bug.

Re: Crash and immediate closure of VLC on reading .ape files

Posted: 28 Jun 2012 08:38
by Lotesdelere
I'm getting troubles with some APE files that VLC refuses to play while some other APE files are playing fine, but overall the responsiveness of the VLC interface becomes very slow when playing any APE file. Although I haven't experienced any crash yet.

Anyway, you should create a ticket on the VLC Trac with the link of this thread and provide some sample files.

Re: Crash and immediate closure of VLC on reading .ape files

Posted: 01 Jul 2012 00:04
by VLC_help

Re: Crash and immediate closure of VLC on reading .ape files

Posted: 01 Jul 2012 15:07
by fkuehne
Hello,
can you still reproduce the same issue with VLC 2.0.2 released today? It includes an updated version of taglib.

Thanks!

Re: Crash and immediate closure of VLC on reading .ape files

Posted: 01 Jul 2012 17:39
by VLC_help
Hello,
can you still reproduce the same issue with VLC 2.0.2 released today? It includes an updated version of taglib.

Thanks!
Yes. Crashes with VLC 2.0.2, and latest 2.1.0 nightlies.

Re: Crash and immediate closure of VLC on reading .ape files

Posted: 01 Jul 2012 17:46
by Lotesdelere
The sample from the first post is using ID3v1 tags only and it's still crashing VLC 2.0.2.

Re: Crash and immediate closure of VLC on reading .ape files

Posted: 03 Jul 2012 22:05
by Jean-Baptiste Kempf
It is fixed after 2.0.2

Re: Crash and immediate closure of VLC on reading .ape files

Posted: 15 Aug 2012 19:46
by sobino
Thanks, it works better now. No more crashes. Some files do not get played, though. Examples:
http://www.sendspace.com/filegroup/6%2B ... kDLf75xM6A
http://www.sendspace.com/file/fkh497

Re: Crash and immediate closure of VLC on reading .ape files

Posted: 16 Aug 2012 09:21
by Lotesdelere
You should create a new ticket on the VLC Trac with the links to this thread and to the sample files.

Re: Crash and immediate closure of VLC on reading .ape files

Posted: 17 Aug 2012 02:15
by bat999
You should create a new ticket on the VLC Trac with the links to this thread and to the sample files.
Hi
I used "Track01.ape" from sobino above and de-compressed it to wav.
Then re-compressed it to ape using "Monkey's Audio 4.10" from here ---> http://www.monkeysaudio.com/download.html
to create "Track02.ape".

"Track01.ape" originally wouldn't play in VLC, but afterwards "Track02.ape" plays OK.
VLC media player 2.1.0-git Rincewind (revision 4e70b52)


The difference between them?
The original one was created using "Exact Audio Copy (Secure mode)" and it has some meta-data.

Filed a trac report here ---> https://trac.videolan.org/vlc/ticket/7349


The two files are here ---> http://www.mediafire.com/?ogvail7u7oomyau

Code: Select all

General Complete name : Track01.ape Format : Monkey's Audio File size : 44.2 MiB Duration : 10mn 34s Overall bit rate : 585 Kbps Album : Unknown Title Track name : Track01 Track name/Position : 01 Track name/Total : 04 Performer : Unknown Artist Encoded by : Exact Audio Copy (Secure mode) Comment : Track 1 Audio Format : Monkey's Audio Duration : 10mn 34s Bit rate : 585 Kbps Channel(s) : 2 channels Sampling rate : 44.1 KHz Bit depth : 16 bits Compression mode : Lossless Compression ratio : 2.414 Stream size : 44.2 MiB (100%) Encoding settings : Normal

Code: Select all

General Complete name : Track02.ape Format : Monkey's Audio File size : 44.2 MiB Duration : 10mn 34s Overall bit rate : 585 Kbps Audio Format : Monkey's Audio Duration : 10mn 34s Bit rate : 585 Kbps Channel(s) : 2 channels Sampling rate : 44.1 KHz Bit depth : 16 bits Compression mode : Lossless Compression ratio : 2.414 Stream size : 44.2 MiB (100%) Encoding settings : Normal

Re: Crash and immediate closure of VLC on reading .ape files

Posted: 17 Aug 2012 09:19
by Lotesdelere
I think metadata is not the problem. From my tests I've noticed the files created with the executable MAC.exe are playing fine with VLC whilst the files created through a third party app with the library MACDll.dll are not properly playing.

Re: Crash and immediate closure of VLC on reading .ape files

Posted: 17 Aug 2012 10:40
by bat999
I think metadata is not the problem.
Hi
I've tagged "Track02.ape" using EasyTAG.
It still plays OK. :)
So probably meta-data isn't the problem.

Code: Select all

General Complete name : Track02.ape Format : Monkey's Audio File size : 44.2 MiB Duration : 10mn 34s Overall bit rate : 585 Kbps Album : Unknown Title Track name : Track02 Performer : Unknown Artist Genre : Unknown Comment : Track 2 Audio Format : Monkey's Audio Duration : 10mn 34s Bit rate : 585 Kbps Channel(s) : 2 channels Sampling rate : 44.1 KHz Bit depth : 16 bits Compression mode : Lossless Compression ratio : 2.414 Stream size : 44.2 MiB (100%) Encoding settings : Normal