crashpad crashes when cleaning the database #1064
Labels
area: backend
backend: crashpad
bug
Something isn't working
Platform: Native
upstream
The issue is related to an upstream dependency
This happens in the field:
It seems int
int CrashReportDatabaseWin::CleanDatabase(time_t lockfile_ttl)
isn't checking for failedstd::unique_ptr<Metadata> CrashReportDatabaseWin::AcquireMetadata()
(which can fail if the metadata_file can't be opened or the following file-lock failed)https://github.com/getsentry/crashpad/blob/59fc31ce00d245d59cff282f5ee8f0785b710a2c/client/crash_report_database_win.cc#L970-L1001
All other functions acquiring metadata check the return value and exit immediately. This should be upstreamed.
The text was updated successfully, but these errors were encountered: