http://bugs.winehq.org/show_bug.cgi?id=32000
Bug #: 32000 Summary: I CAN NOT EXECUTE APDL ANSYS. Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: juanset.19@gmail.com Classification: Unclassified
Created attachment 42182 --> http://bugs.winehq.org/attachment.cgi?id=42182 ERROR THAT DOES NOT LET ME EXECUTE ANSYS
I TRY TO EXECUTE APDL ANSYS LAUNCHER O WHATEVER FROM ANSYS AND IT SHOWS ME SOME ERROR THAT I DO NOT UNDERSTAND. I NEED SOME HELP FOR UNDERSTANDING THE ERROR.
http://bugs.winehq.org/show_bug.cgi?id=32000
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.4
--- Comment #1 from Rosanne DiMesio dimesio@earthlink.net 2012-10-18 09:28:41 CDT --- Typing is ALL CAPS is the equivalent of shouting. Please don't do that.
Wine build: wine-1.4
Your Wine version is old; please retest in 1.5.15 or later.
Does this app have a downloadable demo?
http://bugs.winehq.org/show_bug.cgi?id=32000
--- Comment #2 from Dan Kegel dank@kegel.com 2012-10-18 09:38:51 CDT --- The key parts of your crash log are:
... Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x7855b9f0). ... =>0 0x7855b9f0 in msvcr90 (+0x3b9f0) (0x0033bed0) ... 00000028 (D) C:\Program Files\ANSYS Inc\v140\commonfiles\Tcl\bin\intel\wish.exe ... Wine build: wine-1.4
Ansys v14.0 has a Linux version; you should use that if you can.
wine-1.4 is a bit long in the tooth; try wine-1.5.15 or so.
If wine-1.5.15 still crashes, a console log might help; see http://wiki.winehq.org/FAQ#get_log
'winetricks vcrun2008' might work around the problem; let us know if it does. See http://winetricks.org
Finally, thank you for reporting the problem; please reply here with any further information about the bug. But if you need help, please ask the support forum at http://forum.winehq.org
And please don't shout.
http://bugs.winehq.org/show_bug.cgi?id=32000
--- Comment #3 from Austin English austinenglish@gmail.com 2012-10-18 12:50:08 CDT --- (In reply to comment #2)
'winetricks vcrun2008' might work around the problem; let us know if it does. See http://winetricks.org
Native msvcr90/msvcp90 are already being used.
https://bugs.winehq.org/show_bug.cgi?id=32000
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |focht@gmx.net Component|-unknown |kernel32 Summary|I CAN NOT EXECUTE APDL |ANSYS 14.0 tools crash on |ANSYS. |startup (missing system | |message text for | |'WSAECONNRESET', error code | |10054) Ever confirmed|0 |1
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
Prerequisite: 'winetricks -q dotnet35sp1' in clean 32-bit WINEPREFIX.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/ANSYS Inc/v140
$ WINEDEBUG=+tid,+seh,+relay,+msvcrt wine "C:\Program Files\ANSYS Inc\v140\CommonFiles\TCL\bin\intel\wish.exe" "C:\Program Files\ANSYS Inc\v140\CommonFiles\launcher\LauncherMain.itcl" -runae >>log.txt 2>&1 ... 0023:Call msvcr90._dupenv_s(0033c48c,0033c488,00b580b8 "ANSYSLI_TIMEOUT_TCP") ret=007cd20b 0023:Ret msvcr90._dupenv_s() retval=00000016 ret=007cd20b ... 0023:Call ws2_32.WSAGetLastError() ret=00767c95 0023:Ret ws2_32.WSAGetLastError() retval=00002746 ret=00767c95 0023:Call KERNEL32.GetLastError() ret=00767cd5 0023:Ret KERNEL32.GetLastError() retval=00002746 ret=00767cd5 0023:Call KERNEL32.FormatMessageA(00001300,00000000,00002746,00000400,0033c660,00000000,00000000) ret=00767cf6 0023:Ret KERNEL32.FormatMessageA() retval=00000000 ret=00767cf6 0023:Call msvcp90.??4?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV01@PBD@Z(0033c63c,00000000) ret=00767d03 0023:Call msvcr90.strlen(00000000) ret=7d93bb02 0023:trace:seh:raise_exception code=c0000005 flags=0 addr=0xf73f5fc6 ip=f73f5fc6 tid=0023 0023:trace:seh:raise_exception info[0]=00000000 0023:trace:seh:raise_exception info[1]=00000000 0023:trace:seh:raise_exception eax=00000000 ebx=7eaac000 ecx=00000000 edx=00000004 esi=0033c5c4 edi=00000000 0023:trace:seh:raise_exception ebp=0033c588 esp=0033c564 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00210283 0023:trace:seh:call_stack_handlers calling handler at 0x86ce13 code=c0000005 flags=0 0023:trace:seh:call_stack_handlers handler at 0x86ce13 returned 1 ... Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0xf73f5fc6). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:f73f5fc6 ESP:0033c564 EBP:0033c588 EFLAGS:00210283( R- -- I S - - -C) EAX:00000000 EBX:7eaac000 ECX:00000000 EDX:00000004 ESI:0033c5c4 EDI:00000000 ... Backtrace: =>0 0xf73f5fc6 __strlen_sse2_bsf+0x16() in libc.so.6 (0x0033c588) 1 0x7ea70618 MSVCRT_strlen+0x1f(str=0x0(nil)) [/home/focht/projects/wine/wine.repo/src/dlls/msvcr90/../msvcrt/string.c:795] in msvcr90 (0x0033c588) 2 0x7bc6e52a relay_call+0x39() in ntdll (0x0033c5a8) 3 0x7ea25961 in msvcr90 (+0x15960) (0x0033c5d8) 4 0x7d93bb02 MSVCP_char_traits_char_length+0x1c(str=0x0(nil)) [/home/focht/projects/wine/wine.repo/src/dlls/msvcp90/string.c:77] in msvcp90 (0x0033c5d8) 5 0x7d93cd4d MSVCP_basic_string_char_assign_cstr+0x1c(this=0x33c63c, str=0x0(nil)) [/home/focht/projects/wine/wine.repo/src/dlls/msvcp90/string.c:728] in msvcp90 (0x0033c5f8) 6 0x7bc6e52a relay_call+0x39() in ntdll (0x0033c614) 7 0x7d8e7dec in msvcp90 (+0x17deb) (0x0033c670) 8 0x00767d03 in ansinfo (+0x37d02) (0x0033c670) 9 0x007d27e1 in ansinfo (+0xa27e0) (0x0033c928) ... 0xf73f5fc6 __strlen_sse2_bsf+0x16 in libc.so.6: repe movq 0x0(%edi),%mm1 Modules: Module Address Debug info Name (87 modules) PE 340000- 35c000 Export itcl32 PE 360000- 3d3000 Deferred tdom0.7 PE 3e0000- 3ee000 Deferred itk32 PE 400000- 407000 Deferred wish PE 730000- 8ff000 Export ansinfo PE 10000000-100c3000 Export tcl84 PE 10210000-10217000 Deferred tclreg83 PE 10220000-10322000 Deferred tk84 ... Threads: process tid prio (all id:s are in hex) ... 00000022 (D) C:\Program Files\ANSYS Inc\v140\CommonFiles\TCL\bin\intel\wish.exe 00000024 2 00000023 0 <== --- snip ---
The 'WSAECONNRESET' system message text retrieval fails and the app doesn't handle this well.
Your old backtrace also hints at this, value 0x2746 can be see in stack dump:
--- snip --- Stack dump: 0x0033bec4: 78486438 00000000 00000001 0033bf18 0x0033bed4: 006e7d03 00000000 3a862486 00000000 0x0033bee4: 00000301 00a93100 752d6e00 00780073 0x0033bef4: 00000000 00000000 0000000f 3a862486 0x0033bf04: 00002746 00000000 0033c1c4 007ece13 0x0033bf14: 00000001 0033c1d0 007527e1 0033c154 --- snip ---
Source: http://source.winehq.org/git/wine.git/blob/HEAD:/dlls/kernel32/winerror.mc
MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/ms681391%28v=vs.85%2...
--- quote --- WSAECONNRESET
10054 (0x2746)
An existing connection was forcibly closed by the remote host. --- quote ---
$ wine --version wine-1.7.20
Regards
https://bugs.winehq.org/show_bug.cgi?id=32000
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- I'll send a patch.
https://bugs.winehq.org/show_bug.cgi?id=32000
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |50ad765cd604630214d87f9e696 | |d7da216c0f814 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit http://source.winehq.org/git/wine.git/commitdiff/50ad765cd604630214d87f9e696...
Thanks Nikolay
Regards
https://bugs.winehq.org/show_bug.cgi?id=32000
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.21.