PDA

View Full Version : Release mode issue



stevey
8th November 2006, 12:04
Hi,

I keep on getting this runtime error with a project I'm working on:

Unhandled exception at 0x670516d0 in BatchLoader.exe: 0xC0000005:
Access violation reading location 0x00000004

If I build in debug mode and run it, it's fine, but as soon as I build in release mode it dies.
I've tried running the release version with a console subsystem but get no qDebug messages coming up.

I'm building on windows and getting an Application Event error message logged with the following description:
"Faulting application batchloader.exe, version 0.0.0.0, faulting module qtcore4.dll, version 4.2.1.0, fault address 0x000516d0."

I'm running 4.2.1 and it was working fine, but it's all turned to custard somewhere and I just can't understand what's going on.

Any ideas?

Thanks,

Steve

e8johan
8th November 2006, 12:41
If I was you I'd reinstall Qt 4.2.1 - it seems like some Qt dll has gone corrupt somehow.

stevey
8th November 2006, 20:26
Unfortunately that didn't help.
Painful bug to find, I might see what lists.trolltech has to say about it.


Thanks