Skip to content

#5241 Crash at onIdleUpdateFavorites#5257

Merged
maxim-productengine merged 1 commit intodevelopfrom
maxim/develop-5241
Jan 12, 2026
Merged

#5241 Crash at onIdleUpdateFavorites#5257
maxim-productengine merged 1 commit intodevelopfrom
maxim/develop-5241

Conversation

@maxim-productengine
Copy link
Contributor

@maxim-productengine maxim-productengine commented Jan 12, 2026

Crash seems to be happening after disconnecting, so simple check should be enough. (but we couldn't access gDisconnected from /llui, so moved it to llapp)


std::string mDumpPath; //output path for google breakpad. Dependency workaround.

static bool sDisconnected;
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not do it like this?

bool isDisconnected() == 0;
bool LLAppViewer::isDisconnected()
{
return gDisconnected;
}

Or not move gDisconnected elsewhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

gDisconnected lives in llappviewer, so it can't be reached from non newview classes.
Yes, the idea was to get rid of gDisconnected later and to use only LLAppViewer::isDisconnected(). But I thought it would be too many changes not completely related to this crash.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

On the other hand, we can just move gDisconnected to llapp

@maxim-productengine maxim-productengine merged commit 147e864 into develop Jan 12, 2026
17 checks passed
@maxim-productengine maxim-productengine deleted the maxim/develop-5241 branch January 12, 2026 18:17
@github-actions github-actions bot locked and limited conversation to collaborators Jan 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BugSplat Crash: SecondLifeViewer!LLFolderViewFolder::onIdleUpdateFavorites(1887)

3 participants