First time here? Check out the FAQ!
1

Crashes when connecting to MAYA2020

To debug in Python with MAYA2020 import wingdbstub wingdbstub.Ensure() When I try to connect to WinIDE with MAYA2020 does not crash on WingIDE 6.1, but MAYA2020 crashes on WingPro 7.2 and WingPro 8.

anonymous user
Anonymous
asked 2022-04-28 02:25:17 -0500
Wingware Support's avatar
4.1k
Wingware Support
updated 2022-06-30 06:54:04 -0500
edit flag offensive 0 remove flag close merge delete

Comments

Are you able to generate a debug log file by setting kLogFile in wingdbstub.py to a filename? If so, please send a log from a connection attempt to support@wingware.com. Note that wingdbstub.py files are specific to the version of Wing used, so make sure the one for Wing 8 is used when trying to connect to Wing 8 (and likewise for Wing 6 & Wing 7).

Wingware Support's avatar Wingware Support (2022-04-28 09:38:16 -0500) edit
add a comment see more comments

2 Answers

0

There's a fix going into Wing 8.3.1 (to be released soon) that might fix this. Please let us know if the problem still exists there.

Wingware Support's avatar
4.1k
Wingware Support
answered 2022-05-05 12:31:08 -0500
edit flag offensive 0 remove flag delete link

Comments

I have checked the operation with MAYA2020.4 and WingPro 8.3.1.1. MAYA2020.4 crashes

fuminari-aoto's avatar fuminari-aoto (2022-05-08 20:05:53 -0500) edit

Thanks very much for checking this.

Wingware Support's avatar Wingware Support (2022-05-09 09:09:47 -0500) edit

Could you try to generate a debug log file as described in the comment above? Even if no file ends up being generated, the fact that it should have generated a log file but failed will be useful information.

Wingware Support's avatar Wingware Support (2022-05-09 09:24:01 -0500) edit

I emailed you the log file.

fuminari-aoto's avatar fuminari-aoto (2022-05-09 21:19:09 -0500) edit

Current state of this: The crash seemed to be in Python's hashlib. The only place we call that from on the debug side is in computing file checksums to help identify files if the debug-side and IDE-side location for the file is not the same. There's a change going into 8.3.2+ that avoids computing checksums if the Debugger > Network > Use Digests to Identify Files preference is unchecked. Before 8.3.2 those were always being computed but not always used. Now they are also not computed when the pref is disabled, which may solve the Maya 2020 crash. Release of 8.3.2 is still a week or more away, though.

Wingware Support's avatar Wingware Support (2022-06-08 09:44:36 -0500) edit
add a comment see more comments
0

Maya 2020 uses an old version of OpenSSL that leads to crashing on 10th (Ice Lake), 11th (Rocket Lake) or 12th (Alder Lake) generation Intel CPUs. The problem occurs when import wingdbstub is reached, crashing Maya completely.

There are two ways to work around this problem:

1) Make sure you have Wing 8.3.2 or later. Then uncheck the Debugger > Network > Use Digests to Identify Files preference in Wing. This turns off a part of Wing's debugger implementation that calls hashlib, and thus avoids the crash.

-or-

2) Set Windows system environment variable OPENSSL_ia32cap to the value ~0x20000000 before starting Maya. This disables the OpenSSL feature that is leading to the crash.

Wingware Support's avatar
4.1k
Wingware Support
answered 2022-06-30 06:53:26 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer