[Qt-interest] unhandled exception

Francisco Ares frares at gmail.com
Mon Nov 22 10:41:02 CET 2010


Hi all

I'm having difficulties catching an unhandled exception.

I'm using Qt 4.6.3 , boost 1.42 and Visual Studio 2005 and a few hardware
driver libraries.

There is a QThread derived class that is instantiated and started at the
beginning of the program execution and lasts to its end, controls RS-232
serial communication, and is controlled by a QSemaphore that is released
whenever and wherever there is a message ready to be sent, and is acquired
at the beginning of this class "run" method.

Sometimes, varying from a couple of hours to a few days, the program stops
in an unhandled exception. Visual Studio debugger could not help but to find
anything but the location.

I could not see the cause for that exception, and every technique I know of
on how to catch exceptions has failed.

Any ideas would be greatly appreciated.

Thanks
-- 
Francisco

"If you have an apple and I have an apple and we exchange apples then you
and I will still each have one apple. But if you have an idea and I have one
idea and we exchange these ideas, then each of us will have two ideas." -
George Bernard Shaw
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101122/1a2d6aaa/attachment.html 


More information about the Qt-interest-old mailing list