You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Sebastian Zenker (JIRA)" <ji...@apache.org> on 2016/01/18 09:33:39 UTC

[jira] [Created] (THRIFT-3564) C++/Qt: potential core dump in TQTcpServer in case an exception occurs in TAsyncProcessor::process()

Sebastian Zenker created THRIFT-3564:
----------------------------------------

             Summary: C++/Qt: potential core dump in TQTcpServer in case an exception occurs in TAsyncProcessor::process()
                 Key: THRIFT-3564
                 URL: https://issues.apache.org/jira/browse/THRIFT-3564
             Project: Thrift
          Issue Type: Bug
          Components: C++ - Library
    Affects Versions: 0.9.3, 0.9.4, 1.0
            Reporter: Sebastian Zenker
            Priority: Minor


It's undefined behaviour, if a Qt object (sender) get's deleted while executing on of it's slots. This can happen in case an exception occurs in TQTcpServer::beginDecode() as the call to ctxMap_.erase() will delete the sender of the Qt signal.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)