MozillaSecurity / MozillaSecurity/FuzzManager

[CrashManager] ValueError: invalid literal for int() with base 10 in CrashInfo.py

Open
#565 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug FTB
Dominant language
Python
Stars
208
Forks
48
Avg merge
23h 5m
Merged PRs (30d)
2

Description

Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
<--- TRACEBACK TRIMMED--->
  File "/home/worker/grizzly-auto-run/grizzly/grizzly/session.py", line 155, in report_result
    self.reporter.submit(result_logs, self.iomanager.tests)
  File "/home/worker/grizzly-auto-run/grizzly/grizzly/common/reporter.py", line 254, in submit
    self._submit(report, test_cases)
  File "/home/worker/grizzly-auto-run/grizzly/grizzly/common/reporter.py", line 415, in _submit
    crash_info = self.create_crash_info(report, self.target_binary)
  File "/home/worker/grizzly-auto-run/grizzly/grizzly/common/reporter.py", line 350, in create_crash_info
    auxCrashData=aux_data)
  File "/home/worker/grizzly-auto-run/FuzzManager/FTB/Signatures/CrashInfo.py", line 233, in fromRawCrashData
    result = MinidumpCrashInfo(stdout, stderr, configuration, auxCrashData)
  File "/home/worker/grizzly-auto-run/FuzzManager/FTB/Signatures/CrashInfo.py", line 1328, in __init__
    crashThread = int(components[3])
ValueError: invalid literal for int() with base 10: ''

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at FTB/Signatures/CrashInfo.py line 1328 and trace the MinidumpCrashInfo input passed from grizzly/common/reporter.py. Inspect the components value that produces an empty string, then exercise the reported CrashManager path and confirm it no longer raises this ValueError for the affected crash data.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.