[reSIProcate] DumThread does not catch standard exception

Scott Godin sgodin at sipspectrum.com
Thu Sep 23 09:29:13 CDT 2010


Hi Volodymyr,

Thanks.  Under what scenario does a std::exception get thrown?  I was under
the impression that only a bug would cause this.

Scott

On Mon, Aug 30, 2010 at 3:08 PM, Volodymyr Tarasenko <tvntsr at yahoo.com>wrote:

> Hi,
>
> As I see DumThread::thread does not catch exceptions except BaseException,
> but some times std::exception could be risen in the DUM handlers especially
> when some std stuff is used in the application.
>
> Of course Dum.internalProcess could handle it, but I think any thread
> function/method in C++ should catch all standard exception...
>
> The patch in the attachment...
>
> Regards,
> Volodymyr!
>
>
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at resiprocate.org
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20100923/5aa89405/attachment.htm>


More information about the resiprocate-devel mailing list