Bug 68583

Summary: weston-test-client-helper.c:283: create_shm_buffer: Assertion `fd >= 0' failed.
Product: Wayland Reporter: U. Artie Eoff <ullysses.a.eoff>
Component: westonAssignee: Wayland bug list <wayland-bugs>
Status: VERIFIED FIXED QA Contact:
Severity: critical    
Priority: medium    
Version: 1.2.1   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description U. Artie Eoff 2013-08-26 19:52:32 UTC
All weston client "check" tests are failing on "32 bit" with the following error:

"Assertion `fd >= 0' failed."

First bad commit on 1.2 tree is http://cgit.freedesktop.org/wayland/weston/commit/?h=1.2&id=db8c5c89707c71a2498495bd18b2058b74f9ea45

First bad commit on master tree is http://cgit.freedesktop.org/wayland/weston/commit/?id=7e105f9a9123bd285d02a259b70d502955f43e96
Comment 1 Kristian Høgsberg 2013-08-29 06:11:35 UTC
Fixed by 

[krh@tokamak weston]$ git show c7d2c4c14727780a1d38644ebde3e22f65c64649
commit c7d2c4c14727780a1d38644ebde3e22f65c64649
Author: Kristian Høgsberg <krh@bitplanet.net>
Date:   Mon Aug 26 14:43:17 2013 -0700

    Add more missing config.h #includes
    
    Now that we use AC_SYS_LARGEFILE, we need to pull in config.h at least
    whereever we use mmap().  Fixes at least the test-suite and simple-shm
    on 32 bit systems.

on master and

commit dfe4acb4e2d71731deec3c4f2fb77c92b3afbfa8
Author: Kristian Høgsberg <krh@bitplanet.net>
Date:   Mon Aug 26 14:43:17 2013 -0700

    Add more missing config.h #includes
    
    Now that we use AC_SYS_LARGEFILE, we need to pull in config.h at least
    whereever we use mmap().  Fixes at least the test-suite and simple-shm
    on 32 bit systems.

on 1.2.

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.