Bug 47747 - simple-shm crash weston with drm mode
Summary: simple-shm crash weston with drm mode
Status: VERIFIED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high major
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-23 01:05 UTC by lu hua
Modified: 2012-03-30 22:02 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description lu hua 2012-03-23 01:05:23 UTC
System Environment:
--------------------------
Arch:                 i386
Platform:             sugarbay
wayland: (master) 7746a80e2ab829f16fa328562ec6e5664beb624f
libdrm: (master) c50cc24690938db53cd91ae9ff2fa0958693f80d
macros: (master) c0c42057e0d357c144e7933ee413b522950a0f17
glproto: (master) 29d5b553b30755a25300c30b67d39b37c9a76466
dri2proto: (master) 7fd18b15646a62bd82a4eb0eca60a34c1731813d
xproto: (master) 20202784b9700d973d5301f0cb3243eba99fc349
libX11: (master) abc523fce31fcf2687229697a8eb656e343ecb0c
mesa: (master) e07b1603e24ddd21a61b11390712c4b39d6a3c5c
kbproto: (master) b0f7912512091ea58dfaf8dffb2a658a6afeb96d
libxkbcommon: (master) aaffcef35d692b0c77fe88d63ac6d9c669aad080
pixman: (master) 8a8aabf05c8e6c7b68b68c80e4e73877fd35ce78
cairo: (master) 9bb5b02694e1bbd5c0cdd28606d80fb2d2d701ee
weston: (master) ec323d222cbf8fff30871d79455c88c7096b111e
Kernel:	(drm-intel-next-queued) fa37d39e4c6622d80bd8061d600701bcea1d6870

Bug detailed description:
-----------------------------
Start weston under drm mode, run case simple-shm, simple-touch, weston crashed.
It doesn't happen under X mode.

Backtrace:
caught segv
  [000000000804c2d7]  --  (./weston)
  [00000000b771640c]  __kernel_rt_sigreturn  ()
  [00000000b76e0870]  --  (/opt/X11R7/install/lib/libgbm.so.1)
  [00000000b76e0037]  gbm_bo_create_from_egl_image  (/opt/X11R7/install/lib/libgbm.so.1)
  [00000000b7584fca]  --  (/opt/X11R7/install/lib/weston/drm-backend.so)
  [000000000804ef95]  weston_output_finish_frame  (./weston)
  [00000000b7585b17]  --  (/opt/X11R7/install/lib/weston/drm-backend.so)
  [00000000b7562d1d]  drmHandleEvent  (/opt/X11R7/install/lib/libdrm.so.2)
  [00000000b758595d]  --  (/opt/X11R7/install/lib/weston/drm-backend.so)
  [00000000b76e84a3]  --  (/opt/X11R7/install/lib/libwayland-server.so.0)
  [00000000b76e8896]  wl_event_loop_dispatch  (/opt/X11R7/install/lib/libwayland-server.so.0)
  [00000000b76e6212]  wl_display_run  (/opt/X11R7/install/lib/libwayland-server.so.0)
  [000000000804fb7c]  --  (./weston)
  [0000000045b413f3]  __libc_start_main  (/lib/libc.so.6)
disconnect from client 0x8b34088
read error: Success

Reproduce steps:
----------------------------
1. start weston under drm mode
2. ./simple-shm
Comment 1 lu hua 2012-03-30 22:01:46 UTC
Retest with commit 5b72fc7528aa9f7c655dd49a2227cfd1e3feeb76. 
Fixed.
Comment 2 lu hua 2012-03-30 22:02:31 UTC
Verified. Fixed.


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.