Bug 1283774 - Valgrind: FATAL: aspacem assertion failed
Summary: Valgrind: FATAL: aspacem assertion failed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: valgrind
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Mark Wielaard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-19 20:13 UTC by Lyude
Modified: 2016-01-28 18:23 UTC (History)
4 users (show)

Fixed In Version: valgrind-3.11.0-8.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-28 18:23:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lyude 2015-11-19 20:13:08 UTC
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.

Comment 1 Mark Wielaard 2016-01-15 14:11:44 UTC
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.

Comment 2 Fedora Update System 2016-01-21 20:39:58 UTC
valgrind-3.11.0-8.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-3795b5d3a9

Comment 3 Fedora Update System 2016-01-24 04:51:30 UTC
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

Comment 4 Fedora Update System 2016-01-28 18:23:03 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.