<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - segfault in zwp_pointer_constraints_v1_lock_pointer"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102474#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - segfault in zwp_pointer_constraints_v1_lock_pointer"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102474">bug 102474</a>
from <span class="vcard"><a class="email" href="mailto:fourdan@xfce.org" title="Olivier Fourdan <fourdan@xfce.org>"> <span class="fn">Olivier Fourdan</span></a>
</span></b>
<pre>(gdb) f 1
#1 xwl_pointer_warp_emulator_lock (warp_emulator=0x2c26db0) at
xwayland-input.c:2584
2584 zwp_pointer_constraints_v1_lock_pointer(pointer_constraints,
(gdb) list
2579 struct xwl_window *lock_window = xwl_seat->focus_window;
2580
2581 warp_emulator->locked_window = lock_window;
2582
2583 warp_emulator->locked_pointer =
2584 zwp_pointer_constraints_v1_lock_pointer(pointer_constraints,
2585 lock_window->surface,
2586 xwl_seat->wl_pointer,
2587 NULL,
2588
ZWP_POINTER_CONSTRAINTS_V1_LIFETIME_PERSISTENT);
(gdb) p *xwl_seat
value has been optimized out
(gdb) p *lock_window
Cannot access memory at address 0x0</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>