[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#814982: [xwayland] Reproducible segmentation fault when pluggin new screen



Sorry guys I didn't have the time to check the patch as it is on my work
laptop.

I rebuild xwayland from source with the attached patch and so far I
haven't been able to reproduce so it seems to fix it indeed.

Could this be included in a futur release ?

Thanks a lot
Cheers

Letic

On 02/03/16 03:19, Yasushi SHOJI wrote:
> On Wed, 02 Mar 2016 08:05:07 +0900,
> Julian Andres Klode wrote:
>> This could be related / the fix:
>>
>> https://cgit.freedesktop.org/xorg/xserver/commit/?id=2116f03be04240e961649ca750a7aa5438b8446c
> Indeed.  The commit fixed the problem on my system.
> Thanks,
> --
>            yashi

--- a/hw/xwayland/xwayland-output.c
+++ b/hw/xwayland/xwayland-output.c
@@ -297,6 +297,7 @@ xwl_output_destroy(struct xwl_output *xwl_output)
 
     wl_output_destroy(xwl_output->output);
     xorg_list_del(&xwl_output->link);
+    RRCrtcDestroy(xwl_output->randr_crtc);
     RROutputDestroy(xwl_output->randr_output);
 
     xorg_list_for_each_entry(it, &xwl_screen->output_list, link)
-- 

Reply to: