Summary: | Valgrind complains about wld_mmap being in Text segment | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Davide Beatrici <kde> |
Component: | memcheck | Assignee: | Julian Seward <jseward> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | austinenglish, pjfloyd |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Valgrind log
Segments Segments (working) |
Description
Davide Beatrici
2023-11-15 13:23:44 UTC
What exactly changed in that commit? Valgrind uses a lot of memory. If the guest tries ot mmap to an address that Valgrind is using that's going to fail. The preloader is now built as PIE (Position Independent Executable). Can you post the first SHOW_SEGMENTS (between <<< and >>>) that you get with 'valgrind -d {whatever command}' Created attachment 163261 [details]
Segments
Created attachment 163322 [details] Segments (working) A user on freedesktop's GitLab can't reproduce the issue on openSUSE Tumbleweed, which currently provides Valgrind 3.21 and Wine 8.20. I attached the segments reported on his machine. https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1938#note_2172483 |