CHUNGYUN / flylinkdc

Automatically exported from code.google.com/p/flylinkdc
0 stars 0 forks source link

[DeadLock] Зависание в LRESULT MainFrame::onCheckDHTStats #1003

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. Вешаемся при вызове 
ConnectivityManager::getInstance()->setup(true);
2. крутимся бесконечно в join()
                ~Server()
                {
                    die = true;
                    join();
                }

Полный стек:

    ntdll.dll!ZwWaitForSingleObject()  + 0xa bytes  
    KERNELBASE.dll!WaitForSingleObjectEx()  + 0x9c bytes    
    FlylinkDC_x64.exe!Thread::join()  Line 206  C++
    FlylinkDC_x64.exe!ConnectionManager::Server::~Server()  Line 213 + 0xa bytes    C++
    FlylinkDC_x64.exe!ConnectionManager::Server::`scalar deleting destructor'()  + 0x17 bytes   C++
    FlylinkDC_x64.exe!safe_delete<DirectoryListing::Directory>(DirectoryListing::Directory * & p)  Line 110 + 0x33 bytes    C++
    FlylinkDC_x64.exe!ConnectionManager::disconnect()  Line 517 C++
    FlylinkDC_x64.exe!ConnectivityManager::disconnect()  Line 213   C++
    FlylinkDC_x64.exe!ConnectivityManager::startSocket()  Line 47   C++
    FlylinkDC_x64.exe!ConnectivityManager::setup(bool settingsChanged)  Line 141 + 0xa bytes    C++
>   FlylinkDC_x64.exe!MainFrame::onCheckDHTStats(unsigned short __formal, 
unsigned short __formal, unsigned short __formal, unsigned short __formal)  
Line 3479 + 0x16 bytes  C++

Original issue reported on code.google.com by Pavel.Pimenov@gmail.com on 23 Apr 2013 at 3:28

GoogleCodeExporter commented 9 years ago
Во вложении картинки
не совсем понятно как так получается но по 
номеру дескриптора (возможно совпадение)
идет ожидание VideoPreview

Original comment by Pavel.Pimenov@gmail.com on 23 Apr 2013 at 4:55

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r13733.

Original comment by Pavel.Pimenov@gmail.com on 24 Apr 2013 at 10:53

GoogleCodeExporter commented 9 years ago

Original comment by a.rain...@gmail.com on 29 Apr 2013 at 9:37

GoogleCodeExporter commented 9 years ago
Дополнительные сведения содержаться в r13750, 
r13753. Исправление r13733 не корректное по 
причине того, что отпал проброс портов 
через UPnP.

p.s: скорее всего надо просто провести 
ревизию компонентов VideoPreview ибо судя по 
краш-серверу ошибки там есть.

Original comment by a.rain...@gmail.com on 29 Apr 2013 at 9:44

GoogleCodeExporter commented 9 years ago
r13768

Original comment by a.rain...@gmail.com on 1 May 2013 at 12:58