[Bug 33404] New: CAJViewer 7.2 crashes while open a file
http://bugs.winehq.org/show_bug.cgi?id=33404 Bug #: 33404 Summary: CAJViewer 7.2 crashes while open a file Product: Wine Version: 1.5.28 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: fangendoucg(a)gmail.com Classification: Unclassified Created attachment 44200 --> http://bugs.winehq.org/attachment.cgi?id=44200 terminal output Hi, folks This software is a document viewer. It's free. The download URL has been uploaded. 0. There is a problem on the display of Chinese font. 1. then install it. Just click on (N) to go next; 2. cd to its directory, run it: $wine CAJVieweru.exe ; 3. Click File(F)->Open(O) to open a *.nh file, (Well, the .nh file isn't free to get, here is the home page http://oversea.cnki.net/kns55/default.aspx.) when the file is opening, a messagebox displays with the title which means Fatal Error. Here is its contents: ---snip--- Windows: 5.1.2600, SP 3.0, Product Type 1 Process: C:\Program Files\TTKN\CAJViewer 7.2\CAJVieweru.exe Date Modified: 03/27/2013 Version: 7.2.109.0 Exception Addr: 28054940 Exception Code: C0000005 Read Address: 00000000 Instruction: 8B 01 FF 50 24 0F BF 43 1C 89 45 FC 8B 86 EC 00 Registers: EAX: 00ABA5B8 EBX: 00ABA600 ECX: 00000000 EDX: 0000006A ESI: 00A65588 EDI: 00001C20 ESP: 0032A4E0 EBP: 0032A508 EIP: 28054940 EFlags: 00010202 Call Stack: 28054940 28057E11 28048DF0 28047E3E 2804AFA9 280301FB 00454EB5 0046320D 7C280711 7C27F326 0046468F 7C27F3C5 7C27EC47 7C27EBF5 7E9E086A 7E9E0F2C 7E9E3635 7E9A42C2 7C283587 ---snip--- While click on OK(O), it crashes. Ready to provide more information. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=33404 fangendou <fangendoucg(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://viewer.d.cnki.net/CA | |JViewer%207.2.self.exe -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=33404 --- Comment #1 from Austin English <austinenglish(a)gmail.com> 2013-04-17 11:54:57 CDT --- Does 'winetricks -q ie7' help? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=33404 lizhenbo <litimetal(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |litimetal(a)gmail.com --- Comment #2 from lizhenbo <litimetal(a)gmail.com> 2013-04-17 19:06:02 CDT --- I tried your bug. During the installation, the installer reported that MDAC(Microsoft Data Access Components) is needed, did you face that problem? winetricks ie7 can't workaround it. In the terminal output, I found that --sinp-- err:msxml:doparse Start tag expected, '<' not found ----- But I tried them seperately $winetricks msxml3 $winetricks msxml4 Neither of them can workaround it. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=33404 --- Comment #3 from fangendou <fangendoucg(a)gmail.com> 2013-04-17 21:57:27 CDT --- (In reply to comment #2)
I tried your bug. During the installation, the installer reported that MDAC(Microsoft Data Access Components) is needed, did you face that problem? Yeah, I installed mdac2.8 through winetricks at first. But it seems no effect.
-- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=33404 --- Comment #4 from fangendou <fangendoucg(a)gmail.com> 2013-04-18 04:42:55 CDT --- (In reply to comment #1)
Does 'winetricks -q ie7' help?
nothing changed, no help. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=33404 Jactry Zeng <jactry92(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jactry92(a)gmail.com --- Comment #5 from Jactry Zeng <jactry92(a)gmail.com> 2013-04-19 07:56:12 CDT --- Hi fangendou, It has nothing to do with this bug, but I find this line in your log: err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution. You can install or update ntlm_auth to eliminate this error. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=33404 --- Comment #6 from fangendou <fangendoucg(a)gmail.com> 2013-04-19 09:10:54 CDT --- (In reply to comment #5)
Hi fangendou,
It has nothing to do with this bug, but I find this line in your log:
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
You can install or update ntlm_auth to eliminate this error.
Hi, Thanks. I just installed ntlm_auth and that err disappeared. The bug still there. A new terminal log will be attached. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=33404 --- Comment #7 from fangendou <fangendoucg(a)gmail.com> 2013-04-19 09:13:21 CDT --- Created attachment 44217 --> http://bugs.winehq.org/attachment.cgi?id=44217 New terminal output -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=33404 --- Comment #8 from lizhenbo <litimetal(a)gmail.com> --- sha1sum: 368aef3fac114fa1d266665f438c07e6cd86bacf CAJViewer 7.2.self.exe I can't meet this problem in wine-1.7.11-237-g00aeadc Maybe it has been fixed? Could you please test it again? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=33404 --- Comment #9 from fangendou <fangendoucg(a)gmail.com> --- (In reply to lizhenbo from comment #8)
sha1sum: 368aef3fac114fa1d266665f438c07e6cd86bacf CAJViewer 7.2.self.exe
I can't meet this problem in wine-1.7.11-237-g00aeadc Maybe it has been fixed?
Could you please test it again?
while I tried to test it in wine-1.7.13, the software itself can't run normally.There are two messageboxes after *$ wine CAJVieweru.exe*. See the attachments. p.s. I've installed msxml3, msxml4, vcrun2005 and vcrun2008 in winetricks. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=33404 --- Comment #10 from fangendou <fangendoucg(a)gmail.com> --- Created attachment 47654 --> http://bugs.winehq.org/attachment.cgi?id=47654 messagebox1 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=33404 --- Comment #11 from fangendou <fangendoucg(a)gmail.com> --- Created attachment 47655 --> http://bugs.winehq.org/attachment.cgi?id=47655 messagebox2 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=33404 --- Comment #12 from lizhenbo <litimetal(a)gmail.com> --- (In reply to fangendou from comment #9)
(In reply to lizhenbo from comment #8)
sha1sum: 368aef3fac114fa1d266665f438c07e6cd86bacf CAJViewer 7.2.self.exe
I can't meet this problem in wine-1.7.11-237-g00aeadc Maybe it has been fixed?
Could you please test it again?
while I tried to test it in wine-1.7.13, the software itself can't run normally.There are two messageboxes after *$ wine CAJVieweru.exe*. See the attachments. p.s. I've installed msxml3, msxml4, vcrun2005 and vcrun2008 in winetricks.
Could you please retest it with a clean wine-prefix? mv ~/.wine ~/wine-bak Thank you. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=33404 --- Comment #13 from fangendou <fangendoucg(a)gmail.com> --- Hi lizhenbo, I did like what you said #12, same problem. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=33404 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man(a)post.com --- Comment #14 from super_man(a)post.com --- This needs winetricks -q msxml3 before starting. And I assume mdac28. I installed that beforehand as it was mentioned. How exactly to get these .nh files? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=33404 Simon Rettberg <simon.rettberg(a)rz.uni-freiburg.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |simon.rettberg(a)rz.uni-freib | |urg.de --- Comment #15 from Simon Rettberg <simon.rettberg(a)rz.uni-freiburg.de> --- I ran into the same crash on some documents. About 30% of the .caj files I have crash CAJViewer, the rest works fine. Here's a quick workaround for anyone interested. This fixes the one problem mentioned by fangendou in the original posting where CAJViewer crashes and displays the exception in its own window, showing a minidump. We're pulling a very dirty trick here by just patching out the instructions leading to the crash. If you see it shows this part in the error message: Instruction: 8B 01 FF 50 24 0F BF ** ** ** ** ** **... then this trick is for you, otherwise this has nothing to do with your problem. Open the ReaderEx.dll from CAJViewer's directory in a hex editor (eg. hexedit for terminal) and search for the bytes 8b01ff50240fbf (press / in hexedit). There should be exactly one match in the file. Then replace the first 5 bytes of the match by 90, so it looks like 90909090900fbf. Save the file (Ctrl-X in hexedit) and run CAJVieweru.exe. The problem should be gone. Please be aware that this is a workaround that only works by pure chance. What this actually does is replace a few instructions in the machine code with NO-OPs, essentially wiping out what appears to be a method call on some object that happens to be a null pointer in those cases where it crashed. I have no idea what this function call is supposed to do. Keep this in mind in case you encounter something else is now broken that might have worked before. I'm only interested in reading some *.caj files which is working fine now, no side effects noticed so far. Tested with CAJViewer 7.2.0 Build 103 wine-1.8.7 (Ubuntu 1.8.7-1ubuntu1) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=33404 Hin-Tak Leung <htl10(a)users.sourceforge.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |htl10(a)users.sourceforge.net --- Comment #16 from Hin-Tak Leung <htl10(a)users.sourceforge.net> --- The crash "word around" is horrible(!). My observation is that the crash seems to be caused by tooltips / transparencies in menu's, and so is dependent on mouse position. There is also a CAJHost process running in the background, which doesn't help. using wine 5.22 . -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=33404 --- Comment #17 from Hin-Tak Leung <htl10(a)users.sourceforge.net> --- It can crash without even trying to open a file - e.g. you can select one of the menu->help->version(?), for example, just hoping to get version information about the viewer. There are two ways of opening files, from the menu->open, or using one of the button icons a little below the top right. Using the button icon to open files does not crash; hence my point. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=33404 --- Comment #18 from Simon Rettberg <simon.rettberg(a)rz.uni-freiburg.de> --- Well, the work around *worked*, so I don't see why it's horrible. Anyways, why are you trying to run CAJViewer for Windows on Wine in 2020, when there's been a native, official Linux version available for some time now? Works flawlessly for me. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=33404 --- Comment #19 from Hin-Tak Leung <htl10(a)users.sourceforge.net> --- The functionality of the linux version is quite limited - for example, text extraction does not work; nor printing to more than one pages. Anyway, as I wrote, the crash is not caused by or specific to file opening, but by how you open it (via menu->open, or via the button icon). Besides, I am sure specific aspect of poorly engineered windows software is not limited to just CAJViewer. The menu->open issue looks a lot like another crash from another unrelated software, which can be work-around by using genuine Microsoft gdiplus.dll (not in this case) - that certainly suggested that it was screen-drawing / tooltips-overlay related. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla