[webkit-help] Seg fault in webkit_print_operation_print with offscreen window.

Dev Poudel toyou.dev at gmail.com
Fri Jan 20 02:29:20 PST 2017


how do I unsubscribe from this group

Best Regards,
Dev

On Thu, Jan 19, 2017 at 3:41 PM, Gabe Rives-Corbett <gabe at untapt.com> wrote:

> Hi All,
>
> I’m getting a segfault with this code: http://pastebin.com/FJVxAEpp
>
> Here’s what’s being reported in from valgrind, I can’t figure out why the
> frameID read would be bad:
>
> ==4466== Thread 1:
> ==4466== Invalid read of size 8
> ==4466==    at 0x77D2194: WebKit::WebFrameProxy::frameID() const
> (WebFrameProxy.h:68)
> ==4466==    by 0x77FC48A: WebKit::WebPageProxy::
> drawPagesForPrinting(WebKit::WebFrameProxy*, WebKit::PrintInfo const&,
> WTF::PassRefPtr<WebKit::GenericCallback<API::Error*> >)
> (WebPageProxy.cpp:5873)
> ==4466==    by 0x7BD49B1: webkitPrintOperationPrintPagesForFrame(_WebKitPrintOperation*,
> WebKit::WebFrameProxy*, _GtkPrintSettings*, _GtkPageSetup*)
> (WebKitPrintOperation.cpp:280)
> ==4466==    by 0x7BD52D1: webkit_print_operation_print
> (WebKitPrintOperation.cpp:444)
> ==4466==    by 0x401D74: main (main.cpp:90)
> ==4466==  Address 0x68 is not stack'd, malloc'd or (recently) free’d
>
>
> Any help would be appreciated, thanks!
>
>> Gabe Rives-Corbett
> Engineering Lead, untapt
>
>
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-help
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-help/attachments/20170120/19ba33a1/attachment.html>


More information about the webkit-help mailing list