xmms, kjofol and deadlock
Andrew Burgess <[email protected]>
| Newsgroups | gmane.comp.multimedia.xmms.devel |
|---|---|
| Message-ID | <[email protected]> |
I am using xmms 1.2.10 compiled from source, and kjofol visualisation plug-in from: http://www.csse.monash.edu.au/~timf/xmms.html Everything works fine except, when using a kjofol playlist editor to add tracks or remove tracks. The problem is that xmms locks up - it turns out to be a threading issue, and xmms is hanging on a call to GDK_THREADS_ENTER() What happens is when the kjofol play list is modified, and a track either added or removed then several "remote" calls are made to xmms, the first of which is to clear the playlist. This results in: void *ctrlsocket_func(void *arg) in controlsocket.c being called, which then enters the CMD_PLAYLIST_CLEAR section of the case statement, and GDK_THREADS_ENTER() blocks. The only two cases that use GDK_THREADS_ENTER() are the CLEAR and the DELETE just above it - but these two cases do mess around with gdk stuff so it seems like the thread lock is justified. I was wondering if anyone could suggest why xmms might be deadlocking at this point, I know (guess) that the problem must be something to do with the combination of XMMS & kjofol but as kjofol doesn't seem to perform and thread locking I am at a loss to see why it should be the cause. I haven't had too long to look into the problem yet, but I hope someone might know the answer and save me the bother. Thanks Andrew B