http://bugs.winehq.org/show_bug.cgi?id=9724
Summary: Intellicad - Unhandled exception when saving Product: Wine Version: 0.9.44. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: mikesg@abv.bg
Created an attachment (id=8156) --> (http://bugs.winehq.org/attachment.cgi?id=8156) Console with trace
When trying to save a drawing in 4m - Ingellicad an unhandled exception is thrown. See details below. The console output is attached.
Wine version: wine-0.9.44 OS: Fedora Core 7 GCC version: 4.1.2.20070502 (Red Hat 4.1.2-12) Windows: No windows, just a clean wine install Program: 4M - Intellicad 6 classic. Download demo: http://www.4msa.com/downloads/SetupICADClassic64_E.exe Install: wine SetupICADClassic64_E.exe How to run: I had to copy mfc71.dll,msvcr71.dll and msvcp71.dll from a Win XP SP2 install into drive_c/windows/system32 folder Command line: wine "C:\ICAD6CLASSIC\icad.exe" How to reproduce: Run the program, in welcome dialog click 'Start Evaluation', in program command line type 'line', click two points in black screen and hit Enter or right-click. Try to save (Ctrl+S). Choose a path, could be in drive_c. When a path is selected and save process begins the program crashes.
http://bugs.winehq.org/show_bug.cgi?id=9724
--- Comment #1 from Anastasius Focht focht@gmx.net 2007-09-20 13:43:53 --- Created an attachment (id=8158) --> (http://bugs.winehq.org/attachment.cgi?id=8158) wine x11 lockup during load/save dialog
Hello,
the installer seems to crash too. But thats another problem...
Although that issue could be another bug report i'll include the info here.
-- snip console log --- USB driver installed You must insert the token to complete the process SDI SmartKey Drivers Installation --- snip console log ---
As last setup step it tries to install and run a "EUTRON SmartKey Parallel Driver" -> L"c:\windows\system32\Drivers\eusk2par.sys" This obviously doesn't work due to ntoskrnl.exe shortcomings. It crashes due to unimplemented APIs which hangs the SCM client pipe of the installer. One has to kill the installer to proceed further.
Anyway, the app seems to get installed successfully. Though these guys use hard coded "c:\ICAD6CLASSIC" install path. Someone has to teach them about windows installation guidelines.
Following native dlls are required (copy them into "c:\ICAD6CLASSIC" so they don't pollute SYSTEM32):
msvcp71.dll msvcr71.dll mfc42.dll
Again, they should merge VC++ 7.1 (2003) runtime into installer to prevent such problems (mfc42.dll is default on windows installations, while C runtime v7.1 not)
===
I'm not sure if I see the same problem as you.
Using the load/save dialogs I experience a much severe problem on recent git tree. Complete x11/gdi lockup of application.
Not only this app is affected, I see lockups in all sorts of other gui apps too, but this one is almost reproducable in an instant: click load/save toolbar button and you might see dialog popping up before complete freeze.
I smell a nasty x11/gdi regression.
The infamous message:
--- snip --- err:ntdll:RtlpWaitForCriticalSection section 0x6177fea0 "xrender.c: xrender_cs" wait timed out in thread 0015, blocked by 0028, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x61135aa0 "gdiobj.c: GDI_level" wait timed out in thread 0028, blocked by 0015, retrying (60 sec) --- snip ---
Attached is debugger backtrace after CTRL+C.
$ wine --version wine-0.9.45-217-g088e27c
Regards
http://bugs.winehq.org/show_bug.cgi?id=9724
Mike mikesg@abv.bg changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mikesg@abv.bg
--- Comment #2 from Mike mikesg@abv.bg 2007-09-24 04:05:18 --- It seems I lack the technical background to completely understand the situation. Does the explanation mean that the problem is caused by the software I am trying to run and is outside WINE? Or there is something that needs to be changed in WINE? Or both sides? Will I have to contact the company and try to explain the problem and if so what technical description should I provide to them?
Is there a workaround? E.g. adding some different libraries/dlls? I have a problem which is apparently the same (crash at save) with a different application of the same family - AXCAD whoes install asks for a target install folder and the only DLL to add was msvcirt.dll. Trial is available at http://www.axcad.com/download/axcad.exe
Thanks for your time and patience
http://bugs.winehq.org/show_bug.cgi?id=9724
--- Comment #3 from Mike mikesg@abv.bg 2007-10-10 07:35:54 --- The problem is reproduced with Fedora 7.92 and wine-0.9.46. Can somebody suggest a workaround?
Mike
http://bugs.winehq.org/show_bug.cgi?id=9724
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com Keywords| |download
--- Comment #4 from Dan Kegel dank@kegel.com 2007-10-10 10:47:05 --- That hang, the one with err:ntdll:RtlpWaitForCriticalSection section 0x7de40760 "x11drv_main.c: X11DRV_CritSection" wait timed out in thread 0009, blocked by 0019, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x7e7e5aa0 "gdiobj.c: GDI_level" wait timed out in thread 0019, blocked by 0009, retrying (60 sec) seemed to affect even dcom98's installer for me, but it is now gone as of this morning's git, wine-0.9.46-g54a4717.
Now axcad on File/Save gets to the Save dialog box before it hangs, there seems to be a c++ exception.
Should we start a new bug report for axcad?
http://bugs.winehq.org/show_bug.cgi?id=9724
--- Comment #5 from Mike mikesg@abv.bg 2007-10-11 02:16:10 --- I tried with the latest version from git (wine-0.9.46-261-ga76d10d) but I still have the C++ exception that can be seen in the first attached trace. In fact it is this exception that made me file an issue, the hang was later discovered by Anastasius Focht, but I have never experienced it. About axcad - I guess it is the same issue, because I have tried several products of the Intellicad family (cadopia, axcad, 4m) and all of them cause the same exception upon save, so IMO there is no need to file a separate issue.
http://bugs.winehq.org/show_bug.cgi?id=9724
--- Comment #6 from Mike mikesg@abv.bg 2008-02-07 09:24:39 --- Seems to be fixed in version 0.9.54. Did not work with 0.9.48, but I am not sure about the exact version that fixed the issue between these two versions.
http://bugs.winehq.org/show_bug.cgi?id=9724
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #7 from Dan Kegel dank@kegel.com 2008-02-07 10:07:19 --- OK, marking fixed, reopen if there's still trouble.
http://bugs.winehq.org/show_bug.cgi?id=9724
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Dan Kegel dank@kegel.com 2008-02-12 00:06:48 --- All bugs in state FIXED should be closed each time we do a release to mark the fact that the fix is now released. If the bug is somehow not really fixed, the individual bug should be reopened.
http://bugs.winehq.org/show_bug.cgi?id=9724
Mike mikesg@abv.bg changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|FIXED |
--- Comment #9 from Mike mikesg@abv.bg 2008-02-24 05:53:05 --- Generally things are improved, but still having troubles (4m-Intellicad is my test application since it is my main concern).
There are still crashes upon save sometimes, although files with almost same content are saved successfully sometimes, sometimes - not. A trace of such a crash is attached.
Another problem is with the mtext command (a rich text editor is opened) - application freezes. To reproduce this start the app as described for previous problem, type 'mtext' in command line, drag a rectangle on screen and in box that appears type whatever you want (don't worry about black letters on black background) and click 'OK'. All freezes, trace shows these lines: fixme:wintab32:WTOverlap (0xc00, 1): stub fixme:wintab32:WTOverlap (0xc04, 1): stub fixme:wintab32:WTOverlap (0xc08, 1): stub fixme:wintab32:WTOverlap (0xc00, 0): stub fixme:wintab32:WTOverlap (0xc04, 0): stub fixme:wintab32:WTOverlap (0xc08, 0): stub fixme:wintab32:WTOverlap (0xc00, 1): stub fixme:wintab32:WTOverlap (0xc04, 1): stub fixme:wintab32:WTOverlap (0xc08, 1): stub fixme:richedit:RichEditWndProc_common EM_SETTARGETDEVICE: stub fixme:richedit:RichEditWndProc_common EM_SETTARGETDEVICE: stub
http://bugs.winehq.org/show_bug.cgi?id=9724
--- Comment #10 from Mike mikesg@abv.bg 2008-02-24 05:53:50 --- Created an attachment (id=10934) --> (http://bugs.winehq.org/attachment.cgi?id=10934) Crash upon save
http://bugs.winehq.org/show_bug.cgi?id=9724
--- Comment #11 from Lei Zhang thestig@google.com 2008-02-24 12:41:08 --- (In reply to comment #9)
Another problem is with the mtext command (a rich text editor is opened) - application freezes. To reproduce this start the app as described for previous problem, type 'mtext' in command line, drag a rectangle on screen and in box that appears type whatever you want (don't worry about black letters on black background) and click 'OK'. All freezes, trace shows these lines:
One problem per bug please. Can you file a new bug for the rich edit problem?
Did you reopen the bug because of the rich edit problem, or do you feel the original bug was not properly resolved?
http://bugs.winehq.org/show_bug.cgi?id=9724
--- Comment #12 from Mike mikesg@abv.bg 2008-02-24 16:55:36 --- Sorry for violating the rules.
I will file another report for the freezing issue, but I did reopen the bug because of the save crash shown in trace.
Once again - I am sorry and would appreciate if you excuse my eagerness to get this app working. Many thanks for your time and assistance.
Mike
http://bugs.winehq.org/show_bug.cgi?id=9724
--- Comment #13 from Austin English austinenglish@gmail.com 2008-12-01 21:54:38 --- Crashes for me when trying to open a new document.
http://bugs.winehq.org/show_bug.cgi?id=9724
Saulius K. saulius2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |saulius2@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=9724
--- Comment #14 from Rosanne DiMesio dimesio@earthlink.net 2010-07-24 10:07:56 --- Is this still an issue in current (1.2 or later) Wine?
http://bugs.winehq.org/show_bug.cgi?id=9724
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED URL| |http://www.4msa.com/downloa | |d.php?title=4M-IntelliCAD%2 | |06%20Classic&lang=EN&file=S | |etupICADClassic66_E.exe CC| |focht@gmx.net Resolution| |FIXED
--- Comment #15 from Anastasius Focht focht@gmx.net 2010-08-19 15:03:24 --- Hello,
--- quote --- Is this still an issue in current (1.2 or later) Wine? --- quote ---
No, doesn't crash for me. Loaded several of the provided example DWG's and saved some.
http://www.4msa.com/download.php?title=4M-IntelliCAD%206%20Classic&lang=...
$ sha1sum SetupICADClassic66_E.exe 6f110d615b86ab4e34aa87b0007cc49b45a1a516 SetupICADClassic66_E.exe
$ wine --version wine-1.3.0-449-g703ab02
Though there is a (non critical) problem now that Wine ships its own msvcr71.dll:
--- snip --- wine: Call from 0x7b835b22 to unimplemented function msvcr71.dll._CRT_RTC_INIT, aborting --- snip ---
You can file a new bug for that.
Regards
http://bugs.winehq.org/show_bug.cgi?id=9724
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Alexandre Julliard julliard@winehq.org 2010-08-20 12:37:39 --- Closing bugs fixed in 1.3.1.