[Psi-Devel] debugging on windows
Norman Rasmussen
norman at rasmussen.co.za
Thu Mar 13 12:21:50 PDT 2008
Please see http://psi-im.org/wiki/Debug_Psi_on_Windows
In particular the section on 'Using Dr. Watson'. To be able to reproduce
the stack trace with useful information I will need the minidump file (.dmp)
that Dr Watson creates.
Also let me know which build you generated the dumps with as I will have to
have the exact pdb files installed so that Visual Studio picks them up
correctly. (If it's not listed on my web-site then the pdb files are already
deleted)
2008/3/13 Andrey Rahmatullin <wrar at altlinux.ru>:
> On Thu, Mar 13, 2008 at 10:26:51AM +0200, Norman Rasmussen wrote:
> > FYI: My builds at http://norman.rasmussen.co.za/dl/psi are built with
> > debugging info (you need my qt libs too, so that the dll interfaces
> match
> > correctly).
> OK, crashed it.
>
> Unhandled exception at 0x65119f3d in Psi.exe: 0xC0000005: Access violation
> reading location 0x00000050.
>
> 65119EF0 push ebp
> 65119EF1 mov ebp,esp
> 65119EF3 push 0FFFFFFFFh
> 65119EF5 push 656CC358h
> 65119EFA mov eax,dword ptr fs:[00000000h]
> 65119F00 push eax
> 65119F01 sub esp,10h
> 65119F04 mov eax,dword ptr ds:[65944134h]
> 65119F09 xor eax,ebp
> 65119F0B push eax
> 65119F0C lea eax,[ebp-0Ch]
> 65119F0F mov dword ptr fs:[00000000h],eax
> 65119F15 mov dword ptr [ebp-18h],ecx
> 65119F18 mov eax,dword ptr [ebp+8]
> 65119F1B push eax
> 65119F1C mov ecx,dword ptr [ebp-18h]
> 65119F1F call 6500B51E
> 65119F24 mov dword ptr [ebp-4],0
> 65119F2B mov ecx,dword ptr [ebp-18h]
> 65119F2E mov dword ptr [ecx],65744270h
> 65119F34 mov edx,dword ptr [ebp-18h]
> 65119F37 mov eax,dword ptr [edx+8]
> 65119F3A mov ecx,dword ptr [eax+10h]
> 65119F3D cmp dword ptr [ecx+50h],0
>
> here ecx == 0
>
> It seems that I need the symbols of your QtGui.dll to debug it properly.
> Stack trace is also not very useful, and I managed to generate two
> different stacks on two systems, though ending with same location
> (0x65119f3d). Both are attached.
>
>
> --
> WBR, wRAR (ALT Linux Team)
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.8 (GNU/Linux)
>
> iEYEARECAAYFAkfZa7oACgkQB4Vf7hFmt5WvSwCg+UIUU9wTiaKsP1rQ5ej5uMqd
> vKQAn3T8MI2dJduUk6bfTjH+WFXW7j66
> =q//C
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Psi-Devel mailing list
> Psi-Devel at lists.affinix.com
> http://lists.affinix.com/listinfo.cgi/psi-devel-affinix.com
>
>
--
- Norman Rasmussen
- Email: norman at rasmussen.co.za
- Home page: http://norman.rasmussen.co.za/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.affinix.com/pipermail/psi-devel-affinix.com/attachments/20080313/a65b73cb/attachment.html
More information about the Psi-Devel
mailing list