Closed Bug 543776 Opened 14 years ago Closed 14 years ago

WARNING: Json file missing PluginName; iteration over non-sequence

Categories

(Socorro :: General, task)

x86
Windows 7
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: benjamin, Unassigned)

References

()

Details

Attachments

(3 files)

At least some plugin-process crash reports are seeing the following:

WARNING: Json file missing PluginName; iteration over non-sequence
http://crash-stats.mozilla.com/report/index/69968756-80ec-4caa-9ce2-74c472100202
Attached file Dump file
Attached file .extra file
I did get this to work once though, report at http://crash-stats.mozilla.com/report/index/400a3d1a-9d43-4430-9934-2456e2100202

FWIW, I'm using the testcase at bug 543770 to reproduce:
Windows, latest Java, Minefield
visit http://www.java.com/en/download/help/testvm.xml
I've reproduced this.

When ProcessType = 'plugin' the code expects PluginFilename, PluginName, and PluginVersion to be present. I misread the part about all parts being optional in Bug#535829. I read it as specific process context will be optional depending on ProcessType.

The Bug:
It's skipping processing the plugin info, which would be fine, but there is a TypeError in how it skips over.

1) Can we make the contract be that if ProcessType='plugin' then PluginFilename, PluginName, and PluginVersion are present in the metadata, even if they contain an empty string?
2) Or I can relax this to Any of PluginFilename, PluginName, or PluginVersion are not empty then we insert into the plugins db.

I'll update our code to fix the TypeError issue. Please let me know if we want to do #1 or #2. The Database Schema is written for #1.
It makes no difference to me. It's probably two lines of code to send empty data for those fields.
#2, but we'll alter the client in the meantime.
Filed IT request to stage this fix Bug#544022.
This was pushed to production.

reed reported a new error:
http://crash-stats.mozilla.com/report/pending/2e0065a7-d7c2-4997-a17c-03e302100203

I am now getting this error in stage also.
http://crash-stats.stage.mozilla.com/report/pending/98dd2203-49b3-4666-92c7-74ef32100203

Investigating.
The client-side workaround doesn't seem to be working: even with the extra two keys PluginName= and PluginVersion= we're still getting this error with nightlies:

http://crash-stats.mozilla.com/report/index/bp-8efb816a-c45d-4cec-90b2-566f02100205

This is very serious because it means that all plugin-side crashes are not getting even the normal signature/stack information.
I've reverted r1731:1718 which introduced some changes that shouldn't have gone to production. Additionally, we've added another prod bug fix for extension data. 

I can not account for why they didn't fail in staging during the last push.

We are re-deploying, I'll update the bug when this is on stage.
(In reply to comment #11)
Changes are staged.

Please test https://crash-reports.stage.mozilla.com/submit if you can easily point breakpad at that instead of production.

I've simulated the attachements to this bug again and have:

http://crash-stats.stage.mozilla.com/report/index/24d9830f-1cc0-4935-bcbc-53b1f2100205

Which looks pretty good.
For completeness, this is how I simulated Attachment 424806 [details] on Wednesday and today.
Bug#544552 - Prod deployment bug.
Yeah, I'm an idiot, I forgot that testing with OS X would not actually test this.
Sigh/W00t!

Sigh. Nightly Windows XP - Bad processor behavior still.
http://crash-stats.mozilla.com/report/index/acb7e6c3-d498-4e95-bcee-a1bed2100205

Another crash posted moments apart...
Success
http://crash-stats.mozilla.com/report/index/bp-9ee290d4-31b6-49e2-9742-d07622100205

So we may still have an old processessor that needs to be restarted.

I'll do more verification.
Okay, some stale servers are getting restarted.

Please let me know if you have any issues.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Component: Socorro → General
Product: Webtools → Socorro
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: