Open Bug 1655196 Opened 4 months ago Updated 2 months ago



(GeckoView :: General, defect, P1)



(Not tracked)


(Reporter: agi, Unassigned)


(Depends on 1 open bug, Blocks 1 open bug)


Talking to :gsvelto today he pointed out that on Android we have a high ratio of ERROR_NO_MINIDUMP_HEADER (currently our top crash report) and there might be something fundamentally broken in our crash reporting.

Flags: needinfo?(gsvelto)

Is there anything recent reporting those issues? I thought this was largely

Limiting to 79b9 gets me 66 crash reports.

Hm nightly has nearly 2000 reports since the start of the month. Which is well after the A-C fix I mentioned.

Some sort of Nightly only assertion from A-C's libcrash then?

If I restrict the search to recent versions the problem isn't as bad as I thought but the volume is still higher than it should be. Nightly builds from July have ~5% of the crash repotrs being empty (see this query). Beta builds have around ~10% (see this other one). That's still a lot and it's worth investigating. On desktop platforms empty crash reports don't make it in the top 50 crashes so this shouldn't be different on Android.

Priority: -- → P1

I've been looking at crashes in the hope of finding a pattern but couldn't. There's two reasons why this might be happening: either we're running out of memory when trying to write out the minidump, or we're running out of disk space. That's the two major issues I can think of which would lead to a failure in writing it out. An OOM situation should be catastrophic though, the Android kernel should kill the main process right away rather than have some allocations fail so I tend to think it might be the latter reason. To investigate this I'll try and cook up a patch that detects the amount of free storage on the partition where the minidump is being written and stores it as an annotation. If data from that annotation is not conclusive then I'll have to modify our crash-writing logic to report more granular errors and store those in an annotation too.

Flags: needinfo?(gsvelto)
Assignee: nobody → gsvelto

I filed bug 1666733 to track the work required on Breakpad. I will use this bug for the analysis when that's done.

Assignee: gsvelto → nobody
Depends on: 1666733
You need to log in before you can comment on or make changes to this bug.