abrt / retrace-server

Application for remote coredump analysis
GNU General Public License v2.0
40 stars 30 forks source link

For vmcores that only load with "crash --minimal" today, try "crash --zero_excluded" #474

Closed DaveWysochanskiRH closed 1 year ago

DaveWysochanskiRH commented 1 year ago

In production we've found that vmcores that will only load crash when the "--minimal" option is given will actually load ok around 30% of the time if given the "--zero_excluded" flag. The usage of "--zero_excluded" allows many more crash commands to be used vs "--minimal" (for example 'bt' is usable), so it will assist those working on these types of vmcores. This small patchset changes vmcore processing to use this new crash flag into "crash_cmd" if a crash command with no options fails. If the "--zero_excluded" flag fails as well though, we fall back to "--minimal" as before.