Description of problem: Valgrind fails to run weston (and probably other programs), crashes with the following message: --28264:0: aspacem Valgrind: FATAL: aspacem assertion failed: --28264:0: aspacem ! is_freeslot(ix) --28264:0: aspacem at m_aspacemgr/aspacemgr-segnames.c:223 (get_refcount) --28264:0: aspacem Exiting now. Version-Release number of selected component (if applicable): valgrind-3.11.0-1.fc23 Git snapshot of weston from http://cgit.freedesktop.org/wayland/weston/commit/?id=870fadced3f19659b60574888432b79713776097 How reproducible: Always Steps to Reproduce: 1. Build weston in it's own prefix based off the git commit linked 2. Try to run it under valgrind 3. Crash Actual results: Valgrind crashes Expected results: Valgrind should be able to run the program normally Additional info: I've confirmed this isn't a bug in weston itself, and is actually a regression with the valgrind package. If I try an older valgrind build for the fedora 23 beta from http://koji.fedoraproject.org/koji/buildinfo?buildID=678500 valgrind is able to run weston without any issues.
Note you don't have to build weston from scratch to replicate. Using the weston package from fedora also triggers it when using the X11 backend (thanks to Tom Hughes for suggesting to try that out). weston-1.9.0-1.fc23.x86_64 valgrind-3.11.0-1.fc23.x86_64 valgrind weston --backend=x11-backend.so [...] --30632:0: aspacem Valgrind: FATAL: aspacem assertion failed: --30632:0: aspacem ! is_freeslot(ix) --30632:0: aspacem at m_aspacemgr/aspacemgr-segnames.c:223 (get_refcount) --30632:0: aspacem Exiting now.
valgrind-3.11.0-8.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-3795b5d3a9
valgrind-3.11.0-8.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-3795b5d3a9
valgrind-3.11.0-8.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.