Summary: | Segfault after munmap(kms_sw_dt->ro_mapped) | ||
---|---|---|---|
Product: | Mesa | Reporter: | Jan Palus <jpalus> |
Component: | Other | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | ||
Version: | 18.0 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Jan Palus
2018-07-03 08:13:26 UTC
I can confirm this issue. Using tinydrm display with
weston 4.0.90
linux 4.17.2
KMS-DEBUG: unmapped buffer 2 (was 0x69eaa000)
KMS-DEBUG: unmapped buffer 2 (was (nil))
KMS-DEBUG: destroyed buffer 2
The process shows really weird behavior after this, like missing memory regions.
>* adding condition on above munmap() to call it only if ro_mapped is not NULL
This was the solution I went with too, but added it for both pointers ;)
Patch sent to mailing list, maybe this way it will get any attention: https://lists.freedesktop.org/archives/mesa-dev/2018-July/200199.html Note that I ultimately went for "setting AccelMethod=none" since rxvt-unicode lags pretty badly in VirtualBox with glamor. Should be fixed with the commit 9baff597ce021f7691187b0d1d1bbc16d07b13e1. Fix will find it's route to stable in due time. Thanks for the work everyone! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.