Bug 65728 - SIGSEGV in wl_resource_get_client() during weston_pointer_set_focus()
Summary: SIGSEGV in wl_resource_get_client() during weston_pointer_set_focus()
Status: VERIFIED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: unspecified
Hardware: Other All
: high critical
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-13 19:43 UTC by U. Artie Eoff
Modified: 2013-06-19 17:51 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
gdb backtrace (8.00 KB, text/plain)
2013-06-13 19:43 UTC, U. Artie Eoff
Details

Description U. Artie Eoff 2013-06-13 19:43:05 UTC
Created attachment 80793 [details]
gdb backtrace

Weston segfaults in wl_resource_get_client() during weston_pointer_set_focus().  Was only able to trigger this SIGSEGV with the "efl/egl/WindowFullscreenTest" test in wayland-fits while running the entire test suite.  Running the test in isolation did not trigger the SIGSEGV.

First bad commit is: http://cgit.freedesktop.org/wayland/weston/commit/?id=26ed73cee858956f6af07c3e4bb49b5514f17b8b

Steps:

1. Build wayland-fits with efl-wayland tests
 $ ./autogen.sh --prefix=$WLD/install --enable-efl-tests --enable-weston-extensions
 $ make && make install
2. Launch weston with weston-wfits.so module and notify input:
 $ WESTON_WFITS_INPUT_EMULATOR=notify weston --modules=weston-wfits.so -i0 &
3. Execute wayland-fits
 $ wfits
4. Observe SIGSEGV during efl/egl/WindowFullscreenTest (gdb backtrace attached)

System:

wayland (master) heads/master-0-gbca4124 git://anongit.freedesktop.org/wayland/wayland
fontconfig (master) heads/master-0-gcd9b103 git://anongit.freedesktop.org/git/fontconfig
drm (master) heads/master-0-ga0178c0 git://anongit.freedesktop.org/git/mesa/drm
mesa (master) heads/master-0-g6057d7b git://anongit.freedesktop.org/mesa/mesa
libxkbcommon (master) xkbcommon-0.3.1-0-g9f01bd1 git://github.com/xkbcommon/libxkbcommon
pixman (master) heads/master-0-g279bdcd git://anongit.freedesktop.org/pixman
cairo (master) heads/master-0-gc51b850 git://anongit.freedesktop.org/cairo
weston (master) heads/master-0-ga2ce68f git://anongit.freedesktop.org/wayland/weston
harfbuzz (master) heads/master-0-g7235f33 git://anongit.freedesktop.org/git/harfbuzz
glib (master) heads/master-0-g910732e git://git.gnome.org/glib
atk (master) heads/master-0-g3a91620 git://git.gnome.org/atk
efl (master) heads/master-0-gf43ac1a git://git.enlightenment.org/core/efl.git
elementary (master) heads/master-0-g824ee3c git://git.enlightenment.org/core/elementary
cogl (cogl-1.16) heads/cogl-1.16-0-g534e535 git://git.gnome.org/cogl
clutter (clutter-1.16) heads/clutter-1.16-0-gfa933b5 git://git.gnome.org/clutter
gdk-pixbuf (master) heads/master-0-g27e6ad7 git://git.gnome.org/gdk-pixbuf
pango (master) heads/master-0-g8ac9fc7 git://git.gnome.org/pango
at-spi2-core (master) AT_SPI2_CORE_2_9_2-0-g9921d02 git://git.gnome.org/at-spi2-core
at-spi2-atk (master) AT_SPI2_ATK_2_9_2-0-g58e7004 git://git.gnome.org/at-spi2-atk
gtk+ (master) heads/master-0-g860639e git://git.gnome.org/gtk+
wayland-fits (master) heads/master-0-g5f1a8cc git@github.com:01org/wayland-fits.git
Comment 1 U. Artie Eoff 2013-06-19 17:51:43 UTC
The segfault went away when this patch series was applied:

http://lists.freedesktop.org/archives/wayland-devel/2013-June/009883.html


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.