[Psi-Devel] debugging on windows

Norman Rasmussen norman at rasmussen.co.za
Sat Mar 15 13:21:59 PDT 2008


I think mixing runtimes is okay, so long as you create and dispose objects
using the same runtime.  Once I had rebuilt Qt+QCA+Psi with the new runtime
everything was fine.  Obviously Qt takes some liberties with where objects
are created/disposed when it comes to plugins.  The openssl libs didn't need
to be updated (I re-linked the existing object files with the new runtime in
the end to keep things complete in the end).

My new 4.3.4 Qt libs (+qca), are now built with vc9, and my nightly builds
will all be vc9 going forwards. Also going forwards I will not be uploading
the pdb file with the exe.  It will be stored on the build machine and
rotated with the rest of the files, but I don't see any point in uploading
it to the released files.  People are more than welcome to request the files
from me if they want them.

On Fri, Mar 14, 2008 at 5:54 PM, Justin Karneges <justin-psi2 at affinix.com>
wrote:

> On Friday 14 March 2008 1:23 am, Norman Rasmussen wrote:
> > I'll try that, but I don't think it's the problem.  It's more that the
> Qt
> > binaries's were built with vc9, and the qca/openssl/psi binaries were
> built
> > with vc8.  I think what's happening is that an object is being created
> with
> > one runtime, and being deleted with the other.  Obviously the runtime
> > doesn't recognise the object, so it complains of heap corruption.
>
> I thought this was only a problem if you mixed debug and release versions
> of
> the runtimes.  I recall being told that mixing release versions (say VC6
> and
> VC8) is acceptable.  The official QCA binaries are built only with VC6,
> under
> the expectation that you can use any version of VC to link with them.
>
> -Justin
> _______________________________________________
> 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/20080315/9236374e/attachment.html 


More information about the Psi-Devel mailing list