Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-17570

Uses of TBB should catch TBB exceptions (e.g. sort routines) and rethrow as IException's

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4.0
    • Component/s: JLib
    • Labels:
      None

      Description

      Spotted by coverity, e.g.:

      ** CID 1433432:  Error handling issues  (UNCAUGHT_EXCEPT)
      /mnt/disk1/home/vamosax/build/CE/platform/HPCC-Platform/thorlcr/activities/hashdistrib/thhashdistribslave.cpp: 416 in CDistributorBase::CSender::CWriteHandler::main()()
      ________________________________________________________________________________________________________
      *** CID 1433432:  Error handling issues  (UNCAUGHT_EXCEPT)
      /mnt/disk1/home/vamosax/build/CE/platform/HPCC-Platform/thorlcr/activities/hashdistrib/thhashdistribslave.cpp: 416 in CDistributorBase::CSender::CWriteHandler::main()()
      410                 {
      411                     nextPending = getRandom()%distributor.numnodes;
      412                     _sendBucket.setown((CSendBucket *)startInfo);
      413                     target = owner.targets.item(_sendBucket->queryDestination());
      414                     target->incActiveWriters();
      415                 }
      CID 1433432:  Error handling issues  (UNCAUGHT_EXCEPT)
      In function "CDistributorBase::CSender::CWriteHandler::main()" an exception of type "tbb::user_abort" is thrown and never caught.
      

        Attachments

          Activity

            People

            • Assignee:
              ghalliday Gavin Halliday
              Reporter:
              jakesmith Jake Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: