Hi, Please find the latest report on new defect(s) introduced to ceph found with Coverity Scan. 4 new defect(s) introduced to ceph found with Coverity Scan. 31 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 4 of 4 defect(s) ** CID 1520436: Error handling issues (UNCAUGHT_EXCEPT) /src/static/src/github/ceph/src/rgw/services/svc_mdlog.cc: 211 in mdlog::<unnamed>::SysObjWriteCR<RGWMetadataLogHistory>::~SysObjWriteCR()() ________________________________________________________________________________________________________ *** CID 1520436: Error handling issues (UNCAUGHT_EXCEPT) /src/static/src/github/ceph/src/rgw/services/svc_mdlog.cc: 211 in mdlog::<unnamed>::SysObjWriteCR<RGWMetadataLogHistory>::~SysObjWriteCR()() 205 bool exclusive = false) 206 : RGWSimpleCoroutine(_svc->ctx()), dpp(_dpp), async_rados(_async_rados), 207 svc(_svc), obj(_obj), objv_tracker(objv_tracker), exclusive(exclusive) { 208 encode(_data, bl); 209 } 210 >>> CID 1520436: Error handling issues (UNCAUGHT_EXCEPT) >>> An exception of type "boost::container::length_error_t" is thrown but the exception specification "noexcept" doesn't allow it to be thrown. This will result in a call to terminate(). 211 ~SysObjWriteCR() override { 212 request_cleanup(); 213 } 214 215 void request_cleanup() override { 216 if (req) { ** CID 1520435: Uninitialized members (UNINIT_CTOR) /usr/include/c++/12/bits/chrono.h: 619 in LatencyMonitor::LatencyMonitor()() ________________________________________________________________________________________________________ *** CID 1520435: Uninitialized members (UNINIT_CTOR) /usr/include/c++/12/bits/chrono.h: 619 in LatencyMonitor::LatencyMonitor()() 613 614 static constexpr duration 615 max() noexcept 616 { return duration(duration_values<rep>::max()); } 617 618 private: >>> CID 1520435: Uninitialized members (UNINIT_CTOR) >>> The compiler-generated constructor for this class does not initialize "total.__r". 619 rep __r; 620 }; 621 622 /// @{ 623 /// @relates std::chrono::duration 624 ** CID 1520434: Uninitialized members (UNINIT_CTOR) /src/static/src/github/ceph/src/rgw/driver/rados/rgw_data_sync.cc: 5648 in RGWSyncBucketCR::RGWSyncBucketCR(RGWDataSyncCtx *, boost::intrusive_ptr<const RGWContinuousLeaseCR>, const rgw_bucket_sync_pair_info &, std::optional<unsigned long>, const std::shared_ptr<RGWSyncTraceNode> &, std::chrono::time_point<ceph::real_clock, std::chrono::duration<unsigned long, std::ratio<(long)1, (long)1000000000>>> *)() ________________________________________________________________________________________________________ *** CID 1520434: Uninitialized members (UNINIT_CTOR) /src/static/src/github/ceph/src/rgw/driver/rados/rgw_data_sync.cc: 5648 in RGWSyncBucketCR::RGWSyncBucketCR(RGWDataSyncCtx *, boost::intrusive_ptr<const RGWContinuousLeaseCR>, const rgw_bucket_sync_pair_info &, std::optional<unsigned long>, const std::shared_ptr<RGWSyncTraceNode> &, std::chrono::time_point<ceph::real_clock, std::chrono::duration<unsigned long, std::ratio<(long)1, (long)1000000000>>> *)() 5642 status_obj(env->svc->zone->get_zone_params().log_pool, 5643 RGWBucketPipeSyncStatusManager::full_status_oid(sc->source_zone, 5644 sync_pair.source_bs.bucket, 5645 sync_pair.dest_bucket)), 5646 tn(env->sync_tracer->add_node(_tn_parent, "bucket", 5647 SSTR(bucket_str{_sync_pair.dest_bucket} << "<-" << bucket_shard_str{_sync_pair.source_bs} ))) { >>> CID 1520434: Uninitialized members (UNINIT_CTOR) >>> Non-static class member "current_gen" is not initialized in this constructor nor in any functions that it calls. 5648 } 5649 5650 int operate(const DoutPrefixProvider *dpp) override; 5651 }; 5652 5653 static RGWCoroutine* sync_bucket_shard_cr(RGWDataSyncCtx* sc, ** CID 1520433: Error handling issues (UNCAUGHT_EXCEPT) /src/static/src/github/ceph/src/rgw/services/svc_mdlog.cc: 136 in mdlog::<unnamed>::SysObjReadCR<RGWMetadataLogHistory>::~SysObjReadCR()() ________________________________________________________________________________________________________ *** CID 1520433: Error handling issues (UNCAUGHT_EXCEPT) /src/static/src/github/ceph/src/rgw/services/svc_mdlog.cc: 136 in mdlog::<unnamed>::SysObjReadCR<RGWMetadataLogHistory>::~SysObjReadCR()() 130 const rgw_raw_obj& _obj, 131 T *_result, bool empty_on_enoent = true, 132 RGWObjVersionTracker *objv_tracker = nullptr) 133 : RGWSimpleCoroutine(_svc->ctx()), dpp(_dpp), async_rados(_async_rados), svc(_svc), 134 obj(_obj), result(_result), 135 empty_on_enoent(empty_on_enoent), objv_tracker(objv_tracker) {} >>> CID 1520433: Error handling issues (UNCAUGHT_EXCEPT) >>> An exception of type "boost::container::length_error_t" is thrown but the exception specification "noexcept" doesn't allow it to be thrown. This will result in a call to terminate(). 136 ~SysObjReadCR() override { 137 request_cleanup(); 138 } 139 140 void request_cleanup() override { 141 if (req) { ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yojIR8ODHcGVd1JcCGjvdH5QZ17VgLZQT3XYfB8Bhzp4w-3D-3DMnFH_AFEUYrrk4DhDarjaCpYCXHJvy94mwGqcIvfXCcQ9aNSSwdkbU23Z3K1mHOpwP77ksz4aBa6DIUVqJKSzc2I2bRxywYkwrv4FZQJqDNTzd6Rky-2BBrC1fsz9l4e3pl7Njd0t1NXyZj2NkTocWj0g4hGGdGt6Dgot1-2FBUOkCGUK80zggMM328CqbH7h-2BjWnqmdrCAPRtyGe9WNa7sghO-2FOhDA-3D-3D _______________________________________________ Dev mailing list -- dev@xxxxxxx To unsubscribe send an email to dev-leave@xxxxxxx