KG.Xu created THRIFT-4729:
-----------------------------
Summary: Crash: ForceClose expired task with Exception uncaught
Key: THRIFT-4729
URL: https://issues.apache.org/jira/browse/THRIFT-4729
Project: Thrift
Issue Type: Bug
Components: C++ - Library
Affects Versions: 0.8
Reporter: KG.Xu
Context is: I've employed NonblockingServer & ThreadManager, with
setTaskExpireTime() used in my app. Under heavy load, it crashed. Crash point
is *forceClose()::throw TException* (to be specific, send(NotificationSocketFD)
failed).
I went through the code, noted that during *removeExpiredTasks*() there is no
try-catch involved. On the contrary, Task::run() is enclosed by try-catch.
Is it by design, or just a bug ? Thanks.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)