[RTEMS Project] #4502: rld-rap.cpp: Uncaught exception issue spotted by Coverity

RTEMS trac trac at rtems.org
Thu Aug 19 19:26:56 UTC 2021


#4502: rld-rap.cpp: Uncaught exception issue spotted by Coverity
------------------------+--------------------
  Reporter:  Ryan Long  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:  6.1
 Component:  tool       |    Version:  6
  Severity:  normal     |   Keywords:
Blocked By:             |   Blocking:
------------------------+--------------------
 CID 1471643: Uncaught exception
 {{{
    CID 1471643 (#1 of 1): Uncaught exception
 (UNCAUGHT_EXCEPT)exn_spec_violation: An exception of type rld::error is
 thrown but the throw list noexcept doesn't allow it to be thrown. This
 will cause a call to unexpected() which usually calls terminate().
 724    section_merge::~section_merge ()
 725    {
 726      if (rld::verbose () >= RLD_VERBOSE_FULL_DEBUG)
    fun_call_w_exception: Called function throws an exception of type
 rld::error. [show details]
 727        std::cout << "rap:section-merge: " << sec.name
 728                  << " size=" << sec.size ()
 729                  << " offset=" << sec.offset
 730                  << " " << obj.obj.name ().full ()  << std::endl;
 731    }
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4502>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list