Discussion:
[webkit-help] Seg fault in webkit_print_operation_print with offscreen window.
Gabe Rives-Corbett
2017-01-19 14:41:25 UTC
Permalink
Hi All,

I’m getting a segfault with this code: http://pastebin.com/FJVxAEpp <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
Dev Poudel
2017-01-20 10:29:20 UTC
Permalink
how do I unsubscribe from this group

Best Regards,
Dev
Post by Gabe Rives-Corbett
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
==4466== Invalid read of size 8
==4466== at 0x77D2194: WebKit::WebFrameProxy::frameID() const (WebFrameProxy.h:68)
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
https://lists.webkit.org/mailman/listinfo/webkit-help
Osztrogonác Csaba
2017-01-20 10:32:39 UTC
Permalink
Post by Dev Poudel
how do I unsubscribe from this group
Best Regards,
Dev
...
Post by Dev Poudel
webkit-help mailing list
https://lists.webkit.org/mailman/listinfo/webkit-help
Click on this link and you can find the
"Unsubscribe or edit options" button.

Loading...