http://bugs.winehq.org/show_bug.cgi?id=28120
Summary: Mini Thunder unable to finish downloading any files -- fixme:file:SetFileValidData stub: 0x1e8, 1000 Product: Wine Version: 1.3.26 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: fracting@gmail.com
0. host a local http server, here I use $ python -m SimpleHTTPServer
create a sample file on the server for download testing, here I use: $ echo 1 > test_download.txt $ ls -l test_download.txt -rw-r--r-- 1 fracting fracting 2 Aug 18 16:06 test_download.txt
1. Download ThunderMiniInstall.exe $ wget http://down.sandai.net/mini/ThunderMiniInstall.exe (from http://dl.xunlei.com/mini.html )
2. winetricks -q vcrun2003 , avoid Bug 28110 and Bug 28110.
3. run ThunderMiniInstall.exe
4. start ThunderMini.exe ( after install ThunderMiniInstall.exe, Thunder.exe will auto start)
5. add a new url to download: http://127.0.0.1:8000/test_download.txt
after a while, the whole file is download complete, but ThunderMini is unable to finish the download task. in ~/.wine/drive_c/TDDownload , there is a file named test_download.txt.td , $ cat test_download.txt.td 1 /* the file context of test_download.txt.td is the same as test_download.txt */ $ ls -l test_download.txt.td -rw-r--r-- 1 fracting fracting 4096 Aug 18 16:10 test_download.txt.td
/* the file size of the origin file on the server(test_download.txt) is 2B, however, test_download.txt.td is 4096B. */
Such line can be found in the log: fixme:file:SetFileValidData stub: 0x1e8, 1000
reference: http://msdn.microsoft.com/en-us/library/aa365544(v=vs.85).aspx
http://bugs.winehq.org/show_bug.cgi?id=28120
fracting fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://down.sandai.net/mini | |/ThunderMiniInstall.exe
http://bugs.winehq.org/show_bug.cgi?id=28120
--- Comment #1 from fracting fracting@gmail.com 2011-08-18 04:07:18 CDT --- Created an attachment (id=36033) --> (http://bugs.winehq.org/attachment.cgi?id=36033) Log: +file trace , last 5000 lines
http://bugs.winehq.org/show_bug.cgi?id=28120
--- Comment #2 from fracting fracting@gmail.com 2011-09-06 14:10:38 CDT --- Created an attachment (id=36261) --> (http://bugs.winehq.org/attachment.cgi?id=36261) Log: backtrace all from winedbg
http://bugs.winehq.org/show_bug.cgi?id=28120
--- Comment #3 from fracting fracting@gmail.com 2011-09-06 14:11:16 CDT --- Hello, append winedbg log file: bt_all.log
log is like below
Wine-dbg>0x7038f830 GLIBC_2+0x830 in ld-linux.so.2: int $0x80
Backtracing for thread 002c in process 0008 (C:\Program Files\Thunder Network\MiniThunder\Bin\ThunderMini.exe): Backtrace:
=>0 0x7038f830 GLIBC_2+0x830() in ld-linux.so.2 (0x01a6e5ec) 1 0x7bc7fe30 NTDLL_wait_for_multiple_objects+0x1cc(count=0x2, handles=0x1a6e87c, flags=0x4, timeout=(nil), signal_object=0x0(nil)) [/home/fracting/wine-git/dlls/ntdll/sync.c:1124] in ntdll (0x01a6e7fc) 2 0x7bc7ff0e NtWaitForMultipleObjects+0x67(count=0x2, handles=0x1a6e87c, wait_all=0, alertable=0, timeout=(nil)) [/home/fracting/wine-git/dlls/ntdll/sync.c:1162] in ntdll (0x01a6e84c) 3 0x7b87158a WaitForMultipleObjectsEx+0x135(count=0x2, handles=0x1a6ea24, wait_all=0, timeout=0xffffffff, alertable=0) [/home/fracting/wine-git/dlls/kernel32/sync.c:188] in kernel32 (0x01a6e99c) 4 0x7b87144a WaitForMultipleObjects+0x39(count=0x2, handles=0x1a6ea24, wait_all=0, timeout=0xffffffff) [/home/fracting/wine-git/dlls/kernel32/sync.c:148] in kernel32 (0x01a6e9cc) 5 0x00433978 in thundermini (+0x33977) (0x01a6ea44) 6 0x00433a2b in thundermini (+0x33a2a) (0x01a6ea58)
Since all thread of ThunderMini.exe is waiting, I think that's a deadlock, please let me know if I make mistakes. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=28120
fracting fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Mini Thunder unable to |Mini Thunder deadlocks in |finish downloading any |the end of download any |files -- |files |fixme:file:SetFileValidData | |stub: 0x1e8, 1000 |
--- Comment #4 from fracting fracting@gmail.com 2011-09-06 14:13:04 CDT --- Hello, update the summary.
http://bugs.winehq.org/show_bug.cgi?id=28120
fracting fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Mini Thunder deadlocks in |Mini Thunder deadlocks in |the end of download any |the end of downloading any |files |files
http://bugs.winehq.org/show_bug.cgi?id=28120
fracting fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|kernel32 |-unknown
--- Comment #5 from fracting fracting@gmail.com 2011-09-06 14:15:00 CDT --- not sure what component, so remove "kernel32"
http://bugs.winehq.org/show_bug.cgi?id=28120
fracting fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #6 from fracting fracting@gmail.com 2011-12-20 23:29:27 CST --- Hello, thunder and minithunder are made by the same corporation, and they have the same issue on wine. marking dup of Bug 15013
*** This bug has been marked as a duplicate of bug 15013 ***
http://bugs.winehq.org/show_bug.cgi?id=28120
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Austin English austinenglish@gmail.com 2012-01-23 19:46:35 CST --- Closing DUPLICATE.