ykusajima / eyetunes

Automatically exported from code.google.com/p/eyetunes
0 stars 0 forks source link

User of GimmeSomeTune experiencing crashes apparently caused by EyeTunes #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When fetching artwork with GimmeSomeTune, it uses EyeTunes to save that artwork 
into the song.
However, when the NSPasteboard does the conversion of the data to PICT data, it 
sometimes seems 
to crash - I've attached a crash log.

Original issue reported on code.google.com by oddyss...@gmail.com on 27 Aug 2008 at 4:14

Attachments:

GoogleCodeExporter commented 9 years ago
Hi oddysseey

I'd say the problem lies in the fact, that NSPasteboard is not thread-safe, but 
obviously called from a non-
main thread by GimmeSomeTune. 

Please try to use performSelectorOnMainThread:withObject:waitUntilDone: with 
the call to see if the crashes 
go away. 

If that's the case ETTrack should probably get a setArtworkPict:atIndex: method 
that does not do the 
pasteboard conversion to be thread-safe. Or there's a different thread-safe way 
to convert to PICT?

Ruotger

Original comment by Raubti...@gmail.com on 27 Aug 2008 at 8:50