Re: crash on watch directory.

Kristian Kvilekval <[email protected]>
Newsgroups gmane.comp.audio.zinf.devel
Message-ID <1062525457.8953.208.camel@krispc>
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
-- 
Kristian G. Kvilekval
email:[email protected] office:(805)893-4276 http://www.cs.ucsb.edu/~kris



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.