• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

OFS / opae-sdk / 8653071263
64%

Build:
DEFAULT BRANCH: master
Ran 11 Apr 2024 09:02PM UTC
Jobs 1
Files 144
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Apr 2024 08:48PM UTC coverage: 64.673% (-0.02%) from 64.688%
8653071263

push

github

pcolberg
spdlog: do not drop logger in destructor

For static objects, the order of destruction is in reverse of the order
of construction, but the latter is hard to control except among static
objects defined within the same translation unit. This means that spdlog
may be destructed before spdlog::drop() is invoked in the destructor,
which leads to a segmentation fault due to memory use-after-free.

Move call of spdlog::drop() from destructor to main() function, to
ensure the logger may be re-registered with the same name in tests.
Use Scope Guard pattern to implement RAII for logger registration.

Link: https://github.com/ros2/rclcpp/issues/933
Link: https://github.com/gabime/spdlog/issues/1738
Link: https://github.com/gabime/spdlog/issues/2113
Link: https://en.wikibooks.org/wiki/More_C++_Idioms/Scope_Guard
Closes: https://hsdes.intel.com/appstore/article/#/22019839238
Signed-off-by: Peter Colberg <peter.colberg@intel.com>

6 of 18 new or added lines in 3 files covered. (33.33%)

15823 of 24466 relevant lines covered (64.67%)

8958.79 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
0.0
0.0% samples/cxl_hello_fpga/he_cache_test.h
6
0.0
0.0% samples/cxl_host_exerciser/he_cache_test.h
Jobs
ID Job ID Ran Files Coverage
1 8653071263.1 11 Apr 2024 09:02PM UTC 144
64.67
GitHub Action Run
Source Files on build 8653071263
  • Tree
  • List 144
  • Changed 12
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 3ec53b07 on github
  • Prev Build on master (#8147633845)
  • Next Build on master (#8654404228)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc