Boost logo

Boost :

Subject: [boost] [iostreams][bug] Uncaught exception in destructor when using file_descriptor
From: Sylvester-Bradley, Gareth (Gareth.Sylvester-Bradley_at_[hidden])
Date: 2009-08-03 05:19:48


https://svn.boost.org/trac/boost/ticket/2932

I hope it's appropriate to ping the list about this issue, which was
reported 4 months ago and has not been fixed in 1.39.0 or on the trunk.

If closing a file descriptor fails, file_descriptor::impl::~impl() (or
file_descriptor_impl::~file_descriptor_impl() on the trunk) throws an
exception. This has the potential to happen during stack unwinding,
causing immediate std::terminate().

Since the fix appears to be a trivial addition of try { /*...*/ } catch
(...) {} it'd be a shame if this wasn't fixed in 1.40.0.

Cheers,
Gareth

************************************************************************
The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only.

This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk