|
Boost Users : |
Subject: Re: [Boost-users] Boost::thread and Dr. Watson
From: Anthony Williams (anthony.ajw_at_[hidden])
Date: 2008-12-18 11:00:51
Francesco Nesci <french_at_[hidden]> writes:
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Please don't post HTML-only emails.
> Sometimes our
> program just vanishes without invoking the
> postmortem debugger (usually Dr. Watson). I tracked it down to boost::thread using a catch(…) that calls
> std::terminate() as part of a try/catch block around the thread
> procedure. This means that when there’s an unhandled C++ or structured
> exception the application quietly shuts down.
That catch block has been removed from Boost.Thread on trunk.
I suggest you remove it from your local copy and rebuild.
Anthony
-- Anthony Williams Author of C++ Concurrency in Action | http://www.manning.com/williams Custom Software Development | http://www.justsoftwaresolutions.co.uk Just Software Solutions Ltd, Registered in England, Company Number 5478976. Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net