Bug 68583 - weston-test-client-helper.c:283: create_shm_buffer: Assertion `fd >= 0' failed.
Summary: weston-test-client-helper.c:283: create_shm_buffer: Assertion `fd >= 0' failed.
Status: VERIFIED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: 1.2.1
Hardware: Other All
: medium critical
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-26 19:52 UTC by U. Artie Eoff
Modified: 2013-08-29 20:06 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.