Skip to content
This repository was archived by the owner on Apr 26, 2021. It is now read-only.
This repository was archived by the owner on Apr 26, 2021. It is now read-only.

Error during analysis: could not get process status for pid  #3035

@omeranson

Description

@omeranson

Thanks for creating an issue! But first: did you read our community guidelines?
https://cuckoo.sh/docs/introduction/community.html

My issue is: Error during analysis: could not get process status for pid

During analysis, the following error appears in the analyser logs: 'Error during analysis: could not get process status for pid ', and the analysis is cut short.

My Cuckoo version and operating system are: Cuckoo 2.0.7, Centos 7
This can be reproduced by:

Submitting a file to the generic analyser, where the guest is Ubuntu 18.04.

The log, error, files etc can be found at:

The only log is 'CRITICAL: could not get process status for pid XXX' in the analyser log.

Investigation reveals that the error occurs when parsing /proc/<pid>/status. One of the fields is empty, and the parsing code assumes that a value always exists. The error happens in the method get_proc_status, class Process, file: cuckoo/data/analyzer/linux/lib/api/process.py.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions