Skip to content

Fix unusual LogHandler crash on shutdown#1735

Open
ada-tv wants to merge 1 commit intooverte-org:masterfrom
ada-tv:fix/LogHandler-shutdown-crash
Open

Fix unusual LogHandler crash on shutdown#1735
ada-tv wants to merge 1 commit intooverte-org:masterfrom
ada-tv:fix/LogHandler-shutdown-crash

Conversation

@ada-tv
Copy link
Collaborator

@ada-tv ada-tv commented Aug 11, 2025

Fixes #1694, at least when shutting down with leg_poser.js running (which is the only case I've found so far that triggers the crash, it doesn't even log anything)

Also tidies up some kinda cursed logic with pointers to global variables to just use defines instead.

@ada-tv ada-tv added bug Something isn't working needs CR This pull request needs to be code reviewed needs QA This pull request needs to be tested labels Aug 11, 2025
Copy link
Member

@ksuprynowicz ksuprynowicz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good :)

@ksuprynowicz ksuprynowicz added CR approved This pull request has been successfully code reviewed and removed needs CR This pull request needs to be code reviewed labels Aug 17, 2025
@ksuprynowicz
Copy link
Member

This PR is segfaulting for me on exit in this place:

<unknown> 0x00007ffff6d47eaf
LogHandler::printMessage LogHandler.cpp:222
LogHandler::verboseMessageHandler LogHandler.cpp:351

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working CR approved This pull request has been successfully code reviewed needs QA This pull request needs to be tested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Segfault inside QCalendar when quitting with certain scripts

2 participants