On Sun, Jul 26, 2009 at 11:50 PM, Pierre d'Herbemont<pdherbemont at free.fr> wrote: > + PL_UNLOCK; > + return pl_priv(p_playlist)->pp_sds[i]->p_sd; > > You are the playlist outside the playlist lock. This is wrong. "You are accessing the playlist outside the playlist lock."