weston-terminal crash

Bill Spitzak spitzak at gmail.com
Fri Mar 16 11:34:02 PDT 2012


weston-terminal is apparently crashing after about 12 characters are 
typed. This is on the same system I had to turn EGL_DEPTH_SIZE off on. I 
get the following messages:

nvfx_screen_get_param:103 -  Warning: unknown PIPE_CAP 57
disconnect from client 0x92c50a8
Error sending request: Broken pipe
./client-run.sh: line 34:  6436 Aborted                 $1

Seems to me that some buffer is overflowing?

If I turn on WAYLAND_DEBUG (and all the other _DEBUG symbols but this is 
the only one that produces anything) the last 2 keystrokes produce this:

[1691172.954] wl_input_device at 6.key(482727509, 28, 0)
[1691605.322] wl_input_device at 6.key(482727942, 28, 1)
[1691613.089]  -> wl_shm at 3.create_buffer(new id 24, fd 8, 646, 390, 2584, 0)
[1691626.510]  -> wl_buffer at 24.damage(0, 0, 646, 390)
[1691626.586]  -> wl_surface at 22.attach(wl_buffer at 24, 0, 0)
[1691626.619]  -> wl_display at 1.sync(new id 26)
[1691626.636]  -> wl_surface at 22.damage(0, 0, 646, 390)
[1691631.609] wl_callback at 26.done(0)
[1691631.675]  -> wl_buffer at 24.destroy()
[1691631.818] wl_display at 1.delete_id(26)
[1691737.523] wl_display at 1.delete_id(24)
[1691737.566] wl_input_device at 6.key(482728074, 28, 0)
[1692199.147] wl_input_device at 6.key(482728536, 28, 1)
[1692205.122]  -> wl_shm at 3.create_buffer(disconnect from client 0x92be680
new id 24, fd 8, 646, 390, 2584, 0)
Error sending request: Broken pipe
Aborted

Since the "disconnect from client" was imbedded in the debug output I 
think it was the wayland server that decided to kill the client, not the 
client crashing itself.


More information about the wayland-devel mailing list