non standard icmp pings? ook?
well, maybe inquire about that by pm to zz?
i wouldn't know the difference between standard and custom icmp packets.
wrt to the file finishing problem.
2 files finished on my emule.
1st one was 108 megs big and didn't produce a crash.
my crude check point log shows it goes all the way through file completion without problems.
Quote
24.03.2004 15:28:44: Finished part 8 of "professor xavier and the x-men 01- 18 - (phalkon).rar"
24.03.2004 15:28:44: CPartFile::CompleteFile(bool bIsHashingDone) -start
24.03.2004 15:28:44: CPartFile::CompleteFile(bool bIsHashingDone) - GetKadFileSearchID()
24.03.2004 15:28:44: CPartFile::CompleteFile(bool bIsHashingDone) - this->srcarevisible
24.03.2004 15:28:44: CPartFile::CompleteFile(bool bIsHashingDone) - this->srcarevisible
24.03.2004 15:28:44: CPartFile::CompleteFile(bool bIsHashingDone) - !bIsHashingDone = false
24.03.2004 15:28:44: CPartFile::CompleteFile(bool bIsHashingDone) - !bIsHashingDone done
24.03.2004 15:28:44: CAddFileThread::Run() - start
24.03.2004 15:28:44: CAddFileThread::Run() - CoInitialize(NULL);
24.03.2004 15:28:44: CAddFileThread::Run() - CSingleLock sLock1(&theApp.hashing_mut)
24.03.2004 15:28:44: CAddFileThread::Run() - sLock1.Lock();
24.03.2004 15:28:44: CAddFileThread::Run() - sLock1.Lock(); - success
24.03.2004 15:28:44: CAddFileThread::Run() - newrecord->CreateFromFile
24.03.2004 15:28:44: CKnownFile::CreateFromFile(LPCTSTR in_directory, LPCTSTR in_filename) - start
24.03.2004 15:28:44: CKnownFile::CreateFromFile(LPCTSTR in_directory, LPCTSTR in_filename) - // open file
24.03.2004 15:28:44: CKnownFile::CreateFromFile(LPCTSTR in_directory, LPCTSTR in_filename) - FILE* file = fopen(strFilePath, ...
24.03.2004 15:28:44: CKnownFile::CreateFromFile(LPCTSTR in_directory, LPCTSTR in_filename) - // set filesize
24.03.2004 15:28:44: CKnownFile::CreateFromFile(LPCTSTR in_directory, LPCTSTR in_filename) - SetFileSize(_filelength(file->_file));
24.03.2004 15:28:44: CKnownFile::CreateFromFile(LPCTSTR in_directory, LPCTSTR in_filename) - setvbuf(file, NULL, _IOFBF, 1024*8*2);
24.03.2004 15:28:45: CKnownFile::CreateFromFile(LPCTSTR in_directory, LPCTSTR in_filename) - // create hashset
24.03.2004 15:28:45: Hashing file: "z:\home\jane\emule\temp\001.part"
24.03.2004 15:28:50: CKnownFile::CreateFromFile(LPCTSTR in_directory, LPCTSTR in_filename) - // set lastwrite date
24.03.2004 15:28:50: CKnownFile::CreateFromFile(LPCTSTR in_directory, LPCTSTR in_filename) - fclose(file);
24.03.2004 15:28:50: CKnownFile::CreateFromFile(LPCTSTR in_directory, LPCTSTR in_filename) - UpdateMetaDataTags();
24.03.2004 15:28:50: CKnownFile::CreateFromFile(LPCTSTR in_directory, LPCTSTR in_filename) - UpdatePartsInfo();
24.03.2004 15:28:50: CKnownFile::CreateFromFile(LPCTSTR in_directory, LPCTSTR in_filename) - END
24.03.2004 15:28:50: Completing file-hashing for "professor xavier and the x-men 01- 18 - (phalkon).rar"
24.03.2004 15:28:50: CPartFile::CompleteFile(bool bIsHashingDone) -start
24.03.2004 15:28:50: CPartFile::CompleteFile(bool bIsHashingDone) - GetKadFileSearchID()
24.03.2004 15:28:50: CPartFile::CompleteFile(bool bIsHashingDone) - this->srcarevisible
24.03.2004 15:28:50: CPartFile::CompleteFile(bool bIsHashingDone) - this->srcarevisible
24.03.2004 15:28:50: CPartFile::CompleteFile(bool bIsHashingDone) - !bIsHashingDone = true
24.03.2004 15:28:50: CPartFile::RemoveAllSources(bool bTryToSwap) - start
24.03.2004 15:28:50: CPartFile::RemoveAllSources(bool bTryToSwap) - end
24.03.2004 15:28:50: CPartFile::CompleteFile(bool bIsHashingDone) - create thread
24.03.2004 15:28:50: CPartFile::CompleteFile(bool bIsHashingDone) - thread created and resumed
24.03.2004 15:28:50: CPartFile::CompleteFile(bool bIsHashingDone) - Update lists etc.
24.03.2004 15:28:50: CPartFile::CompleteFile(bool bIsHashingDone) - DONE!
24.03.2004 15:28:50: CPartFile::CompleteThreadProc - start
24.03.2004 15:28:50: CPartFile::CompleteThreadProc - pFile->PerformFileComplete()
24.03.2004 15:28:50: CPartFile::PerformFileComplete() - CSingleLock sLock(&m_FileCompleteMutex, TRUE)
24.03.2004 15:28:50: CPartFile::PerformFileComplete() - CSingleLock sLock(&m_FileCompleteMutex, TRUE) - success
24.03.2004 15:28:50: CPartFile::PerformFileComplete() // close permanent handle
24.03.2004 15:28:50: CPartFile::PerformFileComplete() rename
24.03.2004 15:28:50: CPartFile::PerformFileComplete() Uncompress file
24.03.2004 15:28:50: CPartFile::PerformFileComplete() remove temp files
24.03.2004 15:28:50: CPartFile::PerformFileComplete() sLock.Unlock()
24.03.2004 15:28:50: CPartFile::PerformFileComplete() - sLock.Unlock(); - success
24.03.2004 15:28:50: CPartFile::PerformFileComplete() Post Message
24.03.2004 15:28:50: CPartFile::PerformFileCompleteEnd - start
24.03.2004 15:28:50: Downloading professor xavier and the x-men 01- 18 - (phalkon).rar complete :-)
24.03.2004 15:28:51: CPartFile::PerformFileCompleteEnd - end
24.03.2004 15:28:51: CPartFile::PerformFileComplete() DONE
24.03.2004 15:28:51: CPartFile::CompleteThreadProc - end
24.03.2004 15:28:50: CAddFileThread::Run() - sLock1.Unlock();
24.03.2004 15:28:51: CAddFileThread::Run() - sLock1.Unlock(); - success
24.03.2004 15:28:51: CAddFileThread::Run() - CoUninitialize();
24.03.2004 15:28:51: CAddFileThread::Run() - DONE
the second file was 168 megs and made emule crash
log
Quote
24.03.2004 16:09:34: Finished part 16 of "tubs.304.avi"
<- HERE I WAS EXPECTING A FILE COMPLETION THREAD TO START. BUT NADA!
24.03.2004 16:09:40: gogmm: Upload session ended due to score.
24.03.2004 16:10:39: RCV: Source Request to fast. (This is testing the new timers to see how much older client will not receive this)
<- CRASH
emule doesn't even start the complete file thread. it crashes somewhere earlier(?).
even weirder, when the 1st file finished downloading it's last part the file completion thread started imediately (in the very same second the last part was finished).
Quote
24.03.2004 15:28:44: Finished part 8 of "professor xavier and the x-men 01- 18 - (phalkon).rar"
24.03.2004 15:28:44: CPartFile::CompleteFile(bool bIsHashingDone) -start
...
the file which crashed emule didn't spawn a file completion thread.
but emule crashed 1 minute and 5 seconds after finishing the last part.
1+ minute and no file completiton thread? wtf?
only reason that i can think of is that another file is being hashed so the new completing thread has to wait. but the last file hashing was already done 40 mins ago. so that's out of question.
guess i have to dig deeper into the code and add even more check point code...
but 1st some sleep. my w2k box died last night (for no obvious reason, i suspect it was sulking 'cause i've spent so much time tinkering with linux
) and i spent the whole night setting up a new machine, doh!
night,
-pkj
edit:
a very small (500kb) file just finished and crashed emule.
this time during the file completion process:
Quote
24.03.2004 16:58:58: Finished part 0 of "blargh.rar"
24.03.2004 16:58:58: CPartFile::CompleteFile(bool bIsHashingDone) -start
24.03.2004 16:58:58: CPartFile::CompleteFile(bool bIsHashingDone) - GetKadFileSearchID()
24.03.2004 16:58:58: CPartFile::CompleteFile(bool bIsHashingDone) - this->srcarevisible
24.03.2004 16:58:58: CPartFile::CompleteFile(bool bIsHashingDone) - this->srcarevisible
24.03.2004 16:58:58: CPartFile::CompleteFile(bool bIsHashingDone) - !bIsHashingDone = false
24.03.2004 16:58:58: CPartFile::CompleteFile(bool bIsHashingDone) - !bIsHashingDone done
24.03.2004 16:58:59: CAddFileThread::Run() - start
24.03.2004 16:58:59: CAddFileThread::Run() - CoInitialize(NULL);
<- CRASH
crashed right before the 1st Lock should have been initiated.
can't make any sense out of that at the moment (unless wine's threading code is buggy).
but now. SLEEP...
This post has been edited by Painkiller Jane: 24 March 2004 - 03:29 PM