Topic: Cog 0.6 crashes shortly after dropping music directory onto app

Like the subject says, shortly after dropping my music directory onto cog it will crash every time, cog functions fine when some other directories are dropped onto it, my music directory contains around 1300 files being a mix of aac, mp3, flac, ogg, and mpc.

Last edited by deanr (2007-07-21 20:58:50)

Re: Cog 0.6 crashes shortly after dropping music directory onto app

I got another report of this. It looked like a TagLib bug when you have a FLAC file that either a) it can't open or b) doesn't have tags. I guess if you don't have a flac file, that's out of the question, though it is crashing in the exact same spot.

If you could find a specific file that causes the problem, it would be a lot of help!

Re: Cog 0.6 crashes shortly after dropping music directory onto app

I think I've found a flac file that causes Cog to crash randomly (at least that's what I've observed). I'm on a painfully slow connection at present, but I'll upload it somewhere next monday if it'll be still useful. It's sort of quirky: at first Cog crashed immediately after dropping the folder containing this file; then didn't crash, but couldn't play it; now everything seems to run smooth. ?? 

This file is correctly tagged, but due to a mistake, the title contains a "chenged" instead of "changed" and out of lazyness I renamed it only in the Finder. May this be pertaining?

Re: Cog 0.6 crashes shortly after dropping music directory onto app

Re: Cog 0.6 crashes shortly after dropping music directory onto app

Re: Cog 0.6 crashes shortly after dropping music directory onto app

I located the problem files, a directory of flac files which appear to be empty files. The file have the correct filesizes, but 'cat file.flac' returns nothing.

Last edited by deanr (2007-07-13 14:37:08)

Re: Cog 0.6 crashes shortly after dropping music directory onto app

Interesting. Maybe try using "xxd filename.flac", that'll display the contents in hex-form.

Re: Cog 0.6 crashes shortly after dropping music directory onto app

All 0's, where'd my songs go sad

Re: Cog 0.6 crashes shortly after dropping music directory onto app

Odd. Cog doesn't write to files, it only opens them for reading, so I doubt Cog is to blame.

Update: I think some bittorrent clients initialize files like that, if that's a possibility.

Last edited by vspader (2007-07-13 19:49:27)

Re: Cog 0.6 crashes shortly after dropping music directory onto app

I didnt think cog had anything to do with it, im not sure if I've ever played the files so you might be right about bittorrent

Re: Cog 0.6 crashes shortly after dropping music directory onto app

Re: Cog 0.6 crashes shortly after dropping music directory onto app

Any updates on this? I'm assuming the nightly fixed it?

Re: Cog 0.6 crashes shortly after dropping music directory onto app

I've tried with all sorts of flac I have, but everything was ok, even with the one I mentioned above. The only odd thing I observed a couple of times was the appearance of two lists on dropping a folder onto Cog: the first one correctly showed the flac files, while the second one showed the same files in .wav format, but couldn't play them of course. Another time, a folder of mp3's resulted in 2 similar lists, the second showing the titles with .flac extension. Both folders were obtained via bittorrent and I just thought Cog was somehow able to read some metadata containing info about the format the files were converted from.

Re: Cog 0.6 crashes shortly after dropping music directory onto app

It's possible there was an m3u or pls in the directory that Cog picked up on.

Re: Cog 0.6 crashes shortly after dropping music directory onto app

Re: Cog 0.6 crashes shortly after dropping music directory onto app

It doesn't crash with the nightly you posted, reads the track time as 0:00 and moves on