thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "KG.Xu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (THRIFT-4729) Crash: ForceClose expired task with Exception uncaught
Date Tue, 08 Jan 2019 01:16:00 GMT
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)

Mime
View raw message