Re: Browsing By Dir
Kristian Kvilekval <[email protected]>
| Newsgroups | gmane.comp.audio.zinf.devel |
|---|---|
| Message-ID | <1066003920.4067.5.camel@krispc> |
On Sun, 2003-10-12 at 10:28, David Hough wrote: > Hi, > > I've made some improvements to my initial support for browsing by dir in > the gtkmm browser. It no longer crashes when the dir dosen't exist, it > only displays supported file types and it sorts the directory contents. > > I've also added a new preference MusicBrowserShowDirs which is a ';' > seperated list of dirs that should be displayed in the browser. It no > longer uses the "watch this dir" pref. Good. > I've also come across a quite annoying bug that occasionally makes zinf > seg fault when reading the dir contents (when expanding a dir node in the > tree). It appears to be a problem with boost, the backtrace is [snip] > p0=0x83429e0, p1=0x839b470, data=0x42964fec) at treeview.cc:633 > > The fact its segfaults in a pthread function and it only happens > occasionally suggests that there's some threading problem with reading the > dir contents but I can't think what it could possibly be. Any ideas would > be appreciated. I am not sure that the boost code is thread safe and I know the mdb code is *not*. In fact don't do any mdb operations while the database is doing a music search. This is bug, but I have not had the time to go fix it yet. > Again the updated code is avaliable as a tla/arch archive at > http://www-student.cs.york.ac.uk/~djh123/arch/ > > I've also finally got around to patching all my changes against the > current CVS. The patch is at > http://www-student.cs.york.ac.uk/~djh123/arch/dirpatch-cvs.diff -- Kristian G. Kvilekval email:[email protected] office:(805)893-4276 http://www.cs.ucsb.edu/~kris ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php