http://bugs.winehq.org/show_bug.cgi?id=36766
Bug ID: 36766 Summary: Jane Doe View endlessly reports an error Product: Wine Version: 1.7.18 Hardware: x86-64 URL: http://www.geocities.jp/jview2000/DoeView140615.zip OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: jscript Assignee: wine-bugs@winehq.org Reporter: sagawa.aki+winebugs@gmail.com
Jane Doe View[1] is one of the Jane style 2channel browser. When script processing enabled, it repeats showing following error message: OLE エラー 80004001 [006B003D][004B1BD2]. (In English, OLE Error 80004001)
[1] ... http://www.geocities.jp/jview2000/
How to reproduce: 1. Unzip DoeView140615.zip (sha1:dbb340a8e322cc9d5728b576e3701b236e42d29c) 2. change working directory where Jane2ch.exe exists. 3. Move (or copy) Options/Scripts directory to the working directory. 4. Run LANG=ja_JP.UTF-8 wine Jane2ch.exe 5. After an initialization, the above message is shown.
This issue was originally reported by an anonymous at 2ch.net.
http://bugs.winehq.org/show_bug.cgi?id=36766
--- Comment #1 from Sagawa sagawa.aki+winebugs@gmail.com --- Created attachment 48826 --> http://bugs.winehq.org/attachment.cgi?id=48826 proposed patch
I can confirm the issue. And improving JScript_CollectGarbage stub, the issue has gone (8004001 = E_NOTIMPL).
https://bugs.winehq.org/show_bug.cgi?id=36766
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, patch
https://bugs.winehq.org/show_bug.cgi?id=36766
--- Comment #2 from Sagawa sagawa.aki+winebugs@gmail.com --- I wrote incorrect function name. It's JSGlobal_CollectGarbage.
https://bugs.winehq.org/show_bug.cgi?id=36766
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
I can't reproduce this (copied the folder contents as described). There was an initial message box on startup which I confirmed with 'yes'.
How do you enable script processing? Please exactly describe how to change that setting.
$ sha1sum DoeView140615.zip dbb340a8e322cc9d5728b576e3701b236e42d29c DoeView140615.zip
$ du -sh DoeView140615.zip 3.3M DoeView140615.zip
$ wine --version wine-1.7.20-102-g889cce4
Regards
https://bugs.winehq.org/show_bug.cgi?id=36766
--- Comment #4 from Sagawa sagawa.aki+winebugs@gmail.com --- Hi Anastasius, Could you try with the following steps? I wrote a wrong folder name in step 3. Sorry for bothering you.
1. Unzip DoeView140615.zip (sha1:dbb340a8e322cc9d5728b576e3701b236e42d29c) 2. Change working directory where Jane2ch.exe exists. 3. Move Option/Script folder to the current directory. i.e. % mv Option/Script ./ 4. Run LANG=ja_JP.UTF-8 wine Jane2ch.exe 5. After an initialization, OLE error message is shown. (Script processing is enabled at this point.)
Actually, Script/ScriptIndex.txt is a list of effective script files, but enclosed file (Option/Script/ScriptIndex.txt) is useful enough to reproduce the issue.
Thanks in advance.
https://bugs.winehq.org/show_bug.cgi?id=36766
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|Jane Doe View endlessly |Jane Doe View build 140615 |reports an error |endlessly reports 'OLE | |Error 80004001' | |(JSGlobal_CollectGarbage | |stub returns E_NOTIMPL) Ever confirmed|0 |1
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello Akihiro,
confirming.
--- snip --- $ WINEDEBUG=+tid,+seh,+relay,+jscript,+ole,+variant LANG=ja_JP.UTF-8 wine Jane2ch.exe >>log.txt 2>&1 ... 0023:trace:jscript:DispatchEx_GetIDsOfNames (0x1fc628)->({00000000-0000-0000-0000-000000000000} 0x33fbb4 1 1041 0x33fbfc) 0023:trace:jscript:DispatchEx_GetDispID (0x1fc628)->(L"CollectGarbage" 0 0x33fbfc) ... 0023:trace:jscript:DispatchEx_Invoke (0x1fc628)->(7 {00000000-0000-0000-0000-000000000000} 0 1 0x33fbb0 (nil) 0x33fb90 (nil)) 0023:trace:jscript:DispatchEx_InvokeEx (0x1fc628)->(7 0 1 0x33fbb0 (nil) 0x33fb90 (nil)) ... 0023:Call oleaut32.VariantCopy(0270d948,0033f590) ret=f36eb41d 0023:trace:variant:VariantCopy (0x270d948 {VT_EMPTY},0x33f590 {VT_ERROR: 80020004}) 0023:trace:variant:VariantClear (0x270d948 {VT_EMPTY}) 0023:Ret oleaut32.VariantCopy() retval=00000000 ret=f36eb41d 0023:trace:jscript:get_this no this passed 0023:fixme:jscript:JSGlobal_CollectGarbage 0023:Call KERNEL32.FormatMessageA(00003200,00000000,80004001,00000000,0033f3d8,00000100,00000000) ret=0041218b 0023:Ret KERNEL32.FormatMessageA() retval=00000000 ret=0041218b 0023:Call user32.LoadStringA(00400000,0000fea3,0033e4dc,00001000) ret=004073db 0023:Ret user32.LoadStringA() retval=0000000f ret=004073db 0023:Call KERNEL32.RaiseException(0eedfade,00000001,00000007,0033f51c) ret=004b1bd2 0023:trace:seh:raise_exception code=eedfade flags=1 addr=0x7b83adb7 ip=7b83adb7 tid=0023 0023:trace:seh:raise_exception info[0]=004b1bd2 0023:trace:seh:raise_exception info[1]=025a08d8 0023:trace:seh:raise_exception info[2]=0033fb90 0023:trace:seh:raise_exception info[3]=025a08d8 0023:trace:seh:raise_exception info[4]=00000001 0023:trace:seh:raise_exception info[5]=0033f55c 0023:trace:seh:raise_exception info[6]=0033f538 0023:trace:seh:raise_exception eax=7b826cd5 ebx=7b8bb000 ecx=004b1bd2 edx=0033f474 esi=0033f51c edi=0033f4e0 0023:trace:seh:raise_exception ebp=0033f4b8 esp=0033f454 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000283 0023:trace:seh:call_stack_handlers calling handler at 0x4b1bed code=eedfade flags=1 ... 0023:Call user32.MessageBoxA(0001008e,00f41fc8 "OLE \x83G\x83\x89\x81[ 80004001 [006B003D][004B1BD2].\r\n\r\n\x83G\x83\x89\x81[\x83\x81\x83b\x83Z\x81[\x83W\x82\xf0\x83N\x83\x8a\x83b\x83v\x83{\x81[\x83h\x82\xc9\x83R\x83s\x81[\x82\xb5\x82\xdc\x82\xb7\x82\xa9?",025a09a0 "Jane",00000014) ret=004934a3 --- snip ---
Source: http://source.winehq.org/git/wine.git/blob/HEAD:/dlls/jscript/global.c#l753
Debugger:
--- snip --- Wine-dbg>bt
Backtrace: =>0 0xf2516b24 JSGlobal_CollectGarbage(ctx=0x1c0c70, jsthis=0x33f384, flags=0x1d16, argc=0x1, argv=0x33f410, r=(nil)) [/home/focht/projects/wine/wine.repo/src/dlls/jscript/global.c:755] in jscript (0x0033f3c8) 1 0xf2505326 DispatchEx_InvokeEx+0x284(iface=0x1c4428, id=0x7, lcid=0, wFlags=0x1, pdp=0x33fbb0, pvarRes=(nil), pei=0x33fb90, pspCaller=(nil)) [/home/focht/projects/wine/wine.repo/src/dlls/jscript/dispex.c:692] in jscript (0x0033f4a8) 2 0xf2504f6b DispatchEx_Invoke+0x13a(iface=<couldn't compute location>, dispIdMember=<couldn't compute location>, riid=<couldn't compute location>, lcid=<couldn't compute location>, wFlags=0x1, pDispParams=<couldn't compute location>, pVarResult=<couldn't compute location>, pExcepInfo=<couldn't compute location>, puArgErr=<couldn't compute location>) [/home/focht/projects/wine/wine.repo/build-x86/dlls/jscript/../../include/dispex.h:299] in jscript (0x0033f538) 3 0x004b18cd in jane2ch (+0xb18cc) (0x0033fbe4) 4 0x004b1b22 in jane2ch (+0xb1b21) (0x0033fd00) 5 0x00418e44 in jane2ch (+0x18e43) (0x0033fd44) 6 0x0074304c in jane2ch (+0x34304b) (0x0033fd74) 7 0x00740635 in jane2ch (+0x340634) (0x0033fda4) 8 0x006b003d in jane2ch (+0x2b003c) (0x0033fdcc) 9 0x004947b4 in jane2ch (+0x947b3) (0x0033fe08) 10 0x00767726 in jane2ch (+0x367725) (0x0033fe20) 11 0x7b8643b0 call_process_entry+0xb() in kernel32 (0x0033fe38) ... --- snip ---
Is step 3 (moving of 'Script' folder) also needed for running this app on Windows?
Regards
https://bugs.winehq.org/show_bug.cgi?id=36766
--- Comment #6 from Sagawa sagawa.aki+winebugs@gmail.com --- Hi Anastasius, Script processing is significant feature of this app. So, by putting script files in Script folder (and editing ScriptIndex.txt), most of this app users activate script processing feature on Windows. However, they may use third-party script file on the web instead of samples in Option/Script folder.
https://bugs.winehq.org/show_bug.cgi?id=36766
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #7 from Sagawa sagawa.aki+winebugs@gmail.com --- Thanks Anastasius. The patch was committed: http://source.winehq.org/git/wine.git/commit/e29fd5429234a3e03a58ec146ccfe0b...
https://bugs.winehq.org/show_bug.cgi?id=36766
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e29fd5429234a3e03a58ec146cc | |fe0b9290a0213
https://bugs.winehq.org/show_bug.cgi?id=36766
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.21.