http://bugs.winehq.org/show_bug.cgi?id=31977
Bug #: 31977 Summary: YoudaoDict crash at start Product: Wine Version: 1.5.15 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: fracting@gmail.com Classification: Unclassified
1. Download installer at: http://cidian.youdao.com/download/YoudaoDict.exe
2. install with wine
3. $ cd '.wine/drive_c/users/fracting/Local Settings/Application Data/Youdao/Dict/Application'
$ wine YodaoDict.exe
YodaoDict crash but no backtrace printed, there is a deadlock after crashing: 0024:err:ntdll:RtlpWaitForCriticalSection section 0x110060 "heap.c: main process heap section" wait timed out in thread 0024, blocked by 0009, retrying (60 sec)
start YodaoDict with winedbg could give us the crashing Backtrace: Backtrace: =>0 0x7bc496be HEAP_FindFreeBlock+0x46(heap=0x110000, size=0x28, ppSubHeap=0x33f188) [/home/fracting/wine-git/dlls/ntdll/heap.c:1003] in ntdll (0x0033f160) 1 0x7bc4b953 RtlAllocateHeap+0x1ac(heap=0x110000, flags=0x2, size=0x24) [/home/fracting/wine-git/dlls/ntdll/heap.c:1688] in ntdll (0x0033f1c0) 2 0x7bb50d46 heap_alloc+0x2d(len=0x24) [/home/fracting/wine-git/dlls/msxml3/msxml_private.h:170] in msxml3 (0x0033f1f0) 3 0x7bb52e55 create_attribute+0x1d(attribute=0x78705500) [/home/fracting/wine-git/dlls/msxml3/attribute.c:675] in msxml3 (0x0033f220) 4 0x7bb83f90 create_node+0xaf(node=0x78705500) [/home/fracting/wine-git/dlls/msxml3/node.c:1557] in msxml3 (0x0033f270) 5 0x7bb6d760 domelem_get_qualified_item+0x14e(node=0x78705468, name="name", uri=0x0(nil), item=0x33f384) [/home/fracting/wine-git/dlls/msxml3/element.c:1573] in msxml3 (0x0033f2c0) 6 0x7bb6d83f domelem_get_named_item+0xcd(node=0x78705468, name="name", item=0x33f384) [/home/fracting/wine-git/dlls/msxml3/element.c:1592] in msxml3 (0x0033f320) 7 0x7bb85963 xmlnodemap_getNamedItem+0xa6(iface=0x334e560, name="name", item=0x33f384) [/home/fracting/wine-git/dlls/msxml3/nodemap.c:200] in msxml3 (0x0033f360) 8 0x004cd6dd in yodaodict (+0xcd6dc) (0x006ab640) 0x7bc496be HEAP_FindFreeBlock+0x46 [/home/fracting/wine-git/dlls/ntdll/heap.c:1003] in ntdll: movl0x0(%eax),%eax 1003 SIZE_T arena_size = (pArena->size & ARENA_SIZE_MASK) +
http://bugs.winehq.org/show_bug.cgi?id=31977
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com 2012-10-15 02:14:21 CDT --- Attach +heap,+msxml,+tid please. Also does native msxml3/4/6 help here?
http://bugs.winehq.org/show_bug.cgi?id=31977
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com 2012-10-15 02:17:13 CDT --- This is a regression, right? I remember testing this application for other but not so long ago.
http://bugs.winehq.org/show_bug.cgi?id=31977
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://cidian.youdao.com/do | |wnload/YoudaoDict.exe
http://bugs.winehq.org/show_bug.cgi?id=31977
--- Comment #3 from Qian Hong fracting@gmail.com 2012-10-15 02:42:27 CDT --- (In reply to comment #1)
Attach +heap,+msxml,+tid please. Also does native msxml3/4/6 help here?
Nikolay, thanks for help.
I generated a +heap,+msxml,+tid trace but it does not show anything related to msxml, this looks strange to me. A +msxml,+tid trace does show msxml log.
Will attach both trace.
http://bugs.winehq.org/show_bug.cgi?id=31977
--- Comment #4 from Qian Hong fracting@gmail.com 2012-10-15 02:46:01 CDT --- Created attachment 42132 --> http://bugs.winehq.org/attachment.cgi?id=42132 Log: +msxml,+tid trace
http://bugs.winehq.org/show_bug.cgi?id=31977
--- Comment #5 from Qian Hong fracting@gmail.com 2012-10-15 03:00:16 CDT --- Correct: +heap,+tid,+msxml log does contain msxml trace, just need to wait long enough, about 30min for me.
It is still too large after compress (>1MB), please download the log here: http://study-codes-by-fracting.googlecode.com/files/yodaodict-crash-heap-msx...
Update: native msxml3/msxml4/msxml6 doesn't help.
http://bugs.winehq.org/show_bug.cgi?id=31977
--- Comment #6 from Qian Hong fracting@gmail.com 2012-10-15 03:04:34 CDT --- (In reply to comment #2)
This is a regression, right? I remember testing this application for other but not so long ago.
Great, it is a regression :) I tested with wine1.4 and this application works. Will do a biscet. Thanks a lot!
http://bugs.winehq.org/show_bug.cgi?id=31977
--- Comment #7 from Qian Hong fracting@gmail.com 2012-10-15 05:11:46 CDT --- d53bdeca62b42b881347f7faf58932377635b3ed is the first bad commit commit d53bdeca62b42b881347f7faf58932377635b3ed Author: Jacek Caban jacek@codeweavers.com Date: Fri Apr 27 17:34:28 2012 +0200
oleaut32: Added BSTR cache implementation.
:040000 040000 a2d8f8ee116156aa0cddb931c2b9397a626b50d0 764d610796879f55dc94fcb40390bef843f9099e Mdlls
`winetricks -q vcrun6sp6` + native oleaut32 works around the crash.
http://bugs.winehq.org/show_bug.cgi?id=31977
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |d53bdeca62b42b881347f7faf58 | |932377635b3ed
http://bugs.winehq.org/show_bug.cgi?id=31977
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com
http://bugs.winehq.org/show_bug.cgi?id=31977
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com 2012-10-15 05:27:58 CDT --- It's possible to disable BSTR cache by setting OANOCACHE environment variable. Could you try that?
http://bugs.winehq.org/show_bug.cgi?id=31977
--- Comment #9 from Qian Hong fracting@gmail.com 2012-10-15 06:41:22 CDT --- (In reply to comment #8)
It's possible to disable BSTR cache by setting OANOCACHE environment variable. Could you try that?
Thanks for the tips! setting OANOCACHE environment works around.
http://bugs.winehq.org/show_bug.cgi?id=31977
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |28549
http://bugs.winehq.org/show_bug.cgi?id=31977
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=31977
--- Comment #10 from Jacek Caban jacek@codeweavers.com 2013-02-14 04:55:57 CST --- This commit should help: http://source.winehq.org/git/wine.git/commitdiff/ed9d78d2b96dd4c97a6402ff0d3...
Please retest.
http://bugs.winehq.org/show_bug.cgi?id=31977
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |ed9d78d2b96dd4c97a6402ff0d3 | |0ada47a352a6f Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #11 from Qian Hong fracting@gmail.com 2013-02-14 05:10:02 CST --- Fixed, thanks Jacek!
http://bugs.winehq.org/show_bug.cgi?id=31977
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org 2013-02-15 14:31:29 CST --- Closing bugs fixed in 1.5.24.
https://bugs.winehq.org/show_bug.cgi?id=31977
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |oleaut32