analyser: introduce an option to control parallel mode#2278
Open
analyser: introduce an option to control parallel mode#2278
Conversation
808e8b3 to
de3ef76
Compare
Author
|
@DavidKorczynski could you take a look? |
Author
|
@arthurscchan could you please review? |
ligurio
added a commit
to ligurio/oss-fuzz
that referenced
this pull request
Feb 17, 2026
Related to ossf/fuzz-introspector#2278 Related to google#13226
ligurio
added a commit
to ligurio/oss-fuzz
that referenced
this pull request
Feb 17, 2026
Related to ossf/fuzz-introspector#2278 Related to google#13226
ligurio
added a commit
to ligurio/oss-fuzz
that referenced
this pull request
Feb 17, 2026
Related to ossf/fuzz-introspector#2278 Related to google#13226
ligurio
added a commit
to ligurio/oss-fuzz
that referenced
this pull request
Feb 17, 2026
Related to ossf/fuzz-introspector#2278 Related to google#13226
DavidKorczynski
pushed a commit
to google/oss-fuzz
that referenced
this pull request
Feb 18, 2026
Related to ossf/fuzz-introspector#2278 Related to #13226
centic9
reviewed
Feb 21, 2026
src/fuzz_introspector/commands.py
Outdated
| @@ -124,6 +125,7 @@ def analyse_end_to_end(arg_language, | |||
| out_dir=out_dir, | |||
| dump_files=dump_files, | |||
| harness_lists=harness_lists) | |||
There was a problem hiding this comment.
Suggested change
| harness_lists=harness_lists) | |
| harness_lists=harness_lists, |
centic9
reviewed
Feb 21, 2026
src/fuzz_introspector/commands.py
Outdated
| out_dir=out_dir, | ||
| dump_files=dump_files, | ||
| harness_lists=harness_lists) | ||
| parallelise=is_parallel |
There was a problem hiding this comment.
Suggested change
| parallelise=is_parallel | |
| parallelise=is_parallel) |
centic9
added a commit
to centic9/fuzz-introspector
that referenced
this pull request
Feb 21, 2026
Fuzz Introspector is failed when building reports for Tarantool
and other projects, see [1]:
During handling of the above exception, another exception occurred:
File "/usr/local/lib/python3.10/multiprocessing/managers.py", line 817, in _callmethod
conn.send((self._id, methodname, args, kwds))
File "/fuzz-introspector/src/fuzz_introspector/datatypes/fuzzer_profile.py", line 359, in accummulate_profile
return_dict[uniq_id] = self
AttributeError: 'ForkAwareLocal' object has no attribute 'connection'
The issue (theoretically) is related to processing data in
parallel mode and cannot be reproduced locally. The patch
introduce an option for controlling parallel mode -
FUZZ_INTROSPECTOR_PARALLEL. When envronment variable is set to
`false` Fuzz Introspector will process data in sequential mode.
1. google/oss-fuzz#13226
Related to ossf#2267
Related to google/oss-fuzz#13226
Signed-off-by: Sergey Bronnikov <[email protected]>
de3ef76 to
5a15718
Compare
centic9
reviewed
Feb 22, 2026
| else: | ||
| for profile in self.profiles: | ||
| fuzzer_profile.FuzzerProfile.accummulate_profile( | ||
| profile, self.base_folder, result_dict, f"uniq-{idx}") |
There was a problem hiding this comment.
idx is unknown here, maybe should count up similar as above?
centic9
added a commit
to centic9/fuzz-introspector
that referenced
this pull request
Feb 22, 2026
|
After fixing "idx", it still fails with: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fuzz Introspector is failed when building reports for Tarantool and other projects, see [1]:
During handling of the above exception, another exception occurred:
File "/usr/local/lib/python3.10/multiprocessing/managers.py", line 817, in _callmethod
conn.send((self._id, methodname, args, kwds))
File "/fuzz-introspector/src/fuzz_introspector/datatypes/fuzzer_profile.py", line 359, in accummulate_profile
return_dict[uniq_id] = self
AttributeError: 'ForkAwareLocal' object has no attribute 'connection'
The issue (theoretically) is related to processing data in parallel mode and cannot be reproduced locally. The patch introduce an option for controlling parallel mode - FUZZ_INTROSPECTOR_PARALLEL. When envronment variable is set to
falseFuzz Introspector will process data in sequential mode.Related to #2267
Related to google/oss-fuzz#13226