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

lexus2k / lcdgfx / 23961490371
51%

Build:
DEFAULT BRANCH: master
Ran 03 Apr 2026 08:44PM UTC
Jobs 1
Files 33
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

03 Apr 2026 08:41PM UTC coverage: 48.93%. Remained the same
23961490371

push

github

lexus2k
Fix segfault on Ctrl+C in SDL emulator demos

Three issues caused the crash:

1. sdl_graphics_close() only destroyed the SDL window, leaking the
   renderer, texture, and pixel buffer. Now properly destroys all
   resources in reverse creation order with NULL guards.

2. SDL_QUIT event handler called exit(0) without cleanup. Now calls
   sdl_core_close() before exiting to properly release SDL resources.

3. No signal handler for SIGINT/SIGTERM. Ctrl+C would terminate the
   process mid-render, causing use-after-free in SDL cleanup. Added
   sdl_signal_handler that calls sdl_core_close() then _exit(0).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

846 of 1729 relevant lines covered (48.93%)

16358.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23961490371.1 03 Apr 2026 08:44PM UTC 33
48.93
GitHub Action Run
Source Files on build 23961490371
  • Tree
  • List 33
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 7ea599a7 on github
  • Prev Build on master (#23958480295)
  • Next Build on master (#23962095499)
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