7b884bc0de
When we hit a segv, it's often the case that we might crash again in the attempt to clean up. Instead we introduce a minimal restore callback in the backend abstraction, that shuts down as simply as possible. Then we can call that from the segv handler, and then to aid debugging, we raise SIGTRAP in the segv handler. This lets us run gdb on weston from a different vt, and if we tell gdb (gdb) handle SIGSEGV nostop gdb won't stop when the segv happens but let weston clean up and switch vt, and then stop when SIGTRAP is raised. It's also possible to just let gdb catch the segv, and then use sysrq+k followed by manual vt switch to get back. |
||
---|---|---|
clients | ||
data | ||
protocol | ||
shared | ||
src | ||
tests | ||
wcap | ||
.gitignore | ||
autogen.sh | ||
configure.ac | ||
COPYING | ||
Makefile.am | ||
README | ||
weston.ini |
Weston Weston is the reference implementation of a Wayland compositor, and a useful compositor in its own right. Weston has various backends that lets it run on Linux kernel modesetting and evdev input as well as under X11. Weston ships with a few example clients, from simple clients that demonstrate certain aspects of the protocol to more complete clients and a simplistic toolkit. There is also a quite capable terminal emulator (weston-terminal) and an toy/example desktop shell. Finally, weston also provides integration with the Xorg server and can pull X clients into the Wayland desktop and act as a X window manager. Refer to http://wayland.freedesktop.org/building.html for buiding weston and its dependencies.