What causes crash in WSHStringToAddress() with a Widows Qt?

61 Views Asked by At

We are using QTcpServer and QSslSocket for server-client communication. Witnessing a crash once in a while in one particular Windows machine. Unfortunately in this machine, we don't have a debugger. Hence I could get the stack frame only with the "Process Explorer" utility from Windows. Here is the image:

enter image description here

Documentation for WSHStringToAddress function suggests that it's obsolete. This crash is not seen elsewhere.

How to resolve this issue?

1

There are 1 best solutions below

0
On

After debugging we found out that, WSHStringToAddress() is not a troublemaker, though obsolete. It's seen in the healthy app running as well as a "thread".

The root cause was within our code where there was an infinite recursion. Somehow, due to lack of stack frames, it was not seen properly with the above MS tool.