Re: [Banshee-List] Segfaulting on embedded images



Dan,

Try changing that line to this:

if(picture == null || picture.Data == null || picture.Data.Count == 0) {
     return false;
}

Create a bug.  If you can, attach a sample file that will cause the
crash.  I'll submit this as a patch if it fixes it.  If you're
comfortable submitting patches, you could do it.

-- Trey

On 4/25/07, Dan Wilson <dan acucore com> wrote:
Banshee keeps crashing on me.  I've tracked it down to what I believe
is a problem with the embedded image code in EmbeddedQueryJob.cs.

Around line 128, there is the following line:

if(picture.Data.Count == 0) {

When trying to play certain files, Banshee segfaults at this line.
I've tried wrapping a try-catch around it, but it had no affect.  I'm
assuming this has something to do with TagLib not liking my files (it
looks like they are all from the same album -- can't remember what I
ripped them with).

Anybody have any ideas how I can resolve this?

I'm running:
Ubuntu 6.10
Mono 1.1.17.1
Banshee SVN (24 Apr 2007)
(is there some other version that is important?)

Thanks,
-=Dan
_______________________________________________
Banshee-list mailing list
Banshee-list gnome org
http://mail.gnome.org/mailman/listinfo/banshee-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]