Closed
Bug 1393037
Opened 8 years ago
Closed 7 years ago
[traceback] ValueError on raw_crash.OOMAllocationSize conversion
Categories
(Socorro :: Processor, task, P3)
Socorro
Processor
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: peterbe, Assigned: is2ei)
Details
(Whiteboard: [good first bug])
Attachments
(1 file)
See https://sentry.prod.mozaws.net/operations/socorro-prod/issues/643312/
Sentry is failing to display the raw error but the failure is in converting
'24178AvailablePhysicalMemory586522624AvailablePageFile5410816ContentSandboxLevel=1' to an int here https://github.com/mozilla-services/socorro/blob/6c2b5bb24b4609dcef87b349e209ba2d8c937be5/socorro/processor/signature_utilities.py#L517
Comment 1•8 years ago
|
||
Traceback:
"""
ValueError: invalid literal for int() with base 10: '24178AvailablePhysicalMemory586522624AvailablePageFile5410816ContentSandboxLevel=1'
File "socorro/lib/transform_rules.py", line 147, in action
return self._action(*args, **kwargs)
File "socorro/processor/signature_utilities.py", line 517, in _action
size = int(raw_crash['OOMAllocationSize'])
"""
There's only been one instance of this so far.
Summary: ValueError on raw_crash.OOMAllocationSize conversion → [traceback] ValueError on raw_crash.OOMAllocationSize conversion
Comment 2•8 years ago
|
||
Saw this on -stage: https://sentry.prod.mozaws.net/operations/socorro-stage/issues/645543/
In total, there are 3 events of this now.
Comment 4•7 years ago
|
||
This is a good first bug.
To fix this, we need to fix the code in signature_utilities.py to be more defensive. If it gets a bogus value for raw_crash['OOMAllocationSize'], it should skip merrily past it instead of throwing an exception.
Whiteboard: [good first bug]
Comment 5•7 years ago
|
||
Hello I can take this bug
Comment 6•7 years ago
|
||
Videet: Do you have a local development environment set up? If not, read through:
https://socorro.readthedocs.io/en/latest/gettingstarted.html
to get one working. You'll need a local development environment working in order to work on Socorro changes.
| Assignee | ||
Comment 8•7 years ago
|
||
(In reply to Will Kahn-Greene [:willkg] ET needinfo? me from comment #7)
> Issei: Would you want to work on this one?
Ok! I will work on this issue.
Flags: needinfo?(is2ei.horie)
| Assignee | ||
Updated•7 years ago
|
Assignee: nobody → is2ei.horie
| Assignee | ||
Updated•7 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 9•7 years ago
|
||
I created PR. Could you check it, please?
| Assignee | ||
Comment 10•7 years ago
|
||
BTW, I have a question.
I couldn't access to these URLs.
https://sentry.prod.mozaws.net/operations/socorro-prod/issues/643312/
https://sentry.prod.mozaws.net/operations/socorro-stage/issues/645543/
How could I see the pages?
Flags: needinfo?(willkg)
Comment 11•7 years ago
|
||
Commits pushed to master at https://github.com/mozilla-services/socorro
https://github.com/mozilla-services/socorro/commit/44f8a5fa437240a9d3149f236545d57c72c63d10
Bug 1393037 Catch ValueError on raw_crash.OOMAllocationSize conversion
https://github.com/mozilla-services/socorro/commit/1b3ed0854e791df66b1007e9ca948f89a8453226
Merge pull request #4495 from is2ei/bug-1393037
Bug 1393037 Catch ValueError on raw_crash.OOMAllocationSize conversion
Comment 12•7 years ago
|
||
Issei: Those are in our Sentry instance and not publicly available. I can copy/paste data from Sentry error reports that is not sensitive like I did in this case and I can answer questions, but can't give access to others. Sorry!
Flags: needinfo?(willkg)
Comment 13•7 years ago
|
||
I just landed the fix for this, so I'm marking it FIXED.
Thank you, Issei!
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•