[Bug 32000] ANSYS 14.0 tools crash on startup (missing system message text for 'WSAECONNRESET', error code 10054)
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Jun 13 16:52:41 CDT 2014
https://bugs.winehq.org/show_bug.cgi?id=32000
Anastasius Focht <focht at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
CC| |focht at 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 at 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 at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAEAAV01 at 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%29.aspx
--- quote ---
WSAECONNRESET
10054 (0x2746)
An existing connection was forcibly closed by the remote host.
--- quote ---
$ wine --version
wine-1.7.20
Regards
--
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.
More information about the wine-bugs
mailing list