Bug 1788636
| Summary: | strace doesn't print stack trace for early syscalls | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Pavel Zhukov <pzhukov> | |
| Component: | strace | Assignee: | Dmitry V. Levin <ldv> | |
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 31 | CC: | esyr, hannsj_uhl, ldv, roland | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1790052 1790053 1790054 1790057 1790058 (view as bug list) | Environment: | ||
| Last Closed: | 2020-01-07 19:40:11 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 1783584 | |||
| Bug Blocks: | 1790052, 1790053, 1790054, 1790057, 1790058 | |||
|
Description
Pavel Zhukov
2020-01-07 16:42:33 UTC
This happens due to a cache initialization bug that results to a failure of printing stack trace for early syscalls. Early syscalls in this case are those that precede the first syscall from memory mapping or execve families. When a process is started by strace itself, the first syscall is usually execve. Fixed by upstream commit v5.4-18-g69b2c33a77fa687feb41fafdbe187013aa812384, available at https://github.com/strace/strace/commit/69b2c33a77fa687feb41fafdbe187013aa812384 https://gitlab.com/strace/strace/commit/69b2c33a77fa687feb41fafdbe187013aa812384 Thanks for reporting! FWIW, I have no idea when the fix will reach Fedora because updates of strace package are blocked by https://bugzilla.redhat.com/show_bug.cgi?id=1783584 Meanwhile, you can install a fixed strace package from the scratch build for f31 at https://koji.fedoraproject.org/koji/taskinfo?taskID=40246259 |