Hi,
Our application is based on Qt 4.8.4 and openssl1.0.0d
We would like to go for windows app certification. For this we ran the application under Application Verifier tool for Network related tests.
This resulted in a network related error due to which the application crashed.
Here's the trace:
<?xml version="1.0" encoding="UTF-8"?>
-<avrf:logfile xmlns:avrf="Application Verifier">-<avrf:logSession Version="2" PID="6452" TimeStarted="2014-01-29 : 11:59:01">-<avrf:logEntry Severity="Error" StopCode="0xE107" LayerName="Networking" Time="2014-01-29 : 11:59:09"><avrf:message>A Winsock API was called before a successful WSAStartup() or after a balancing successful WSACleanup() call was made</avrf:message><avrf:parameter1>0 - Last sucessfull WSAStartup call by this caller. Use dps to dump the stack if not NULL</avrf:parameter1><avrf:parameter2>0 - Last sucessfull WSACleanup call by this caller. Use dps to dump the stack if not NULL</avrf:parameter2><avrf:parameter3>279c820 - Last successful WSAStartup call in this process. Use dps to dump the stack if not NULL</avrf:parameter3><avrf:parameter4>279c710 - Last sucessfull WSACleanup call in this process. Use dps to dump the stack if not NULL</avrf:parameter4>-<avrf:stackTrace><avrf:trace>vfnet!+7fef44926f5 ( @ 0)</avrf:trace><avrf:trace>vfnet!+7fef44927b0 ( @ 0)</avrf:trace><avrf:trace>vfnet!+7fef449aed1 ( @ 0)</avrf:trace><avrf:trace>QtCore4!QEventDispatcherWin 32::registerSocketNotifier+107 ( @ 0)</avrf:trace><avrf:trace>QtCore4!QSocketNotifier::QS ocketNotifier+80 ( @ 0)</avrf:trace><avrf:trace>QtNetwork4!QLocalServer::ne xtPendingConnection+9ef ( @ 0)</avrf:trace><avrf:trace>QtNetwork4!QLocalServer::ne xtPendingConnection+2243 ( @ 0)</avrf:trace><avrf:trace>QtNetwork4!QAbstractSocket: :writeData+468 ( @ 0)</avrf:trace><avrf:trace>QtNetwork4!QAbstractSocket: :disconnectFromHostImplementation+a17 ( @ 0)</avrf:trace><avrf:trace>QtCore4!QObject::event+da ( @ 0)</avrf:trace><avrf:trace>QtGui4!QApplicationPrivate: :notify_helper+102 ( @ 0)</avrf:trace><avrf:trace>QtGui4!QApplication::notify +236 ( @ 0)</avrf:trace><avrf:trace>QtCore4!QCoreApplication::n otifyInternal+71 ( @ 0)</avrf:trace><avrf:trace>QtCore4!QCoreApplicationPri vate::sendPostedEvents+2ef ( @ 0)</avrf:trace><avrf:trace>QtCore4!QEventDispatcherWin 32::event+abd ( @ 0)</avrf:trace><avrf:trace>USER32!TranslateMessageEx+2 a1 ( @ 0)</avrf:trace><avrf:trace>USER32!TranslateMessage+1ea ( @ 0)</avrf:trace><avrf:trace>QtCore4!QEventDispatcherWin 32::processEvents+545 ( @ 0)</avrf:trace><avrf:trace>QtCore4!QEventLoop::exec+27 f ( @ 0)</avrf:trace><avrf:trace>QtCore4!QThread::exec+12a ( @ 0)</avrf:trace><avrf:trace>QtCore4!QThread::setPriorit y+5eb ( @ 0)</avrf:trace><avrf:trace>MSVCR90!endthreadex+47 ( @ 0)</avrf:trace><avrf:trace>MSVCR90!endthreadex+e8 ( @ 0)</avrf:trace><avrf:trace>KERNEL32!BaseThreadInitThun k+d ( @ 0)</avrf:trace><avrf:trace>ntdll!RtlUserThreadStart+21 ( @ 0)</avrf:trace></avrf:stackTrace></avrf:logEntry></avrf:logSession></avrf:logfile>
Is this error related to wrong usage of QNetwork/QSocket or is there any other solution?
Thanks in advance.
Bookmarks