iovisor / iovisor/bcc

Pyperf crashes when run in verbose mode

Open
#3,272 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
10d 4h
Merged PRs (30d)
3

Description

Running 'PyPerf -v' after building from source crashes with the following output:
```
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_M_construct null not valid
Aborted (core dumped)
```
uname -a:
`Linux ubuntu 4.15.0-121-generic #123-Ubuntu SMP Mon Oct 5 16:16:40 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the source-built PyPerf invocation with the `-v` flag on the reported Ubuntu/Linux environment and compare the crash output. Trace the verbose-mode entry point to identify the null string construction, then verify that PyPerf no longer crashes when run in verbose mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.