Re: crash on watch directory.
Robert Hart <[email protected]>
| Newsgroups | gmane.comp.audio.zinf.devel |
|---|---|
| Message-ID | <1062529661.1944.29.camel@euclid> |
It's odd, because it scans the MyMusic directory during zinf startup just fine, it's only on the subsequent scan that it crashes. My MyMusic directory contains a number of files and directories, some of which are valid music files. Rob On Tue, 2003-09-02 at 18:57, Kristian Kvilekval wrote: > What exactly is in the MyMusic directory? > > It often helps to find what sort heap (malloc) > operations were done previously to the one that > is failing. From a brief glance at FindFirstFile > it appears there might be quite a few places > where this messes up. > > My preference would be to remove occurances > of the win32 api (FindFile*) and replace with boost::filesystem. > > > > On Mon, 2003-09-01 at 02:56, Robert Hart wrote: > > I am still seeing zinf die when it scans the MyMusic directory. I can't > > for the life of me figure out why. > > > > #0 0x401de0e5 in mallopt () from /lib/libc.so.6 > > #1 0x401dd9da in mallopt () from /lib/libc.so.6 > > #2 0x401dd439 in calloc () from /lib/libc.so.6 > > #3 0x4020b439 in opendir () from /lib/libc.so.6 > > #4 0x080c2e04 in FindFirstFile(char*, WIN32_FIND_DATA*) > > (lpFileName=0x41acc74c "/home/enxrah/MyMusic/*", > > lpFindFileData=0xbe1fe9cc) at src/win32impl.cpp:93 > > #5 0x0808c227 in MusicCatalog::DoSearchMusic(char*, bool) > > (this=0x80ee040, path=0x41a7dc64 "/home/enxrah/MyMusic", > > bSendMessages=false) at src/musiccatalog.cpp:884 > > #6 0x0808bf09 in MusicCatalog::DoSearchPaths(std::vector<std::string, > > std::allocator<std::string> >&, bool) ( > > this=0x80ee040, pathList=@0x865184c, bSendMessages=false) at > > src/musiccatalog.cpp:854 > > #7 0x0808bd99 in MusicCatalog::musicsearch_thread_function(void*) > > (arg=0x8651848) at src/musiccatalog.cpp:835 > > #8 0x080b9189 in pthreadThread::InternalThreadFunction() > > (this=0x8181848) at src/pthreadthread.cpp:71 > > #9 0x080b913a in pthreadThread::internalThreadFunction(void*) > > (arg=0x8181848) at src/pthreadthread.cpp:60 > > #10 0x400368be in pthread_start_thread () from /lib/libpthread.so.0 > > #11 0x4003692d in pthread_start_thread_event () from > > /lib/libpthread.so.0 > > #12 0x4023a547 in clone () from /lib/libc.so.6 -- +-------------------------------------+ | "It's only a trap if you don't take | | a ladder with you to get out of it" | | -S Ring, Bath Uni | | | | [email protected] | | http://www.nott.ac.uk/~enxrah | +-------------------------------------+ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf