Quote Originally Posted by wysota View Post
First of all build your app in debug mode.
It was in debug mode... OK, I've loaded system debug symbols but it did not clear anything.
I just can't understand why it happens if I almost do not add any custom code - only a few lines of code from documentation... Something wrong with my system?
Btw, I tried to switch to Qt 4.8.4 - the same story.

Call stack:
Qt Code:
  1. > KernelBase.dll!_RaiseException@16() + 0x58 bytes
  2. rpcrt4.dll!_RpcpRaiseException@4() + 0x2f bytes
  3. rpcrt4.dll!NdrpRaisePipeException() + 0x16 bytes
  4. rpcrt4.dll!NdrReceive() + 0x1e55 bytes
  5. rpcrt4.dll!NdrLastAsyncReceive() + 0x2c bytes
  6. rpcrt4.dll!NdrpCompleteAsyncClientCall() + 0x85 bytes
  7. rpcrt4.dll!Ndr64pCompleteAsyncCall() + 0x67 bytes
  8. rpcrt4.dll!_RpcAsyncCompleteCall@8() + 0x1e bytes
  9. wlanapi.dll!_ClientRpcCallback@12() + 0xa0 bytes
  10. rpcrt4.dll!I_RpcAPCRoutine() + 0x2c bytes
  11. ntdll.dll!_KiUserApcDispatcher@16() + 0x25 bytes
  12. kernel32.dll!_WaitForSingleObjectExImplementation@12() + 0x43 bytes
  13. wlanapi.dll!_NotificationApcThreadProc@4() + 0x54 bytes
  14. kernel32.dll!@BaseThreadInitThunk@12() + 0x12 bytes
  15. ntdll.dll!___RtlUserThreadStart@8() + 0x27 bytes
  16. ntdll.dll!__RtlUserThreadStart@8() + 0x1b bytes
To copy to clipboard, switch view to plain text mode 
Threads:
Qt Code:
  1. Unflagged 47848 0 Main Thread Main Thread QPushButton::`scalar deleting destructor' Normal
  2. Unflagged 48388 0 Worker Thread _TppWaiterpThread@4 _ZwWaitForMultipleObjects@20 Normal
  3. Unflagged 47932 0 Worker Thread _TppWorkerThread@4 _NtWaitForWorkViaWorkerFactory@8 Normal
  4. Unflagged 48856 0 Worker Thread _TppWorkerThread@4 _NtWaitForWorkViaWorkerFactory@8 Normal
  5. Unflagged 31392 0 RPC Thread RPC Callback Thread CROIDTable::WorkerThreadLoop Normal
  6. Unflagged 48988 0 Worker Thread _timeThread@4 _ZwWaitForMultipleObjects@20 Time Critical
  7. Unflagged 43132 0 Worker Thread bearerThread _NtWaitForSingleObject@12 Normal
  8. Unflagged > 45812 0 Worker Thread _NotificationApcThreadProc@4 _RaiseException@16 Normal
  9. Unflagged 49048 0 Worker Thread httpThread _ZwWaitForMultipleObjects@20 Normal
  10. Unflagged 48496 0 Worker Thread Thread (pooled) _NtWaitForSingleObject@12 Normal
  11. Unflagged 49036 0 Worker Thread _TppWorkerThread@4 _NtWaitForWorkViaWorkerFactory@8 Normal
  12. Unflagged 48080 0 Worker Thread _SockAsyncThread@4 _ZwRemoveIoCompletion@20 Above Normal
  13. Unflagged 48172 0 Worker Thread Win32 Thread _ZwWaitForMultipleObjects@20 Normal
  14. Unflagged 48000 0 Worker Thread _TppWorkerThread@4 _NtWaitForWorkViaWorkerFactory@8 Normal
To copy to clipboard, switch view to plain text mode